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<Azure.Cosmos.Spatial.Position> coordinates);
new Azure.Cosmos.Spatial.LineString : System.Collections.Generic.IList<Azure.Cosmos.Spatial.Position> -> Azure.Cosmos.Spatial.LineString
Public Sub New (coordinates As IList(Of Position))

Parameters

coordinates
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<Azure.Cosmos.Spatial.Position> coordinates, Azure.Cosmos.Spatial.GeometryParams geometryParams);
new Azure.Cosmos.Spatial.LineString : System.Collections.Generic.IList<Azure.Cosmos.Spatial.Position> * Azure.Cosmos.Spatial.GeometryParams -> Azure.Cosmos.Spatial.LineString
Public Sub New (coordinates As IList(Of Position), geometryParams As GeometryParams)

Parameters

coordinates
IList<Position>

The coordinates.

geometryParams
GeometryParams

Additional geometry parameters.

Applies to