Class MultiLineString
- Namespace
- NetTopologySuite.Geometries
- Assembly
- NetTopologySuite.dll
public class MultiLineString : GeometryCollection, IComparable, IComparable<Geometry>, IEnumerable<Geometry>, IEnumerable, ILineal
- Inheritance
-
MultiLineString
- Implements
- Inherited Members
Constructors
MultiLineString(LineString[])
Constructs a MultiLineString.
public MultiLineString(LineString[] lineStrings)
Parameters
lineStringsLineString[]The
LineStrings for thisMultiLineString, ornullor an empty array to create the empty point. Elements may be emptyLineStrings, but notnulls.
Remarks
For create this Geometry is used a standard GeometryFactory
with PrecisionModel == Floating.
MultiLineString(LineString[], GeometryFactory)
Constructs a MultiLineString.
public MultiLineString(LineString[] lineStrings, GeometryFactory factory)
Parameters
lineStringsLineString[]The
LineStrings for thisMultiLineString, ornullor an empty array to create the empty point. Elements may be emptyLineStrings, but notnulls.factoryGeometryFactory
Fields
Empty
Represents an empty MultiLineString.
public static readonly MultiLineString Empty
Field Value
Properties
Boundary
public override Geometry Boundary { get; }
Property Value
BoundaryDimension
public override Dimension BoundaryDimension { get; }
Property Value
Dimension
public override Dimension Dimension { get; }
Property Value
GeometryType
Returns the name of this object's interface.
public override string GeometryType { get; }
Property Value
- string
"MultiLineString"
IsClosed
Gets a value indicating whether this instance is closed.
public bool IsClosed { get; }
Property Value
- bool
trueif this instance is closed; otherwise,false.
OgcGeometryType
Gets the OGC geometry type
public override OgcGeometryType OgcGeometryType { get; }
Property Value
SortIndex
Gets a value to sort the geometry
protected override Geometry.SortIndexValue SortIndex { get; }
Property Value
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
CopyInternal()
protected override Geometry CopyInternal()
Returns
EqualsExact(Geometry, double)
public override bool EqualsExact(Geometry other, double tolerance)
Parameters
Returns
Reverse()
Creates a MultiLineString in the reverse order to this object. Both the order of the component LineStrings and the order of their coordinate sequences are reversed.
[Obsolete("Call Geometry.Reverse()")]
public override Geometry Reverse()
Returns
- Geometry
a MultiLineString in the reverse order.
ReverseInternal()
protected override Geometry ReverseInternal()