public class VertexLocater
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
VertexLocater.Location |
(package private) static class |
VertexLocater.NearestVertexFilter |
(package private) static class |
VertexLocater.NearVerticesFilter |
Modifier and Type | Field and Description |
---|---|
private Geometry |
geom |
private int |
vertexIndex |
private Coordinate |
vertexPt |
Constructor and Description |
---|
VertexLocater(Geometry geom) |
Modifier and Type | Method and 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) |
private Geometry geom
private Coordinate vertexPt
private int vertexIndex
public VertexLocater(Geometry geom)
public static Coordinate locateVertex(Geometry geom, Coordinate testPt, double tolerance)
public Coordinate getVertex(Coordinate testPt, double tolerance)
public int getIndex()
public java.util.List getLocations(Coordinate testPt, double tolerance)