ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Core.Geometry Namespace / IGeometryEngine Interface / QueryPoints Method / QueryPoints(Segment,SegmentExtensionType,IEnumerable<Double>,AsRatioOrLength) Method
The segment on which the returned point lies.
Specifies the extension method.
The distances along the curve or the extended curve at which the returned points lie.
Determines whether the distancesAlongCurve is a ratio of the segment length or a length from the start point.

In This Topic
    QueryPoints(Segment,SegmentExtensionType,IEnumerable<Double>,AsRatioOrLength) Method
    In This Topic
    Constructs a readonly list of MapPoints at distances along the curve or the extended curve.
    Syntax

    Parameters

    segment
    The segment on which the returned point lies.
    extensionType
    Specifies the extension method.
    distancesAlongCurve
    The distances along the curve or the extended curve at which the returned points lie.
    asRatioOrLength
    Determines whether the distancesAlongCurve is a ratio of the segment length or a length from the start point.

    Return Value

    The points at the given distances along the curve or extended curve.
    Exceptions
    ExceptionDescription
    segmentis null.
    Spatial reference of segmentis an image coordinate system.
    distancesAlongCurve
    Remarks
    If the distance is less than the length of the curve, then the returned point is the point at that distance along the curve. If the distance is less than zero, or greater than the length of the curve, then the returned point is on the curve specified by the extension method. The distance may be specified as a fixed unit of measure or a ratio of the length of the curve.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.4 or higher.
    See Also