Udostępnij za pośrednictwem


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)

Source:
Point.cs

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

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

Parameters

position
Position

Position of the point.

Applies to

Point(Position, GeometryParams)

Source:
Point.cs

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

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

Source:
Point.cs

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

public Point (double longitude, double latitude);
new Microsoft.Azure.Cosmos.Spatial.Point : double * double -> Microsoft.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