Class FacetLocater
- java.lang.Object
-
- com.vividsolutions.jtstest.testbuilder.geom.FacetLocater
-
public class FacetLocater extends java.lang.ObjectLocates the paths to facets (vertices and segments) of aGeometrywhich are within a given tolerance of a query point.- Author:
- Martin Davis
-
-
Constructor Summary
Constructors Constructor Description FacetLocater(Geometry parentGeom)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.util.ListfilterVertexLocations(java.util.Collection locations)Creates a list containing all the vertexGeometryLocations in the input collection.java.util.ListgetLocations(Coordinate queryPt, double tolerance)static int[]toIntArray(java.util.Vector path)
-
-
-
Constructor Detail
-
FacetLocater
public FacetLocater(Geometry parentGeom)
-
-
Method Detail
-
filterVertexLocations
public static java.util.List filterVertexLocations(java.util.Collection locations)
Creates a list containing all the vertexGeometryLocations in the input collection.- Parameters:
locations- the source collection- Returns:
- a list of the vertex locations, if any
-
getLocations
public java.util.List getLocations(Coordinate queryPt, double tolerance)
-
toIntArray
public static int[] toIntArray(java.util.Vector path)
-
-