Class MultiLineString
Models a collection of LineStrings.
Any collection of LineString
s is a valid MultiLineString
.
Inherited Members
Namespace: NetTopologySuite.Geometries
Assembly: NetTopologySuite.dll
Syntax
[Serializable]
public class MultiLineString : GeometryCollection, IComparable, IComparable<Geometry>, IEnumerable<Geometry>, IEnumerable, ILineal
Constructors
| Improve this Doc View SourceMultiLineString(LineString[])
Constructs a MultiLineString
.
Declaration
public MultiLineString(LineString[] lineStrings)
Parameters
Type | Name | Description |
---|---|---|
LineString[] | lineStrings | The |
Remarks
For create this Geometry is used a standard GeometryFactory
with PrecisionModel ==
Floating.
MultiLineString(LineString[], GeometryFactory)
Constructs a MultiLineString
.
Declaration
public MultiLineString(LineString[] lineStrings, GeometryFactory factory)
Parameters
Type | Name | Description |
---|---|---|
LineString[] | lineStrings | The |
GeometryFactory | factory |
Fields
| Improve this Doc View SourceEmpty
Represents an empty MultiLineString
.
Declaration
public static readonly MultiLineString Empty
Field Value
Type | Description |
---|---|
MultiLineString |
Properties
| Improve this Doc View SourceBoundary
Declaration
public override Geometry Boundary { get; }
Property Value
Type | Description |
---|---|
Geometry |
Overrides
| Improve this Doc View SourceBoundaryDimension
Declaration
public override Dimension BoundaryDimension { get; }
Property Value
Type | Description |
---|---|
Dimension |
Overrides
| Improve this Doc View SourceDimension
Declaration
public override Dimension Dimension { get; }
Property Value
Type | Description |
---|---|
Dimension |
Overrides
| Improve this Doc View SourceGeometryType
Returns the name of this object's interface.
Declaration
public override string GeometryType { get; }
Property Value
Type | Description |
---|---|
String | "MultiLineString" |
Overrides
| Improve this Doc View SourceIsClosed
Gets a value indicating whether this instance is closed.
Declaration
public bool IsClosed { get; }
Property Value
Type | Description |
---|---|
Boolean |
|
OgcGeometryType
Gets the OGC geometry type
Declaration
public override OgcGeometryType OgcGeometryType { get; }
Property Value
Type | Description |
---|---|
OgcGeometryType |
Overrides
| Improve this Doc View SourceSortIndex
Gets a value to sort the geometry
Declaration
protected override Geometry.SortIndexValue SortIndex { get; }
Property Value
Type | Description |
---|---|
Geometry.SortIndexValue |
Overrides
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
| Improve this Doc View SourceCopyInternal()
Declaration
protected override Geometry CopyInternal()
Returns
Type | Description |
---|---|
Geometry |
Overrides
| Improve this Doc View SourceEqualsExact(Geometry, Double)
Declaration
public override bool EqualsExact(Geometry other, double tolerance)
Parameters
Type | Name | Description |
---|---|---|
Geometry | other | |
Double | tolerance |
Returns
Type | Description |
---|---|
Boolean |
Overrides
| Improve this Doc View SourceReverse()
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.
Declaration
[Obsolete("Call Geometry.Reverse()")]
public override Geometry Reverse()
Returns
Type | Description |
---|---|
Geometry | a MultiLineString in the reverse order. |
Overrides
| Improve this Doc View SourceReverseInternal()
Declaration
protected override Geometry ReverseInternal()
Returns
Type | Description |
---|---|
Geometry |