ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Core.Geometry Namespace / Segment Class / EndPoint Property
Example

In This Topic
    EndPoint Property (Segment)
    In This Topic
    Gets the end point.
    Syntax
    public MapPoint EndPoint {get;}
    Public ReadOnly Property EndPoint As MapPoint
    Example
    Cubic Bezier Properties
    // retrieve the bezier curve's control points
    CubicBezierSegment cb = CubicBezierBuilderEx.CreateCubicBezierSegment(bezierSegment);
    MapPoint startPt = cb.StartPoint;
    Coordinate2D ctrlPt1 = cb.ControlPoint1;
    Coordinate2D ctrlPt2 = cb.ControlPoint2;
    MapPoint endPt = cb.EndPoint;
    
    bool isCurve = cb.IsCurve;
    double len = cb.Length;
    
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 8.1

    See Also