Share via


GeographyPoint.Create Method

Definition

Overloads

Create(Double, Double)

Creates a geography point using the specified latitude and longitude.

Create(Double, Double, Nullable<Double>)

Creates a geography point using the specified latitude, longitude and dimension.

Create(Double, Double, Nullable<Double>, Nullable<Double>)

Creates a geography point using the specified latitude, longitude and dimensions.

Create(CoordinateSystem, Double, Double, Nullable<Double>, Nullable<Double>)

Creates a geography point using the specified coordinate system, latitude, longitude and dimensions.

Create(Double, Double)

Creates a geography point using the specified latitude and longitude.

public static Microsoft.Spatial.GeographyPoint Create (double latitude, double longitude);
static member Create : double * double -> Microsoft.Spatial.GeographyPoint
Public Shared Function Create (latitude As Double, longitude As Double) As GeographyPoint

Parameters

latitude
Double

The latitude.

longitude
Double

The longitude.

Returns

The geography point that was created.

Applies to

Create(Double, Double, Nullable<Double>)

Creates a geography point using the specified latitude, longitude and dimension.

public static Microsoft.Spatial.GeographyPoint Create (double latitude, double longitude, double? z);
static member Create : double * double * Nullable<double> -> Microsoft.Spatial.GeographyPoint
Public Shared Function Create (latitude As Double, longitude As Double, z As Nullable(Of Double)) As GeographyPoint

Parameters

latitude
Double

The latitude.

longitude
Double

The longitude.

z
Nullable<Double>

The z dimension.

Returns

The geography point that was created.

Applies to

Create(Double, Double, Nullable<Double>, Nullable<Double>)

Creates a geography point using the specified latitude, longitude and dimensions.

public static Microsoft.Spatial.GeographyPoint Create (double latitude, double longitude, double? z, double? m);
static member Create : double * double * Nullable<double> * Nullable<double> -> Microsoft.Spatial.GeographyPoint
Public Shared Function Create (latitude As Double, longitude As Double, z As Nullable(Of Double), m As Nullable(Of Double)) As GeographyPoint

Parameters

latitude
Double

The latitude.

longitude
Double

The longitude.

z
Nullable<Double>

The z dimension.

m
Nullable<Double>

The m dimension.

Returns

The geography point that was created.

Applies to

Create(CoordinateSystem, Double, Double, Nullable<Double>, Nullable<Double>)

Creates a geography point using the specified coordinate system, latitude, longitude and dimensions.

public static Microsoft.Spatial.GeographyPoint Create (Microsoft.Spatial.CoordinateSystem coordinateSystem, double latitude, double longitude, double? z, double? m);
static member Create : Microsoft.Spatial.CoordinateSystem * double * double * Nullable<double> * Nullable<double> -> Microsoft.Spatial.GeographyPoint
Public Shared Function Create (coordinateSystem As CoordinateSystem, latitude As Double, longitude As Double, z As Nullable(Of Double), m As Nullable(Of Double)) As GeographyPoint

Parameters

coordinateSystem
CoordinateSystem

The coordinate system to use.

latitude
Double

The latitude.

longitude
Double

The longitude.

z
Nullable<Double>

The z dimension.

m
Nullable<Double>

The m dimension.

Returns

The geography point that was created.

Applies to