Namespace: Esri::GameEngine::Geometry
Class: Esri/GameEngine/Geometry/ArcGISCubicBezierSegment
Since: 1.0.0
Inheritance: ArcGISSegment->ArcGISCubicBezierSegment
Summary
A cubic Bezier curve for use in a multipart geometry.
Constructors
ArcGISCubicBezierSegment(const ArcGISPoint& startPoint, const ArcGISPoint& controlPoint1, const ArcGISPoint& controlPoint2, const ArcGISPoint& endPoint, const ArcGISSpatialReference& spatialReference)
Creates a bezier segment based on a start and end point and two control points at tangents to the start and end points.
Since 1.0.0
Arguments
| Name | Type | Const | Summary |
|---|---|---|---|
startPoint | Yes | The start point of the segment. | |
controlPoint1 | Yes | A point tangent to the start of the segment. | |
controlPoint2 | Yes | A point tangent to the end of the segment. | |
endPoint | Yes | The end point of the segment. | |
spatialReference | Yes | A spatial reference to use for the segment if the points do not have spatial references set. |
Properties
| Property | Type | Nullable | Readonly | Summary |
|---|---|---|---|---|
No | Yes | A point tangent to the start of the segment. | ||
No | Yes | A point tangent to the end of the segment. |