Default constructor.
A default constructed LineSegment should not be used. This constructor is provided for convenience only.
See also isEmpty.
[explicit, since Esri::ArcGISRuntime 100.12]
LineSegment::LineSegment(const Esri::ArcGISRuntime::Segment &other)
Copy constructor from other Segment.
This function was introduced in Esri::ArcGISRuntime 100.12.
LineSegment::LineSegment(const Esri::ArcGISRuntime::Point &startPoint, const Esri::ArcGISRuntime::Point &endPoint)Creates a line segment based on two points.
Use this method to create a line segment representing a straight line between two points.
If both points have a spatial reference set, they must be equal.
Returns ErrorTypeCommonInvalidArgument if the SpatialReference of both points supplied are non-null and differ.
LineSegment::LineSegment(const Esri::ArcGISRuntime::Point &startPoint, const Esri::ArcGISRuntime::Point &endPoint, const Esri::ArcGISRuntime::SpatialReference &spatialReference)Creates a line segment based on two points and a spatial reference.
Use this method to create a line segment representing a straight line between two points. The spatial reference parameter is used if the points have an empty 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.
Returns ErrorTypeCommonInvalidArgument if the SpatialReference of both points supplied are non-null and differ.
LineSegment::LineSegment(double xStart, double yStart, double xEnd, double yEnd)Creates a line segment based on coordinates.
Use this method to create a line segment representing a straight line between two points.
LineSegment::LineSegment(double xStart, double yStart, double xEnd, double yEnd, const Esri::ArcGISRuntime::SpatialReference &spatialReference)Creates a line segment based on coordinates.
Use this method to create a line segment representing a straight line between two points.
LineSegment::LineSegment(double xStart, double yStart, double zStart, double xEnd, double yEnd, double zEnd)Creates a line segment based on 3D coordinates.
Use this method to create a line segment representing a straight line between two points.
LineSegment::LineSegment(double xStart, double yStart, double zStart, double xEnd, double yEnd, double zEnd, const Esri::ArcGISRuntime::SpatialReference &spatialReference)Creates a line segment based on 3D coordinates and a spatial reference.
Use this method to create a line segment representing a straight line between two points.
LineSegment::LineSegment(const Esri::ArcGISRuntime::LineSegment &other)Copy constructor from other LineSegment.
[noexcept]
LineSegment::LineSegment(Esri::ArcGISRuntime::LineSegment &&other)
Move constructor from other LineSegment.
[noexcept]
LineSegment::~LineSegment()
Destructor.
[static]
Esri::ArcGISRuntime::LineSegment LineSegment::createLineAtAngleFromStartPoint(const Esri::ArcGISRuntime::Point &startPoint, double angleRadians, double length)
Factory method to create a LineSegment from a startPoint, angleRadians, and a length.
[noexcept]
Esri::ArcGISRuntime::LineSegment &LineSegment::operator=(Esri::ArcGISRuntime::LineSegment &&other)
Move operator from other LineSegment.
Esri::ArcGISRuntime::LineSegment &LineSegment::operator=(const Esri::ArcGISRuntime::LineSegment &other)Assignment operator from other LineSegment.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4