Interface IEnumCurve2
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
PartIndex
int PartIndex { get; }
Property Value
Segment
ISegment Segment { get; }
Property Value
SegmentDistance
double SegmentDistance { get; }
Property Value
SegmentIndex
int SegmentIndex { get; }
Property Value
StopOptions
esriCurveIteratorEnum StopOptions { get; set; }
Property Value
StopReason
esriCurveIteratorEnum StopReason { get; }
Property Value
Methods
Clone()
IEnumCurve Clone()
Returns
GetSubcurve(double, double, bool)
ICurve GetSubcurve(double fromDistance, double toDistance, bool asRatio)
Parameters
Returns
Next(double)
void Next(double distance)
Parameters
distancedouble
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
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
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()