Show / Hide Table of Contents

Constructor PointCollection

PointCollection()

Initializes a new instance of the PointCollection class without a SpatialReference

Declaration
public PointCollection()

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 200.7
.NET100.13 - 200.7
.NET Windows100.13 - 200.7
.NET Android200.0 - 200.7
.NET iOS200.0 - 200.7
.NET Framework100.0 - 200.7
Xamarin.Android100.0 - 100.15
Xamarin.iOS100.0 - 100.15
UWP100.0 - 200.7

PointCollection(SpatialReference)

Initializes a new instance of the PointCollection class with a given SpatialReference

Declaration
public PointCollection(SpatialReference spatialReference)
Parameters
Type Name Description
SpatialReference spatialReference

The spatial reference to be used by all points in this collection

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 200.7
.NET100.13 - 200.7
.NET Windows100.13 - 200.7
.NET Android200.0 - 200.7
.NET iOS200.0 - 200.7
.NET Framework100.0 - 200.7
Xamarin.Android100.0 - 100.15
Xamarin.iOS100.0 - 100.15
UWP100.0 - 200.7
Relevant samples
Add graphics with symbols: Use a symbol style to display a graphic on a graphics overlay.
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.
Convex hull list: Generate convex hull polygon(s) from multiple input geometries.

PointCollection(IEnumerable<MapPoint>)

Initializes a new instance of the PointCollection class. Populates with the supplied points.

Declaration
public PointCollection(IEnumerable<MapPoint> points)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<MapPoint> points

Populates with the supplied points

Remarks

If the input is another PointCollection a more efficient copy is made.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 200.7
.NET100.13 - 200.7
.NET Windows100.13 - 200.7
.NET Android200.2 - 200.7
.NET iOS200.0 - 200.7
.NET Framework100.0 - 200.7
Xamarin.Android100.0 - 100.14
Xamarin.iOS100.0 - 100.15
UWP100.0 - 200.7

PointCollection(IEnumerable<MapPoint>, SpatialReference)

Initializes a new instance of the PointCollection class. The spatial reference is used if the input points don't have one.

Declaration
public PointCollection(IEnumerable<MapPoint> points, SpatialReference spatialReference)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<MapPoint> points

Populates with the supplied points

SpatialReference spatialReference

A spatial reference for the input points

Remarks

If the input is another PointCollection a more efficient copy is made.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 200.7
.NET100.13 - 200.7
.NET Windows100.13 - 200.7
.NET Android200.2 - 200.7
.NET iOS200.0 - 200.7
.NET Framework100.0 - 200.7
Xamarin.Android100.0 - 100.14
Xamarin.iOS100.0 - 100.15
UWP100.0 - 200.7
In This Article
Back to top Copyright © 2022 Esri.