public static Proximity2DResult getNearestCoordinate ( Geometry geometry , Point inputPoint , boolean bTestPolygonInterior ) { OperatorProximity2D proximity = ( OperatorProximity2D ) factory . getOperator ( com . esri . core . geometry . Operator . Type . Proximity2D ) ; Proximity2DResult result = proximity . getNearestCoordinate ( geometry , inputPoint , bTestPolygonInterior ) ; return result ; }
Finds the coordinate of the geometry which is closest to the specified point .