LineString Constructors

Definition

Overloads

LineString(IList<Position>)

Initializes a new instance of the LineString class.

LineString(IList<Position>, GeometryParams)

Initializes a new instance of the LineString class.

LineString(IList<Position>)

Initializes a new instance of the LineString class.

public LineString (System.Collections.Generic.IList<Microsoft.Azure.Documents.Spatial.Position> coordinates);
new Microsoft.Azure.Documents.Spatial.LineString : System.Collections.Generic.IList<Microsoft.Azure.Documents.Spatial.Position> -> Microsoft.Azure.Documents.Spatial.LineString
Public Sub New (coordinates As IList(Of Position))

Parameters

coordinates
System.Collections.Generic.IList<Position>

List of positions through which the line string goes.

Applies to

LineString(IList<Position>, GeometryParams)

Initializes a new instance of the LineString class.

public LineString (System.Collections.Generic.IList<Microsoft.Azure.Documents.Spatial.Position> coordinates, Microsoft.Azure.Documents.Spatial.GeometryParams geometryParams);
new Microsoft.Azure.Documents.Spatial.LineString : System.Collections.Generic.IList<Microsoft.Azure.Documents.Spatial.Position> * Microsoft.Azure.Documents.Spatial.GeometryParams -> Microsoft.Azure.Documents.Spatial.LineString

Parameters

coordinates
System.Collections.Generic.IList<Position>

The coordinates.

geometryParams
GeometryParams

Additional geometry parameters.

Applies to