GeoMultiPoint Class

A set of points.

public sealed class GeoMultiPoint : GeoGeometry
Inheritance
GeoGeometry GeoMultiPoint

Constructors

NameDescription
GeoMultiPoint(IEnumerable<GeoPosition>)Initializes a new instance of the GeoMultiPoint class.

GeoMultiPoint(IEnumerable<GeoPosition>)

GeoMultiPoint.cs

Initializes a new instance of the GeoMultiPoint class.

public GeoMultiPoint(IEnumerable<GeoPosition> positions)

Parameters

positions IEnumerable<GeoPosition>
The positions of the points.

Properties

NameDescription
PositionsGets the positions of the points.
TypeGets the type of the geometry.

Gets the positions of the points.

public IReadOnlyList<GeoPosition> Positions { get; }

Gets the type of the geometry.

public override GeoGeometryType Type { get; }

Property value

GeoGeometryType

Methods

NameDescription
GetPositions()Gets the positions of the geometry: every position of every point, line and ring, in order.

GetPositions()

GeoMultiPoint.cs

Gets the positions of the geometry: every position of every point, line and ring, in order.

public override IEnumerable<GeoPosition> GetPositions()

Returns

IEnumerable<GeoPosition> The positions.