Class IndexedPointInAreaLocator

  • All Implemented Interfaces:
    PointOnGeometryLocator

    public class IndexedPointInAreaLocator
    extends java.lang.Object
    implements PointOnGeometryLocator
    Determines the Location of Coordinates relative to a Polygonal geometry, using indexing for efficiency. This algorithm is suitable for use in cases where many points will be tested against a given area. Thread-safe and immutable.
    Author:
    Martin Davis
    • Constructor Detail

      • IndexedPointInAreaLocator

        public IndexedPointInAreaLocator​(Geometry g)
        Creates a new locator for a given Geometry
        Parameters:
        g - the Geometry to locate in