Class VertexLocater
- java.lang.Object
-
- org.locationtech.jtstest.testbuilder.geom.VertexLocater
-
public class VertexLocater extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVertexLocater.Location(package private) static classVertexLocater.NearestVertexFilter(package private) static classVertexLocater.NearVerticesFilter
-
Field Summary
Fields Modifier and Type Field Description private Geometrygeomprivate intvertexIndexprivate CoordinatevertexPt
-
Constructor Summary
Constructors Constructor Description VertexLocater(Geometry geom)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetIndex()java.util.ListgetLocations(Coordinate testPt, double tolerance)CoordinategetVertex(Coordinate testPt, double tolerance)static CoordinatelocateVertex(Geometry geom, Coordinate testPt, double tolerance)
-
-
-
Field Detail
-
geom
private Geometry geom
-
vertexPt
private Coordinate vertexPt
-
vertexIndex
private int vertexIndex
-
-
Constructor Detail
-
VertexLocater
public VertexLocater(Geometry geom)
-
-
Method Detail
-
locateVertex
public static Coordinate locateVertex(Geometry geom, Coordinate testPt, double tolerance)
-
getVertex
public Coordinate getVertex(Coordinate testPt, double tolerance)
-
getIndex
public int getIndex()
-
getLocations
public java.util.List getLocations(Coordinate testPt, double tolerance)
-
-