Class AdjacentVertexFinder
- java.lang.Object
-
- org.locationtech.jtstest.testbuilder.geom.AdjacentVertexFinder
-
public class AdjacentVertexFinder extends java.lang.Object
Locates all vertices in a geometry which are adjacent to a given vertex.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
AdjacentVertexFinder.AdjacentVertexFilter
-
Field Summary
Fields Modifier and Type Field Description private Geometry
geom
private int
vertexIndex
private Coordinate
vertexPt
-
Constructor Summary
Constructors Constructor Description AdjacentVertexFinder(Geometry geom)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Coordinate[]
findVertices(Geometry geom, Coordinate testPt)
int
getIndex()
Coordinate[]
getVertices(Coordinate testPt)
-
-
-
Field Detail
-
geom
private Geometry geom
-
vertexPt
private Coordinate vertexPt
-
vertexIndex
private int vertexIndex
-
-
Constructor Detail
-
AdjacentVertexFinder
public AdjacentVertexFinder(Geometry geom)
-
-
Method Detail
-
findVertices
public static Coordinate[] findVertices(Geometry geom, Coordinate testPt)
-
getVertices
public Coordinate[] getVertices(Coordinate testPt)
-
getIndex
public int getIndex()
-
-