ArcGIS Pro 3.4 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.
Version

CreateCubicBezierSegment(IEnumerable<Coordinate2D>,SpatialReference) Method
Convenience method to create a new instance of the CubicBezierSegment class from four control points.
Syntax

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