Class FacetLocater


  • public class FacetLocater
    extends Object
    Locates the paths to facets (vertices and segments) of a Geometry which are within a given tolerance of a query point.
    Author:
    Martin Davis
    • Constructor Detail

      • FacetLocater

        public FacetLocater​(Geometry parentGeom)
    • Method Detail

      • filterVertexLocations

        public static List filterVertexLocations​(Collection locations)
        Creates a list containing all the vertex GeometryLocations in the input collection.
        Parameters:
        locations - the source collection
        Returns:
        a list of the vertex locations, if any
      • getLocations

        public List getLocations​(Coordinate queryPt,
                                 double tolerance)
      • toIntArray

        public static int[] toIntArray​(Vector path)