Class ReadOnlyPart
Represents an single part of an multipart geometry (polygon or polyline).
Inheritance
Implements
Namespace: Esri.ArcGISRuntime.Geometry
Assembly: Esri.ArcGISRuntime.dll
Syntax
public class ReadOnlyPart : IReadOnlyList<Segment>, IReadOnlyCollection<Segment>, IEnumerable<Segment>, IEnumerable
Remarks
A collection of Segment objects that together represent a part in a Multipart geometry. You
can also access the Map
Both linear segments (represented by Line
Properties
Name | Description |
---|---|
Count | Gets the count of segments in the part. |
End |
Gets the end point of the last segment in the part, or |
Has |
Gets a value indicating whether the part has any curves. |
Is |
Gets a value indicating whether the part contains no segments. |
Item[Int32] | Gets or sets the element at the specified index. |
Point |
Gets the count of points in the part. |
Points | Gets a collection of all points that are vertexes of the part. |
Segment |
Gets the count of segments in the part. |
Spatial |
Gets the spatial reference for the immutable part, or |
Start |
Gets the start point of the first segment in the part, or |
Methods
Name | Description |
---|---|
Get |
For a segment at a specified segment_index the method returns the point index of the segment's end point. |
Get |
Returns an enumerator that iterates through the collection. |
Get |
Converts from a point index to a segment index that uses the given point as an end point. If the point is not an end point then a value equivalent to -1 value is returned. |
Get |
Converts from a point index to a segment index of the start point and another segment index containing the end point. If the point is not a start or end point a value equivalent to -1 is set. |
Get |
Converts from a point index to a segment index that uses the given point as a start point. If the point is not a start point then a value equivalent to -1 value is returned. |
Get |
For a segment at a specified segment_index the method returns the point index of the segment's start point. |
Name | Description |
---|---|
IEnumerable. |
Returns an enumerator that iterates through a collection. |
Applies to
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.0 - 200.6 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.6 |