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.

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.

IEnumPointAndDistance.ContinuousSectionAfter Property

Indicates whether the current point and the next point lie on a circular arc with the query point at its center.

Public ReadOnly Property ContinuousSectionAfter As Boolean
public bool ContinuousSectionAfter {get;}

Description

The ContinuousSectionAfter and ContinuousSectionBefore indicate if two subsequent points in the enumerator are lying on a Circular Arc.

IEnumPointAndDistance.ContinuousSectionBefore Property

Indicates whether the current point and the previous point lie on a circular arc with the query point at its center.

Public ReadOnly Property ContinuousSectionBefore As Boolean
public bool ContinuousSectionBefore {get;}

Description

The ContinuousSectionAfter and ContinuousSectionBefore indicate if two subsequent points in the enumerator are lying on a Circular Arc.

IEnumPointAndDistance.DistanceAlongCurve Property

Gives the distance along the curve from the curve's from point to the current postion.

Public ReadOnly Property DistanceAlongCurve As Double
public double DistanceAlongCurve {get;}

Description

DistanceAlongCurve indicates the distance between the fromPoint and the current point on the enumerator. That distance can be either a real distance or a ratio varying between 0 and 1.

IEnumPointAndDistance.OnRightSide Property

Indicates whether the query point is to the right of the curve at the current position.

Public ReadOnly Property OnRightSide As Boolean
public bool OnRightSide {get;}

Description

OnRightSide indicates if the current point is on the right side of the curve.

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

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.