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 (Microsoft.Azure.Documents.Spatial.Position position);
new Microsoft.Azure.Documents.Spatial.Point : Microsoft.Azure.Documents.Spatial.Position -> Microsoft.Azure.Documents.Spatial.Point

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 (Microsoft.Azure.Documents.Spatial.Position position, Microsoft.Azure.Documents.Spatial.GeometryParams geometryParams);
new Microsoft.Azure.Documents.Spatial.Point : Microsoft.Azure.Documents.Spatial.Position * Microsoft.Azure.Documents.Spatial.GeometryParams -> Microsoft.Azure.Documents.Spatial.Point

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 Microsoft.Azure.Documents.Spatial.Point : double * double -> Microsoft.Azure.Documents.Spatial.Point
Public Sub New (longitude As Double, latitude As Double)

Parameters

longitude
System.Double

Longitude of the point.

latitude
System.Double

Latitude of the point.

Applies to