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 class
VertexLocater.Location
(package private) static class
VertexLocater.NearestVertexFilter
(package private) static class
VertexLocater.NearVerticesFilter
-
Field Summary
Fields Modifier and Type Field Description private Geometry
geom
private int
vertexIndex
private Coordinate
vertexPt
-
Constructor Summary
Constructors Constructor Description VertexLocater(Geometry geom)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getIndex()
java.util.List
getLocations(Coordinate testPt, double tolerance)
Coordinate
getVertex(Coordinate testPt, double tolerance)
static Coordinate
locateVertex(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)
-
-