SqlGeometry.Point(Double, Double, Int32) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
构造一个 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 坐标系上的点的实例。
- 属性