ArcGIS Pro 3.2 API Reference Guide
ArcGIS.Core.Geometry Namespace / CubicBezierSegment Class / ControlPoint2 Property
Example

In This Topic
    ControlPoint2 Property (CubicBezierSegment)
    In This Topic
    Gets the second control point as a Coordinate2D structure.
    Syntax
    public Coordinate2D ControlPoint2 {get;}
    Public ReadOnly Property ControlPoint2 As Coordinate2D
    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

    ArcGIS Pro version: 3 or higher.
    See Also