ArcObjects Library Reference  (Geometry)    

IProximityOperator Interface

Provides access to members that find the distance between two geometries. Not currently implemented for geometries containing elliptic arcs.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

Proximity operators are used to find the distance between two geometries or the distance from a given point to the nearest point on another geometry.

Members

Description
Method QueryNearestPoint Copies into 'nearest' a point on this geometry nearest to the input point.
Method ReturnDistance Returns the minimum distance between two geometries.
Method ReturnNearestPoint Creates and returns a point on this geometry nearest to the input point.

CoClasses that implement IProximityOperator

CoClasses and Classes Description
BezierCurve A cubic Bezier curve defined between two points; optionally has measure, height and ID attributes at each endpoint.
CircularArc A portion of a circle that connects two points optionally has measure, height and ID attributes at each endpoint.
EllipticArc A portion of the boundary of a 2D ellipse that connects two points; optionally has measure, height and ID attributes at each endpoint.
Envelope A rectangle with sides parallel to a coordinate system defining the extent of another geometry; optionally has min and max measure, height and ID attributes.
GeoEllipse (esriDefenseSolutions) A spheroidal ellipse.
GeoPolygon (esriDefenseSolutions) A spheroidal polygon.
GeoPolyline (esriDefenseSolutions) A spheroidal polyline.
Line A 2D straight line between a pair of 2D endpoints; can optionally have height, measure and ID attributes at each endpoint.
Multipoint An ordered collection of points; optionally has measure, height and ID attributes.
Point A two dimensional point, optionally with measure, height, and ID attributes.
Polygon A collection of rings ordered by their containment relationship; optionally has measure, height and ID attributes.
Polyline An ordered collection of paths; optionally has measure, height and ID attributes.