Point Constructors

Definition

Overloads

Point(Position)

Initializes a new instance of the Point class in the Azure Cosmos DB service.

Point(Position, GeometryParams)

Initializes a new instance of the Point class in the Azure Cosmos DB service.

Point(Double, Double)

Initializes a new instance of the Point class in the Azure Cosmos DB service.

Point(Position)

Initializes a new instance of the Point class in the Azure Cosmos DB service.

public Point (Azure.Cosmos.Spatial.Position position);
new Azure.Cosmos.Spatial.Point : Azure.Cosmos.Spatial.Position -> Azure.Cosmos.Spatial.Point
Public Sub New (position As Position)

Parameters

position
Position

Position of the point.

Applies to

Point(Position, GeometryParams)

Initializes a new instance of the Point class in the Azure Cosmos DB service.

public Point (Azure.Cosmos.Spatial.Position position, Azure.Cosmos.Spatial.GeometryParams geometryParams);
new Azure.Cosmos.Spatial.Point : Azure.Cosmos.Spatial.Position * Azure.Cosmos.Spatial.GeometryParams -> Azure.Cosmos.Spatial.Point
Public Sub New (position As Position, geometryParams As GeometryParams)

Parameters

position
Position

Point coordinates.

geometryParams
GeometryParams

Additional geometry parameters.

Applies to

Point(Double, Double)

Initializes a new instance of the Point class in the Azure Cosmos DB service.

public Point (double longitude, double latitude);
new Azure.Cosmos.Spatial.Point : double * double -> Azure.Cosmos.Spatial.Point
Public Sub New (longitude As Double, latitude As Double)

Parameters

longitude
Double

Longitude of the point.

latitude
Double

Latitude of the point.

Applies to