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&, const ArcGISPoint&, const ArcGISPoint&, const ArcGISPoint&, const ArcGISSpatialReference&)
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 |
---|---|---|---|
start | ArcGISPoint | Yes | The start point of the segment. |
control | ArcGISPoint | Yes | A point tangent to the start of the segment. |
control | ArcGISPoint | Yes | A point tangent to the end of the segment. |
end | ArcGISPoint | Yes | The end point of the segment. |
spatial | ArcGISSpatialReference | Yes | A spatial reference to use for the segment if the points do not have spatial references set. |
Properties
Property | Type | Nullable | Readonly | Summary |
---|---|---|---|---|
ControlPoint1 | ArcGISPoint | No | Yes | A point tangent to the start of the segment. |
ControlPoint2 | ArcGISPoint | No | Yes | A point tangent to the end of the segment. |