ArcGIS Pro 2.8 API Reference Guide
CreateCubicBezierSegment(IEnumerable<Coordinate2D>,SpatialReference) Method

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.
param name="spatialReference">(Optional) The spatial reference. The default value is null.
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
param name="spatialReference">(Optional) The spatial reference. The default value is null.
Exceptions
ExceptionDescription
Four points are required for a cubic bezier.
coordinates is null.
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 10, Windows 8.1

See Also

Reference

CubicBezierBuilderEx Class
CubicBezierBuilderEx Members
Overload List