Show / Hide Table of Contents

    Class 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
    System.Object
    Geometry
    GeometryCollection
    MultiPoint
    Implements
    System.IEquatable<Geometry>
    IGeometryCollection
    IGeometry
    System.Collections.Generic.IEnumerable<Geometry>
    System.Collections.IEnumerable
    Inherited Members
    GeometryCollection.Collection
    GeometryCollection.IEnumerable.GetEnumerator()
    GeometryCollection.GetBoundingBox()
    GeometryCollection.Equals(GeometryCollection)
    GeometryCollection.GetHashCode()
    GeometryCollection.Contains(Point)
    GeometryCollection.Equals(Geometry)
    Geometry.Envelope
    Geometry.AsText()
    Geometry.AsBinary()
    Geometry.ToString()
    Geometry.GeomFromText(String)
    Geometry.GeomFromWKB(Byte[])
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Namespace: Mapsui.Geometries
    Assembly: Mapsui.Geometries.dll
    Syntax
    public class MultiPoint : GeometryCollection, IEquatable<Geometry>, IGeometryCollection, IGeometry, IEnumerable<Geometry>, IEnumerable

    Constructors

    | Improve this Doc View Source

    MultiPoint()

    Initializes a new MultiPoint collection

    Declaration
    public MultiPoint()
    | Improve this Doc View Source

    MultiPoint(IEnumerable<Double[]>)

    Initializes a new MultiPoint collection

    Declaration
    public MultiPoint(IEnumerable<double[]> points)
    Parameters
    Type Name Description
    System.Collections.Generic.IEnumerable<System.Double[]> points

    Properties

    | Improve this Doc View Source

    BoundingBox

    The minimum bounding box for this Geometry.

    Declaration
    public override BoundingBox BoundingBox { get; }
    Property Value
    Type Description
    BoundingBox
    Overrides
    GeometryCollection.BoundingBox
    | Improve this Doc View Source

    Item[Int32]

    Gets the n'th point in the MultiPoint collection

    Declaration
    public Point this[int n] { get; }
    Parameters
    Type Name Description
    System.Int32 n

    Index in collection

    Property Value
    Type Description
    Point

    Point

    | Improve this Doc View Source

    NumGeometries

    Returns the number of geometries in the collection.

    Declaration
    public override int NumGeometries { get; }
    Property Value
    Type Description
    System.Int32
    Overrides
    GeometryCollection.NumGeometries
    | Improve this Doc View Source

    Points

    Gets or sets the MultiPoint collection

    Declaration
    public IList<Point> Points { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.IList<Point>

    Methods

    | Improve this Doc View Source

    Clone()

    Return a copy of this geometry

    Declaration
    public MultiPoint Clone()
    Returns
    Type Description
    MultiPoint

    Copy of Geometry

    | Improve this Doc View Source

    Distance(Point)

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

    Declaration
    public override double Distance(Point point)
    Parameters
    Type Name Description
    Point point

    Geometry to calculate distance to

    Returns
    Type Description
    System.Double

    Shortest distance between any two points in the two geometries

    Overrides
    GeometryCollection.Distance(Point)
    | Improve this Doc View Source

    Geometry(Int32)

    Returns an indexed geometry in the collection

    Declaration
    public Point Geometry(int n)
    Parameters
    Type Name Description
    System.Int32 n

    Geometry index

    Returns
    Type Description
    Point

    Geometry at index N

    | Improve this Doc View Source

    GetEnumerator()

    Gets an enumerator for enumerating the geometries in the GeometryCollection

    Declaration
    public override IEnumerator<Geometry> GetEnumerator()
    Returns
    Type Description
    System.Collections.Generic.IEnumerator<Geometry>
    Overrides
    GeometryCollection.GetEnumerator()
    | Improve this Doc View Source

    IsEmpty()

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

    Declaration
    public override bool IsEmpty()
    Returns
    Type Description
    System.Boolean

    Returns 'true' if this Geometry is the empty geometry

    Overrides
    GeometryCollection.IsEmpty()

    Implements

    System.IEquatable<T>
    IGeometryCollection
    IGeometry
    System.Collections.Generic.IEnumerable<T>
    System.Collections.IEnumerable

    Extension Methods

    GeometryExtensions.Copy(IGeometry)
    GeometryIterator.AllVertices(IGeometry)
    • Improve this Doc
    • View Source
    Back to top Generated by DocFX