ArcGIS Pro 2.9 API Reference Guide
CreateCubicBezierSegment(MapPoint,MapPoint,MapPoint,MapPoint,SpatialReference) Method

ArcGIS.Core.Geometry Namespace > CubicBezierBuilderEx Class > CreateCubicBezierSegment Method : CreateCubicBezierSegment(MapPoint,MapPoint,MapPoint,MapPoint,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. 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 startPoint As MapPoint, _
   ByVal controlPoint1 As MapPoint, _
   ByVal controlPoint2 As MapPoint, _
   ByVal endPoint As MapPoint, _
   Optional ByVal spatialReference As SpatialReference _
) As CubicBezierSegment

Parameters

startPoint
The start point.
controlPoint1
Control point 1 of the cubic bezier.
controlPoint2
Control point 2 of the cubic bezier.
endPoint
The end point.
spatialReference
(Optional) The spatial reference. The default value is null. The spatial references of the input points are ignored.
Exceptions
ExceptionDescription
startPoint or endPoint is null.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

CubicBezierBuilderEx Class
CubicBezierBuilderEx Members
Overload List