com.esri.core.geometry
Class OperatorProximity2D
java.lang.Object
com.esri.core.geometry.Operator
com.esri.core.geometry.OperatorProximity2D
public abstract class OperatorProximity2D
- extends Operator
Finds closest vertices of the Geometry.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OperatorProximity2D
public OperatorProximity2D()
getType
public Operator.Type getType()
- Specified by:
getType in class Operator
getNearestCoordinate
public abstract Proximity2DResult getNearestCoordinate(Geometry geom,
Point inputPoint,
boolean bTestPolygonInterior)
- Returns the nearest coordinate on the Geometry to the given input point.
getNearestVertex
public abstract Proximity2DResult getNearestVertex(Geometry geom,
Point inputPoint)
- Returns the nearest vertex of the Geometry to the given input point.
getNearestVertices
public abstract Proximity2DResult[] getNearestVertices(Geometry geom,
Point inputPoint,
double searchRadius,
int maxVertexCountToReturn)
- Returns vertices of the Geometry that are closer to the given point than
the given radius.
- Parameters:
geom - The input Geometry.inputPoint - The query point.searchRadius - The maximum distance to the query point of the vertices.maxVertexCountToReturn - The maximum vertex count to return. The function returns no
more than this number of vertices.
- Returns:
- The array of vertices that are in the given search radius to the
point. The array is sorted by distance to the queryPoint with the
closest point first. When there are more than the
maxVertexCountToReturn vertices to return, it returns the closest
vertices. The array will be empty when geom is empty.
local
public static OperatorProximity2D local()
Copyright © 2013. All Rights Reserved.