ArcGIS Pro 3.2 API Reference Guide
ArcGIS.Core.Geometry Namespace / CubicBezierBuilderEx Class / CreateCubicBezierSegment Method / CreateCubicBezierSegment(IEnumerable<Coordinate2D>,SpatialReference) Method
The enumeration of points from which the curve will be constructed. Four points must be supplied.
(Optional) The spatial reference. The default value is null.

In This Topic
    CreateCubicBezierSegment(IEnumerable<Coordinate2D>,SpatialReference) Method
    In This Topic
    Convenience method to create a new instance of the CubicBezierSegment class from four control points.
    Syntax
    Public Overloads Shared Function CreateCubicBezierSegment( _
       ByVal coordinates As IEnumerable(Of Coordinate2D), _
       Optional ByVal spatialReference As SpatialReference _
    ) As CubicBezierSegment

    Parameters

    coordinates
    The enumeration of points from which the curve will be constructed. Four points must be supplied.
    spatialReference
    (Optional) The spatial reference. The default value is null.
    Exceptions
    ExceptionDescription
    Four points are required for a cubic bezier.
    coordinates is null or one of the 4 coordinates is empty.
    Remarks
    The four points of the cubic bezier segment. coordinates[0] is the start point, coordinates[1] and coordinates[2] are the control points, and coordinates[3] is the end point.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also