Class FacetLocater
java.lang.Object
org.locationtech.jtstest.testbuilder.geom.FacetLocater
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic List
filterVertexLocations
(Collection locations) Creates a list containing all the vertexGeometryLocation
s in the input collection.getLocations
(Coordinate queryPt, double tolerance) static int[]
toIntArray
(Vector path)
-
Constructor Details
-
FacetLocater
-
-
Method Details
-
filterVertexLocations
Creates a list containing all the vertexGeometryLocation
s in the input collection.- Parameters:
locations
- the source collection- Returns:
- a list of the vertex locations, if any
-
getLocations
-
toIntArray
-