语言

SqlGeometry.Point(Double, Double, Int32) 方法

定义

构造一个 SqlGeometry 实例,该实例代表其 X 和 Y 值和 SRID 中的点实例。

[Microsoft.SqlServer.Server.SqlMethod(IsDeterministic=true, IsPrecise=false)]
public static Microsoft.SqlServer.Types.SqlGeometry Point(double x, double y, int srid);
[<Microsoft.SqlServer.Server.SqlMethod(IsDeterministic=true, IsPrecise=false)>]
static member Point : double * double * int -> Microsoft.SqlServer.Types.SqlGeometry
Public Shared Function Point (x As Double, y As Double, srid As Integer) As SqlGeometry

参数

x
Double

一个双精度值,表示所生成的点的 X 坐标。

y
Double

一个双精度值,表示生成的点的 Y 坐标。

srid
Int32

一个 int 表达式,表示要返回的 SqlGeometry 实例的空间引用 ID(SRID)。

返回

一个 SqlGeometry 表示 Euclidian 坐标系上的点的实例。

属性

适用于