다음을 통해 공유


SqlSpatialFunctions.PointGeometry 메서드

정의

SRID(공간 참조 ID)와 x 및 y 값에서 Point 인스턴스를 나타내는 기하 도형 인스턴스를 생성합니다.

[System.Data.Entity.DbFunction("SqlServer", "POINTGEOMETRY")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId="xCoordinate")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId="yCoordinate")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", Justification="Naming convention prescribed by OGC specification", MessageId="y")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId="spatialReferenceId")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", Justification="Naming convention prescribed by OGC specification", MessageId="x")]
public static System.Data.Entity.Spatial.DbGeometry PointGeometry(Nullable<double> xCoordinate, Nullable<double> yCoordinate, Nullable<int> spatialReferenceId);
static member PointGeometry : Nullable<double> * Nullable<double> * Nullable<int> -> System.Data.Entity.Spatial.DbGeometry
Public Shared Function PointGeometry (xCoordinate As Nullable(Of Double), yCoordinate As Nullable(Of Double), spatialReferenceId As Nullable(Of Integer)) As DbGeometry

매개 변수

xCoordinate
Nullable<Double>

만드는 점의 X 좌표입니다.

yCoordinate
Nullable<Double>

만드는 점의 Y 좌표

spatialReferenceId
Nullable<Int32>

지리 인스턴스의 SRID입니다.

반환

생성된 기하 도형 인스턴스입니다.

특성

적용 대상