Package com.esri.core.geometry
Class PointInPolygonHelper
java.lang.Object
com.esri.core.geometry.PointInPolygonHelper
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate boolean
private boolean
private boolean
private boolean
private Point2D
private double
private double
private SegmentBuffer[]
private double
private double
private int
private 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 void
static int
isPointInAnyOuterRing
(Polygon inputPolygon, Point2D inputPoint, double tolerance) (package private) static int
isPointInPolygon
(Polygon inputPolygon, double inputPointXVal, double inputPointYVal, double tolerance) static int
isPointInPolygon
(Polygon inputPolygon, Point2D inputPoint, double tolerance) static int
isPointInPolygon
(Polygon inputPolygon, Point inputPoint, double tolerance) static int
isPointInRing
(MultiPathImpl inputPolygonImpl, int iRing, Point2D inputPoint, double tolerance, QuadTree quadTree) private boolean
processSegment
(Segment segment) (package private) static boolean
quadTreeWillHelp
(Polygon polygon, int c_queries) private int
result()
-
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
-