Class PointInPolygonHelper
java.lang.Object
com.esri.core.geometry.PointInPolygonHelper
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanprivate booleanprivate booleanprivate booleanprivate Point2Dprivate doubleprivate doubleprivate SegmentBuffer[]private doubleprivate doubleprivate intprivate double[] -
Constructor Summary
ConstructorsConstructorDescriptionPointInPolygonHelper(boolean bFillRule_Alternate, Point2D inputPoint, double tolerance) -
Method Summary
Modifier and TypeMethodDescriptionprivate static int_isPointInPolygonInternal(Polygon inputPolygon, Point2D inputPoint, double tolerance) private static int_isPointInPolygonInternalWithQuadTree(Polygon inputPolygon, QuadTreeImpl quadTree, Point2D inputPoint, double tolerance) (package private) static boolean_isRingInRing2D(MultiPath polygon, int iRing1, int iRing2, double tolerance, QuadTree quadTree) private boolean_testBorder(Segment seg) private voidstatic intisPointInAnyOuterRing(Polygon inputPolygon, Point2D inputPoint, double tolerance) (package private) static intisPointInPolygon(Polygon inputPolygon, double inputPointXVal, double inputPointYVal, double tolerance) static intisPointInPolygon(Polygon inputPolygon, Point2D inputPoint, double tolerance) static intisPointInPolygon(Polygon inputPolygon, Point inputPoint, double tolerance) static intisPointInRing(MultiPathImpl inputPolygonImpl, int iRing, Point2D inputPoint, double tolerance, QuadTree quadTree) private booleanprocessSegment(Segment segment) (package private) static booleanquadTreeWillHelp(Polygon polygon, int c_queries) private intresult()
-
Field Details
-
m_inputPoint
-
m_windnum
private int m_windnum -
m_monotoneParts
-
m_xOrds
private double[] m_xOrds -
m_tolerance
private double m_tolerance -
m_toleranceSqr
private double m_toleranceSqr -
m_miny
private double m_miny -
m_maxy
private double m_maxy -
m_bAlternate
private boolean m_bAlternate -
m_bTestBorder
private boolean m_bTestBorder -
m_bBreak
private boolean m_bBreak -
m_bPointInAnyOuterRingTest
private boolean m_bPointInAnyOuterRingTest
-
-
Constructor Details
-
PointInPolygonHelper
-
-
Method Details
-
result
private int result() -
_testBorder
-
doOne
-
processSegment
-
_isPointInPolygonInternal
-
_isPointInPolygonInternalWithQuadTree
private static int _isPointInPolygonInternalWithQuadTree(Polygon inputPolygon, QuadTreeImpl quadTree, Point2D inputPoint, double tolerance) -
isPointInPolygon
-
isPointInPolygon
static int isPointInPolygon(Polygon inputPolygon, double inputPointXVal, double inputPointYVal, double tolerance) -
isPointInRing
public static int isPointInRing(MultiPathImpl inputPolygonImpl, int iRing, Point2D inputPoint, double tolerance, QuadTree quadTree) -
isPointInPolygon
-
isPointInAnyOuterRing
-
_isRingInRing2D
-
quadTreeWillHelp
-