Package com.esri.arcgisruntime.geometry
Class ProximityResult
- java.lang.Object
-
- com.esri.arcgisruntime.geometry.ProximityResult
-
public final class ProximityResult extends java.lang.Object
Defines the result of proximity operations inGeometryEngine
.- Since:
- 100.0.0
- See Also:
GeometryEngine.nearestCoordinate(Geometry, Point)
,GeometryEngine.nearestVertex(Geometry, Point)
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Point
getCoordinate()
Gets the result point.double
getDistance()
Gets the result distance.long
getPartIndex()
Gets the index of the part in which the coordinate was found.long
getPointIndex()
Gets the index of the point that was found within its part.
-
-
-
Method Detail
-
getDistance
public double getDistance()
Gets the result distance.- Returns:
- the result distance
- Since:
- 100.0.0
-
getCoordinate
public Point getCoordinate()
Gets the result point.- Returns:
- the result point
- Since:
- 100.0.0
-
getPartIndex
public long getPartIndex()
Gets the index of the part in which the coordinate was found.- Returns:
- the index of the part in which the coordinate was found
- Since:
- 100.0.0
- See Also:
getCoordinate()
-
getPointIndex
public long getPointIndex()
Gets the index of the point that was found within its part.- Returns:
- index of the point that was found within its part
- Since:
- 100.0.0
- See Also:
getPartIndex()
-
-