Search Results for

    Show / Hide Table of Contents

    Class MultiPoint

    Models a collection of Points.

    Inheritance
    object
    Geometry
    GeometryCollection
    MultiPoint
    Implements
    IComparable
    IComparable<Geometry>
    IReadOnlyList<Geometry>
    IReadOnlyCollection<Geometry>
    IEnumerable<Geometry>
    IEnumerable
    IPuntal
    Inherited Members
    GeometryCollection.Coordinate
    GeometryCollection.Coordinates
    GeometryCollection.GetOrdinates(Ordinate)
    GeometryCollection.IsEmpty
    GeometryCollection.NumGeometries
    GeometryCollection.GetGeometryN(int)
    GeometryCollection.Geometries
    GeometryCollection.NumPoints
    GeometryCollection.Area
    GeometryCollection.Length
    GeometryCollection.Apply(ICoordinateFilter)
    GeometryCollection.Apply(ICoordinateSequenceFilter)
    GeometryCollection.Apply(IEntireCoordinateSequenceFilter)
    GeometryCollection.Apply(IGeometryFilter)
    GeometryCollection.Apply(IGeometryComponentFilter)
    GeometryCollection.Normalize()
    GeometryCollection.ComputeEnvelopeInternal()
    GeometryCollection.CompareToSameClass(object)
    GeometryCollection.CompareToSameClass(object, IComparer<CoordinateSequence>)
    GeometryCollection.IsHomogeneous
    GeometryCollection.GetEnumerator()
    GeometryCollection.this[int]
    GeometryCollection.Reverse()
    GeometryCollection.Count
    Geometry.TypeNamePoint
    Geometry.TypeNameMultiPoint
    Geometry.TypeNameLineString
    Geometry.TypeNameLinearRing
    Geometry.TypeNameMultiLineString
    Geometry.TypeNamePolygon
    Geometry.TypeNameMultiPolygon
    Geometry.TypeNameGeometryCollection
    Geometry.Factory
    Geometry.UserData
    Geometry.SRID
    Geometry.HasNonEmptyElements(Geometry[])
    Geometry.HasNullElements(object[])
    Geometry.HasNullElements<T>(IEnumerable<T>)
    Geometry.PrecisionModel
    Geometry.IsSimple
    Geometry.Distance(Geometry)
    Geometry.IsWithinDistance(Geometry, double)
    Geometry.Centroid
    Geometry.InteriorPoint
    Geometry.PointOnSurface
    Geometry.Envelope
    Geometry.EnvelopeInternal
    Geometry.GeometryChanged()
    Geometry.GeometryChangedAction()
    Geometry.Disjoint(Geometry)
    Geometry.Touches(Geometry)
    Geometry.Intersects(Geometry)
    Geometry.Crosses(Geometry)
    Geometry.Within(Geometry)
    Geometry.Contains(Geometry)
    Geometry.Overlaps(Geometry)
    Geometry.Covers(Geometry)
    Geometry.CoveredBy(Geometry)
    Geometry.Relate(Geometry, string)
    Geometry.Relate(Geometry)
    Geometry.Equals(Geometry)
    Geometry.EqualsTopologically(Geometry)
    Geometry.Equals(object)
    Geometry.GetHashCode()
    Geometry.ToString()
    Geometry.ToText()
    Geometry.AsText()
    Geometry.ToBinary()
    Geometry.AsBinary()
    Geometry.ToGMLFeature()
    Geometry.Buffer(double)
    Geometry.Buffer(double, EndCapStyle)
    Geometry.Buffer(double, int)
    Geometry.Buffer(double, int, EndCapStyle)
    Geometry.Buffer(double, BufferParameters)
    Geometry.ConvexHull()
    Geometry.Intersection(Geometry)
    Geometry.Union(Geometry)
    Geometry.Difference(Geometry)
    Geometry.SymmetricDifference(Geometry)
    Geometry.Union()
    Geometry.EqualsExact(Geometry)
    Geometry.EqualsNormalized(Geometry)
    Geometry.Copy()
    Geometry.Normalized()
    Geometry.CompareTo(object)
    Geometry.CompareTo(Geometry)
    Geometry.CompareTo(object, IComparer<CoordinateSequence>)
    Geometry.IsEquivalentClass(Geometry)
    Geometry.CheckNotGeometryCollection(Geometry)
    Geometry.IsGeometryCollection
    Geometry.Compare(List<Geometry>, List<Geometry>)
    Geometry.Equal(Coordinate, Coordinate, double)
    Geometry.IsRectangle
    Geometry.DefaultFactory
    Geometry.CreateArray(int, double)
    Geometry.CreateArray(CoordinateSequence, Ordinate)
    object.Equals(object, object)
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: NetTopologySuite.Geometries
    Assembly: NetTopologySuite.dll
    Syntax
    [Serializable]
    public class MultiPoint : GeometryCollection, IComparable, IComparable<Geometry>, IReadOnlyList<Geometry>, IReadOnlyCollection<Geometry>, IEnumerable<Geometry>, IEnumerable, IPuntal

    Constructors

    | Edit this page View Source

    MultiPoint(Point[])

    Constructs a MultiPoint.

    Declaration
    public MultiPoint(Point[] points)
    Parameters
    Type Name Description
    Point[] points

    The Points for this MultiPoint , or null or an empty array to create the empty point. Elements may be empty Points, but not nulls.

    Remarks

    For create this Geometry is used a standard GeometryFactory with PrecisionModel == Floating.

    | Edit this page View Source

    MultiPoint(Point[], GeometryFactory)

    Constructs a MultiPoint.

    Declaration
    public MultiPoint(Point[] points, GeometryFactory factory)
    Parameters
    Type Name Description
    Point[] points

    The Points for this MultiPoint , or null or an empty array to create the empty point. Elements may be empty Points, but not nulls.

    GeometryFactory factory

    Fields

    | Edit this page View Source

    Empty

    Represents an empty MultiPoint.

    Declaration
    public static readonly MultiPoint Empty
    Field Value
    Type Description
    MultiPoint

    Properties

    | Edit this page View Source

    Boundary

    Gets the boundary of this geometry. Zero-dimensional geometries have no boundary by definition, so an empty GeometryCollection is returned.

    Declaration
    public override Geometry Boundary { get; }
    Property Value
    Type Description
    Geometry
    Overrides
    GeometryCollection.Boundary
    | Edit this page View Source

    BoundaryDimension

    Declaration
    public override Dimension BoundaryDimension { get; }
    Property Value
    Type Description
    Dimension
    Overrides
    GeometryCollection.BoundaryDimension
    | Edit this page View Source

    Dimension

    Declaration
    public override Dimension Dimension { get; }
    Property Value
    Type Description
    Dimension
    Overrides
    GeometryCollection.Dimension
    | Edit this page View Source

    GeometryType

    Returns the name of this object's interface.

    Declaration
    public override string GeometryType { get; }
    Property Value
    Type Description
    string

    "MultiPoint"

    Overrides
    GeometryCollection.GeometryType
    | Edit this page View Source

    IsValid

    Tests whether this Geometry is topologically valid, according to the OGC SFS specification.

    For validity rules see the documentation for the specific geometry subclass.
    Declaration
    public override bool IsValid { get; }
    Property Value
    Type Description
    bool

    true if this Geometry is valid.

    Overrides
    Geometry.IsValid
    | Edit this page View Source

    OgcGeometryType

    Gets the OGC geometry type

    Declaration
    public override OgcGeometryType OgcGeometryType { get; }
    Property Value
    Type Description
    OgcGeometryType
    Overrides
    GeometryCollection.OgcGeometryType
    | Edit this page View Source

    SortIndex

    Gets a value to sort the geometry

    Declaration
    protected override Geometry.SortIndexValue SortIndex { get; }
    Property Value
    Type Description
    Geometry.SortIndexValue
    Overrides
    GeometryCollection.SortIndex
    Remarks

    NOTE:
    For JTS v1.17 this property's getter has been renamed to getTypeCode(). In order not to break binary compatibility we did not follow.

    Methods

    | Edit this page View Source

    CopyInternal()

    An internal method to copy subclass-specific geometry data.

    Declaration
    protected override Geometry CopyInternal()
    Returns
    Type Description
    Geometry

    A copy of the target geometry object.

    Overrides
    GeometryCollection.CopyInternal()
    | Edit this page View Source

    EqualsExact(Geometry, double)

    Declaration
    public override bool EqualsExact(Geometry other, double tolerance)
    Parameters
    Type Name Description
    Geometry other
    double tolerance
    Returns
    Type Description
    bool
    Overrides
    GeometryCollection.EqualsExact(Geometry, double)
    | Edit this page View Source

    GetCoordinate(int)

    Returns the Coordinate at the given position.

    Declaration
    protected Coordinate GetCoordinate(int n)
    Parameters
    Type Name Description
    int n

    The index of the Coordinate to retrieve, beginning at 0.

    Returns
    Type Description
    Coordinate

    The nth Coordinate.

    | Edit this page View Source

    HasDimension(Dimension)

    Tests whether an atomic geometry or any element of a collection has the specified dimension.
    In particular, this can be used with mixed-dimension GeometryCollections to test if they contain an element of the specified dimension.

    Declaration
    public override bool HasDimension(Dimension dim)
    Parameters
    Type Name Description
    Dimension dim

    The dimension to test

    Returns
    Type Description
    bool

    true if the geometry has or contains an element with the dimension

    Overrides
    GeometryCollection.HasDimension(Dimension)
    See Also
    Dimension
    | Edit this page View Source

    ReverseInternal()

    Declaration
    protected override Geometry ReverseInternal()
    Returns
    Type Description
    Geometry
    Overrides
    GeometryCollection.ReverseInternal()

    Implements

    IComparable
    IComparable<T>
    IReadOnlyList<T>
    IReadOnlyCollection<T>
    IEnumerable<T>
    IEnumerable
    IPuntal

    Extension Methods

    PolygonalExtracter.GetPolygonals<TCollection>(Geometry)
    PolygonalExtracter.GetPolygonals<TCollection>(Geometry, TCollection)
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX