GeoMultiLineString Class

A set of lines, such as the segments of a GPS track.

public sealed class GeoMultiLineString : GeoGeometry
Inheritance
GeoGeometry GeoMultiLineString

Constructors

NameDescription
GeoMultiLineString(IEnumerable<GeoLineString>)Initializes a new instance of the GeoMultiLineString class.

GeoMultiLineString(IEnumerable<GeoLineString>)

GeoMultiLineString.cs

Initializes a new instance of the GeoMultiLineString class.

public GeoMultiLineString(IEnumerable<GeoLineString> lineStrings)

Parameters

lineStrings IEnumerable<GeoLineString>
The lines.

Properties

NameDescription
LineStringsGets the lines.
TypeGets the type of the geometry.

Gets the lines.

public IReadOnlyList<GeoLineString> LineStrings { get; }

Gets the type of the geometry.

public override GeoGeometryType Type { get; }

Property value

GeoGeometryType

Methods

NameDescription
GetPositions()Gets the positions of the geometry: every position of every point, line and ring, in order.

GetPositions()

GeoMultiLineString.cs

Gets the positions of the geometry: every position of every point, line and ring, in order.

public override IEnumerable<GeoPosition> GetPositions()

Returns

IEnumerable<GeoPosition> The positions.