A cubic Bezier curve for use in a multipart geometry. More...
Header | #include <Cubic |
Since | Esri |
Inherits | Esri |
Public Functions
Cubic | |
Cubic | |
Cubic | |
Cubic | |
Cubic | |
~ | |
Esri | control |
Esri | control |
Esri | operator=( |
Esri | operator=(const Esri |
Detailed Description
Relevant samples:
- Add graphics with renderer: A renderer allows you to change the style of all graphics in a graphics overlay by referencing a single symbol style.
Member Function Documentation
CubicBezierSegment::CubicBezierSegment ()
Default constructor. Creates an empty CubicBezierSegment.
See also isEmpty.
[explicit]
CubicBezierSegment::CubicBezierSegment (const Esri::ArcGISRuntime::Segment &other)
Copy constructor from other Segment.
CubicBezierSegment::CubicBezierSegment (const Esri::ArcGISRuntime::Point &startPoint , const Esri::ArcGISRuntime::Point &controlPoint1 , const Esri::ArcGISRuntime::Point &controlPoint2 , const Esri::ArcGISRuntime::Point &endPoint , const Esri::ArcGISRuntime::SpatialReference &spatialReference )
Creates a bezier segment based on a start and end points, and two control points at tangents to the start and end points.
- startPoint - The start point of the segment
- controlPoint1 - A point tangent to the start of the segment
- controlPoint2 - A point tangent to the end of the segment
- endPoint - The end point of the segment
- spatialReference - A spatial reference to use for the segment if the points do not have spatial references set
The spatial reference parameter is used if the points have a nullptr
spatial reference. If more than one spatial reference is supplied (as a parameter or as a property of a Point parameter), they must all be equal.
The z-value and m-value of the start and end points (if present) are used in the CubicBezierSegment. The z-value and m-value of the control points (if present) are ignored.
CubicBezierSegment::CubicBezierSegment (const Esri::ArcGISRuntime::CubicBezierSegment &other)
Copy constructor from other CubicBezierSegment.
[noexcept]
CubicBezierSegment::CubicBezierSegment (Esri::ArcGISRuntime::CubicBezierSegment &&other)
Move constructor from other CubicBezierSegment.
[noexcept]
CubicBezierSegment::~CubicBezierSegment ()
Destructor.
Esri::ArcGISRuntime::Point CubicBezierSegment::controlPoint1 () const
Returns a point tangent to the start of the segment.
Esri::ArcGISRuntime::Point CubicBezierSegment::controlPoint2 () const
Returns a point tangent to the end of the segment.
[noexcept]
Esri::ArcGISRuntime::CubicBezierSegment &CubicBezierSegment::operator=(Esri::ArcGISRuntime::CubicBezierSegment &&other)
Move operator from other CubicBezierSegment.
Esri::ArcGISRuntime::CubicBezierSegment &CubicBezierSegment::operator=(const Esri::ArcGISRuntime::CubicBezierSegment &other)
Assignment operator from other CubicBezierSegment.