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

ArcGIS.Core.Geometry Namespace > CubicBezierBuilder Class > CreateCubicBezierSegment Method : CreateCubicBezierSegment(IEnumerable<Coordinate2D>,SpatialReference) Method
The enumeration of coordinates from which the curve will be constructed.
(Optional) The spatial reference. The default value is null.
Convenience method to create a new instance of the CubicBezierSegment class from an enumeration of four control coordinates.
Syntax
Public Overloads Shared Function CreateCubicBezierSegment( _
   ByVal coordinates As IEnumerable(Of Coordinate2D), _
   Optional ByVal spatialReference As SpatialReference _
) As CubicBezierSegment

Parameters

coordinates
The enumeration of coordinates from which the curve will be constructed.
spatialReference
(Optional) The spatial reference. The default value is null.
Exceptions
ExceptionDescription
4 points are required for a cubic bezier.
coordinates is null.
An operation on an empty geometry was attempted. coordinates contains an empty coordinate.
Remarks
The four points of the cubic bezier; 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

CubicBezierBuilder Class
CubicBezierBuilder Members
Overload List