Constructor Multipoint
Multipoint(IEnumerable<MapPoint>)
Initializes a new instance of the Multipoint class.
Declaration
public Multipoint(IEnumerable<MapPoint> points)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<MapPoint> | points | The coordinates. |
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.2 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.0 - 200.6 |
Xamarin.Android | 100.0 - 100.14 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.6 |
Relevant samples
Convex hull: Create a convex hull for a given set of points. The convex hull is a polygon with shortest perimeter that encloses a set of points. As a visual analogy, consider a set of points as nails in a board. The convex hull of the points would be like a rubber band stretched around the outermost nails.
Create geometries: Create simple geometry types.
Densify and generalize: A multipart geometry can be densified by adding interpolated points at regular intervals. Generalizing multipart geometry simplifies it while preserving its general shape. Densifying a multipart geometry adds more vertices at regular intervals.
Multipoint(IEnumerable<MapPoint>, SpatialReference)
Initializes a new instance of the Multipoint class.
Declaration
public Multipoint(IEnumerable<MapPoint> points, SpatialReference spatialReference)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<MapPoint> | points | The coordinates. |
SpatialReference | spatialReference | The spatial reference. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | points |
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.2 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.0 - 200.6 |
Xamarin.Android | 100.0 - 100.14 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.6 |