public class GeometryPointLocater
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
(package private) static class |
GeometryPointLocater.NearestSegmentLocationFilter |
Modifier and Type | Field and Description |
---|---|
private Geometry |
geom |
private boolean |
isVertex |
private Coordinate |
locationPt |
private int |
segIndex |
Constructor and Description |
---|
GeometryPointLocater(Geometry geom) |
Modifier and Type | Method and Description |
---|---|
int |
getIndex() |
GeometryLocation |
getLocation(Coordinate testPt,
boolean vertexOnly,
double tolerance) |
boolean |
isVertex() |
static GeometryLocation |
locateNonVertexPoint(Geometry geom,
Coordinate testPt,
double tolerance) |
static GeometryLocation |
locateVertex(Geometry geom,
Coordinate testPt,
double tolerance) |
private Geometry geom
private Coordinate locationPt
private int segIndex
private boolean isVertex
public GeometryPointLocater(Geometry geom)
public static GeometryLocation locateNonVertexPoint(Geometry geom, Coordinate testPt, double tolerance)
public static GeometryLocation locateVertex(Geometry geom, Coordinate testPt, double tolerance)
public GeometryLocation getLocation(Coordinate testPt, boolean vertexOnly, double tolerance)
public int getIndex()
public boolean isVertex()