code: 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;
  	}
docs: Finds the coordinate of the geometry which is closest to the specified
  point.
  
  See OperatorProximity2D.
  
  @param inputPoint
  The point to find the nearest coordinate in the geometry for.
  @param geometry
  The geometry to consider.
  @return Proximity2DResult containing the nearest coordinate.