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

ArcGIS.Core.Geometry Namespace > CubicBezierBuilderEx Class > CreateCubicBezierSegment Method : CreateCubicBezierSegment(IEnumerable<MapPoint>,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. The spatial references of the input points are ignored.
Convenience method to create a new instance of the CubicBezierSegment class from four control points.
Syntax
Public Overloads Shared Function CreateCubicBezierSegment( _
   ByVal points As IEnumerable(Of MapPoint), _
   Optional ByVal spatialReference As SpatialReference _
) As CubicBezierSegment

Parameters

points
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. The spatial references of the input points are ignored.
Exceptions
ExceptionDescription
Four points are required for a cubic bezier.
points is null.
Remarks
The four points of the cubic bezier segment. points[0] is the start point, points[1] and points[2] are the control points, and points[3] is the end point.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

CubicBezierBuilderEx Class
CubicBezierBuilderEx Members
Overload List