Class PointInPolygonHelper

java.lang.Object
com.esri.core.geometry.PointInPolygonHelper

final class PointInPolygonHelper extends Object
  • Field Details

    • m_inputPoint

      private Point2D m_inputPoint
    • m_windnum

      private int m_windnum
    • m_monotoneParts

      private SegmentBuffer[] 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

      public PointInPolygonHelper(boolean bFillRule_Alternate, Point2D inputPoint, double tolerance)
  • Method Details

    • result

      private int result()
    • _testBorder

      private boolean _testBorder(Segment seg)
    • doOne

      private void doOne(Segment seg)
    • processSegment

      private boolean processSegment(Segment segment)
    • _isPointInPolygonInternal

      private static int _isPointInPolygonInternal(Polygon inputPolygon, Point2D inputPoint, double tolerance)
    • _isPointInPolygonInternalWithQuadTree

      private static int _isPointInPolygonInternalWithQuadTree(Polygon inputPolygon, QuadTreeImpl quadTree, Point2D inputPoint, double tolerance)
    • isPointInPolygon

      public static int isPointInPolygon(Polygon inputPolygon, Point2D inputPoint, double tolerance)
    • 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

      public static int isPointInPolygon(Polygon inputPolygon, Point inputPoint, double tolerance)
    • isPointInAnyOuterRing

      public static int isPointInAnyOuterRing(Polygon inputPolygon, Point2D inputPoint, double tolerance)
    • _isRingInRing2D

      static boolean _isRingInRing2D(MultiPath polygon, int iRing1, int iRing2, double tolerance, QuadTree quadTree)
    • quadTreeWillHelp

      static boolean quadTreeWillHelp(Polygon polygon, int c_queries)