ArcGIS Pro 2.6 API Reference Guide
CreateCubicBezierSegment(Coordinate2D,Coordinate2D,Coordinate2D,Coordinate2D,SpatialReference) Method

ArcGIS.Core.Geometry Namespace > CubicBezierBuilder Class > CreateCubicBezierSegment Method : CreateCubicBezierSegment(Coordinate2D,Coordinate2D,Coordinate2D,Coordinate2D,SpatialReference) Method
The start point.
Control point 1 of the cubic bezier.
Control point 2 of the cubic bezier.
The end point.
(Optional) The spatial reference.
Convenience method to create a new instance of the CubicBezierSegment class from four control points.
Syntax
Public Overloads Shared Function CreateCubicBezierSegment( _
   ByVal startPt As Coordinate2D, _
   ByVal controlPt1 As Coordinate2D, _
   ByVal controlPt2 As Coordinate2D, _
   ByVal endPt As Coordinate2D, _
   Optional ByVal spatialReference As SpatialReference _
) As CubicBezierSegment

Parameters

startPt
The start point.
controlPt1
Control point 1 of the cubic bezier.
controlPt2
Control point 2 of the cubic bezier.
endPt
The end point.
spatialReference
(Optional) The spatial reference.
Exceptions
ExceptionDescription
An operation on an empty geometry was attempted. startPt or controlPt1 or controlPt2 or endPt is empty.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

CubicBezierBuilder Class
CubicBezierBuilder Members
Overload List