Sdílet prostřednictvím


SqlSpatialFunctions.PointGeometry Metoda

Definice

Vytvoří instanci geometrie představující instanci point z jejích hodnot x a y a ID prostorového odkazu (SRID).

public:
 static System::Data::Spatial::DbGeometry ^ PointGeometry(Nullable<double> xCoordinate, Nullable<double> yCoordinate, Nullable<int> spatialReferenceId);
[System.Data.Objects.DataClasses.EdmFunction("SqlServer", "POINTGEOMETRY")]
public static System.Data.Spatial.DbGeometry PointGeometry(double? xCoordinate, double? yCoordinate, int? spatialReferenceId);
[<System.Data.Objects.DataClasses.EdmFunction("SqlServer", "POINTGEOMETRY")>]
static member PointGeometry : Nullable<double> * Nullable<double> * Nullable<int> -> System.Data.Spatial.DbGeometry
Public Shared Function PointGeometry (xCoordinate As Nullable(Of Double), yCoordinate As Nullable(Of Double), spatialReferenceId As Nullable(Of Integer)) As DbGeometry

Parametry

xCoordinate
Nullable<Double>

Souřadnice x vygenerovaného bodu.

yCoordinate
Nullable<Double>

Souřadnice y vygenerovaného bodu.

spatialReferenceId
Nullable<Int32>

SRID geografické instance.

Návraty

Vytvořená instance geometrie.

Atributy

Platí pro