语言

SqlGeometry.STRelate(SqlGeometry, String) 方法

定义

确定调用是否与指定的SqlGeometry调用SqlGeometry相关。

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

参数

other
SqlGeometry

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

intersectionPatternMatrix
String

一个指定交集模型的字符串。 此字符串必须包含两 SqlGeometry 个实例之间的 DE-9IM 模式矩阵设备的可接受值。

返回

如果实例与另一SqlGeometry个SqlGeometry实例相关,则返回 true,其中关系由维度扩展的 9 交集模型 (DE-9IM) 模式矩阵值定义;否则返回 false。

属性

适用于