Udostępnij za pośrednictwem


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>)

Source:
LineString.cs

Initializes a new instance of the LineString class.

public LineString (System.Collections.Generic.IList<Microsoft.Azure.Cosmos.Spatial.Position> coordinates);
new Microsoft.Azure.Cosmos.Spatial.LineString : System.Collections.Generic.IList<Microsoft.Azure.Cosmos.Spatial.Position> -> Microsoft.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)

Source:
LineString.cs

Initializes a new instance of the LineString class.

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