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


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

IEnumPointAndDistance Interface

Provides access to members that iterate over the points on a geometry that are closest to an input point, as returned by QueryPointsAndDistances.

Product Availability

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

Description

The IEnumPointAndDistance enumerator is used with the ICurve3::QueryPointsAndDistances method.

Members

Name Description
Method Clone Returns a copy of this enumerator positioned at the same vertex.
Read-only property ContinuousSectionAfter Indicates whether the current point and the next point lie on a circular arc with the query point at its center.
Read-only property ContinuousSectionBefore Indicates whether the current point and the previous point lie on a circular arc with the query point at its center.
Read-only property DistanceAlongCurve Gives the distance along the curve from the curve's from point to the current postion.
Method IsLastInPart Indicates if the current vertex is last in the current part.
Method Next Returns the next vertex and its location within the geometry.
Method NextInPart Returns the next vertex in current part, or goes back to the first vertex in the part after last vertex in part is encountered.
Read-only property OnRightSide Indicates whether the query point is to the right of the curve at the current position.
Method Previous Returns the previous vertex and its location in the geometry.
Method put_Attribute Sets attribute values at the current vertex.
Method put_ID Sets the ID attribute of the current vertex. For segment-based geometries, this will modify a pair of segments.
Method put_M Sets the M attribute of the current vertex. For segment-based geometries, this will modify a pair of segments.
Method put_X Sets the X coordinate of the current vertex. For segment-based geometries, this will modify a pair of segments.
Method put_Y Sets the Y coordinate of the current vertex. For segment-based geometries, this will modify a pair of segments.
Method put_Z Sets the Z coordinate of the current vertex. For segment-based geometries, this will modify a pair of segments.
Method QueryNext Copies the next vertex to the input parameter and returns its location in the geometry.
Method QueryNextInPart Copies the next vertex in the current part to the input parameter and returns its location in current part. Continues with the first vertex in the part if already at the end.
Method QueryPrevious Copies the previous vertex to the input parameter and returns its location in the geometry.
Method Reset Starts from the beginning of the geometry the next time Next is called.
Method ResetToEnd Starts from the end of the geometry the next time Previous is called.
Method SetAt Resets enumerator to specific location.
Method Skip Skips forward or backward over a specified number of vertices.

Inherited Interfaces

Interfaces Description
IEnumVertex Provides access to members that iterate over the vertices or points of a geometry (see the EnumVertices property of the IPointCollection interface).

Classes that implement IEnumPointAndDistance

Classes Description