This document is archived and information here might be outdated.  Recommended version.


IProximityOperator Interface (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IP > IProximityOperator Interface
ArcGIS Developer Help

IProximityOperator Interface

Provides access to members that find the 2D distance between two geometries.

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

Name 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.

Classes that implement IProximityOperator

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.
Line A 2D straight line between a pair of 2D endpoints; can optionally have height, measure and ID attributes at each endpoint.
MultiPatch A collection of surface patches.
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.

.NET Samples

Buffer snap agent