语言

SqlGeometry.STIntersects(SqlGeometry) 方法

定义

确定调用 SqlGeometry 实例是否与另一个 SqlGeometry实例相交。

[Microsoft.SqlServer.Server.SqlMethod(IsDeterministic=true, IsPrecise=false)]
public System.Data.SqlTypes.SqlBoolean STIntersects(Microsoft.SqlServer.Types.SqlGeometry other);
[<Microsoft.SqlServer.Server.SqlMethod(IsDeterministic=true, IsPrecise=false)>]
member this.STIntersects : Microsoft.SqlServer.Types.SqlGeometry -> System.Data.SqlTypes.SqlBoolean
Public Function STIntersects (other As SqlGeometry) As SqlBoolean

参数

other
SqlGeometry

要与调用的STIntersects(SqlGeometry)实例进行比较的另一个SqlGeometry实例。

返回

如果实例与另一个 SqlGeometry 几何图形实例相交,则返回 true。 如果未返回 false,则返回 false。

属性

适用于