Show / Hide Table of Contents

Method Add

Add(Double, Double)

Adds a new point with the specified x and y coordinate to the end of this point collection.

Declaration
public void Add(double x, double y)
Parameters
Type Name Description
Double x

The x.

Double y

The y.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 100.15
.NET 6.0100.13 - 100.15
.NET 6.0 Windows100.13 - 100.15
.NET Framework100.0 - 100.15
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Xamarin.Android100.0 - 100.15
Xamarin.iOS100.0 - 100.15
UWP100.0 - 100.15
Relevant samples
Create geometries: Create simple geometry types.

Add(Double, Double, Double)

Adds a new point with a specified x,y,z coordinate to the end of this point collection.

Declaration
public void Add(double x, double y, double z)
Parameters
Type Name Description
Double x

The x.

Double y

The y.

Double z

The z.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 100.15
.NET 6.0100.13 - 100.15
.NET 6.0 Windows100.13 - 100.15
.NET Framework100.0 - 100.15
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Xamarin.Android100.0 - 100.15
Xamarin.iOS100.0 - 100.15
UWP100.0 - 100.15

Add(MapPoint)

Adds an item to the System.Collections.Generic.ICollection<T>.

Declaration
public void Add(MapPoint item)
Parameters
Type Name Description
MapPoint item

The object to add to the System.Collections.Generic.ICollection<T>.

Implements
System.Collections.Generic.ICollection<T>.Add(T)
Remarks

This collection stores a copy of the given MapPoint. Changes made to the original MapPoint will not affect values stored in this collection.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 100.15
.NET 6.0100.13 - 100.15
.NET 6.0 Windows100.13 - 100.15
.NET Framework100.0 - 100.15
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Xamarin.Android100.0 - 100.15
Xamarin.iOS100.0 - 100.15
UWP100.0 - 100.15
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.
Cut geometry: Cut a geometry along a polyline.
In This Article
Back to top Copyright © 2022 Esri.