C# Class Mapsui.Geometries.MultiPoint

A MultiPoint is a 0 dimensional geometric collection. The elements of a MultiPoint are restricted to Points. The points are not connected or ordered.
Inheritance: GeometryCollection
Show file Open project: pauldendulk/Mapsui Class Usage Examples

Public Methods

Method Description
Clone ( ) : MultiPoint

Return a copy of this geometry

Distance ( System.Point point ) : double

Returns the shortest distance between any two points in the two geometries as calculated in the spatial reference system of this Geometry.

Geometry ( int n ) : System.Point

Returns an indexed geometry in the collection

GetBoundingBox ( ) : BoundingBox

The minimum bounding box for this Geometry.

GetEnumerator ( ) : IEnumerator

Gets an enumerator for enumerating the geometries in the GeometryCollection

IsEmpty ( ) : bool

If true, then this Geometry represents the empty point set, Ø, for the coordinate space.

MultiPoint ( ) : System

Initializes a new MultiPoint collection

MultiPoint ( IEnumerable points ) : System

Initializes a new MultiPoint collection

this ( int n ) : System.Point

Gets the n'th point in the MultiPoint collection

Method Details

Clone() public method

Return a copy of this geometry
public Clone ( ) : MultiPoint
return MultiPoint

Distance() public method

Returns the shortest distance between any two points in the two geometries as calculated in the spatial reference system of this Geometry.
public Distance ( System.Point point ) : double
point System.Point Geometry to calculate distance to
return double

Geometry() public method

Returns an indexed geometry in the collection
public Geometry ( int n ) : System.Point
n int Geometry index
return System.Point

GetBoundingBox() public method

The minimum bounding box for this Geometry.
public GetBoundingBox ( ) : BoundingBox
return BoundingBox

GetEnumerator() public method

Gets an enumerator for enumerating the geometries in the GeometryCollection
public GetEnumerator ( ) : IEnumerator
return IEnumerator

IsEmpty() public method

If true, then this Geometry represents the empty point set, Ø, for the coordinate space.
public IsEmpty ( ) : bool
return bool

MultiPoint() public method

Initializes a new MultiPoint collection
public MultiPoint ( ) : System
return System

MultiPoint() public method

Initializes a new MultiPoint collection
public MultiPoint ( IEnumerable points ) : System
points IEnumerable
return System

this() public method

Gets the n'th point in the MultiPoint collection
public this ( int n ) : System.Point
n int Index in collection
return System.Point