语言

SqlGeometry.STCrosses(SqlGeometry) 方法

定义

确定调用 SqlGeometry 实例是否跨越指定的 SqlGeometry 实例。

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

参数

other
SqlGeometry

要 SqlGeometry 与调用的 STCrosses(SqlGeometry) 实例进行比较的实例。

返回

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

属性

适用于