Interface IEnumCurve2

Namespace
ESRI.ArcGIS.Geometry
Assembly
ESRI.Server.Geometry.dll

Provides access to members that extend IEnumCurve.

[Guid("847E3F3D-5EBB-43F1-848D-F3EEFBC525ED")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IEnumCurve2 : IEnumCurve

Properties

CurveDistance

double CurveDistance { get; }

Property Value

double

PartIndex

int PartIndex { get; }

Property Value

int

Segment

ISegment Segment { get; }

Property Value

ISegment

SegmentDistance

double SegmentDistance { get; }

Property Value

double

SegmentIndex

int SegmentIndex { get; }

Property Value

int

StopOptions

esriCurveIteratorEnum StopOptions { get; set; }

Property Value

esriCurveIteratorEnum

StopReason

esriCurveIteratorEnum StopReason { get; }

Property Value

esriCurveIteratorEnum

Methods

Clone()

IEnumCurve Clone()

Returns

IEnumCurve

GetSubcurve(double, double, bool)

ICurve GetSubcurve(double fromDistance, double toDistance, bool asRatio)

Parameters

fromDistance double
toDistance double
asRatio bool

Returns

ICurve

Next(double)

void Next(double distance)

Parameters

distance double

QueryPoint(double, bool, IPoint)

Copies a location on this curve into pointOnCurve. AsRatio is true when fromDistance is normalized to the interval [0..1].

void QueryPoint(double fromDistance, bool asRatio, IPoint pointOnCurve)

Parameters

fromDistance double
asRatio bool
pointOnCurve IPoint

Remarks

Note: Gaps between parts are ignored in distance computations.

Parameters description:

fromDistance: Input Double. Input distance that determines where along the point should be created. The value of that parameter should be in map unit unless asRatio is true.
asRatio: Input Boolean. The asRatio determines if the input distances should be interpreted as map unit asRatio = false distance or parametric distance asRatio = True (0 = distance of 0, 1 = full length of the curve).

Note: The output geometry must be co-created prior to the query. The output geometry is not co-created by the method; it is populated. This can be used in performance critical situations. For example, creating the geometry only once outside a loop and use the query method could improve performance.

QuerySubcurve(double, double, bool, ICurve)

Copies a portion of this curve into an existing subcurve. AsRatio is true when fromDistance and toDistance are normalized to the interval [0..1].

void QuerySubcurve(double fromDistance, double toDistance, bool asRatio, ICurve subcurve)

Parameters

fromDistance double
toDistance double
asRatio bool
subcurve ICurve

Remarks

Note: Gaps between parts are ignored in distance computations.

Parameters description:

fromDistance: Input Double. Input distance that determines where the subcurve should start. The value of that parameter should be in map unit unless asRatio is true.
toDistance: Input Double. Input distance that determines where the subcurve should stop. The value of that parameter should be in map unit unless asRatio is true.
asRatio: Input Boolean. The asRatio determines if the input distances should be interpreted as map unit asRatio = false distance or parametric distance asRatio = True (0 = distance of 0, 1 = full length of the curve).

subcurve: Output polyline object. It contains the output subcurve.

Note: The output geometry must be co-created prior to the query. The output geometry is not co-created by the method; it is populated. This can be used in performance critical situations. For example, creating the geometry only once outside a loop and use the query method could improve performance.

Reset()

void Reset()