Represents a single part of a multipart geometry (polygon or polyline). More...
| Header | #include <Immutable | 
| Since | Esri | 
This class was introduced in Esri::ArcGISRuntime 100.0.
Public Functions
| Immutable | |
| Immutable | |
| Immutable | |
| Esri | operator=( | 
| Esri | operator=(const Esri | 
| ~ | |
| Esri | end | 
| int | end | 
| bool | has | 
| bool | is | 
| Esri | point(int point | 
| int | point | 
| Esri | points() const | 
| Esri | segment(int segment | 
| int | segment | 
| int | segment | 
| void | segment | 
| int | segment | 
| Esri | spatial | 
| Esri | start | 
| int | start | 
Detailed Description
This collection is used to represent a part in a Multipart geometry. This is a collection of segments. The points that are the vertices of the segments are also accessible.
Member Function Documentation
ImmutablePart::ImmutablePart (Esri::ArcGISRuntime::ImmutablePart     &&other)  
Move constructor from other ImmutablePart.
ImmutablePart::ImmutablePart (const Esri::ArcGISRuntime::ImmutablePart     &other)  
Copy constructor from other ImmutablePart.
ImmutablePart::ImmutablePart ()  
Default constructor.
Esri::ArcGISRuntime::ImmutablePart     &ImmutablePart::operator=(Esri::ArcGISRuntime::ImmutablePart     &&other)   
Move operator from other ImmutablePart.
Esri::ArcGISRuntime::ImmutablePart     &ImmutablePart::operator=(const Esri::ArcGISRuntime::ImmutablePart     &other)   
Assignment operator from other ImmutablePart.
ImmutablePart::~ImmutablePart  ()  
Destructor.
Esri::ArcGISRuntime::Point    ImmutablePart::endPoint () const  
Gets the end Point.
Returns the end Point.
int ImmutablePart::endPointIndexFromSegmentIndex     (int segmentIndex ) const  
Gets the end point index from the given segmentIndex.
Returns the end point index or -1 on error or invalid index.
bool ImmutablePart::hasCurves () const  
Returns true if this part has curves.
bool ImmutablePart::isEmpty () const  
Gets whether the ImmutablePart contains anything.
Returns true if the ImmutablePart contains no points or segments.
Esri::ArcGISRuntime::Point    ImmutablePart::point(int pointIndex ) const  
Gets the Point at pointIndex.
Returns the Point or an empty Point if the index isn't valid.
int ImmutablePart::pointCount () const  
Gets the point count of the ImmutablePart.
Returns the number of points.
Esri::ArcGISRuntime::ImmutablePointCollection      ImmutablePart::points() const  
Gets the points of the ImmutablePart as an ImmutablePointCollection.
Returns the end Point.
Esri::ArcGISRuntime::Segment    ImmutablePart::segment(int segmentIndex ) const  
Gets the Segment at segmentIndex.
Returns the Segment or an empty Segment if the index isn't valid.
int ImmutablePart::segmentCount () const  
Gets the segment count of the ImmutablePart.
Returns the number of segments.
int ImmutablePart::segmentIndexFromEndPointIndex     (int pointIndex ) const  
Gets the segment index from the end point index pointIndex.
Returns the segment point index or -1 on error or invalid index.
void ImmutablePart::segmentIndexFromPointIndex    (int pointIndex , int &outStartPointSegmentIndex    , int &outEndPointSegmentIndex    ) const  
Gets the segment start and end indices from the given pointIndex.
- outStartPointSegmentIndex - The index of the segment that begins at pointIndex.
- outEndPointSegmentIndex - The index of the segment that ends at pointIndex.
On error, the values are set to -1.
int ImmutablePart::segmentIndexFromStartPointIndex     (int pointIndex ) const  
Gets the segment index from the start point index pointIndex.
Returns the segment point index or -1 on error or invalid index.
Esri::ArcGISRuntime::SpatialReference     ImmutablePart::spatialReference () const  
Gets the SpatialReference of the ImmutablePart.
Returns the SpatialReference.
Esri::ArcGISRuntime::Point    ImmutablePart::startPoint () const  
Gets the start Point.
Returns the start Point.
int ImmutablePart::startPointIndexFromSegmentIndex     (int segmentIndex ) const  
Gets the start point index from the given segmentIndex.
Returns the start point index or -1 on error or invalid index.