DbGeometry.Relate(DbGeometry, String) 方法

定義

判斷此 DbGeometry 值是否與指定的 DbGeometry 參數空間相關,依據給定的維度擴展 Nine-Intersection 模型(DE-9IM)交叉模式。

public:
 bool Relate(System::Data::Spatial::DbGeometry ^ other, System::String ^ matrix);
public bool Relate(System.Data.Spatial.DbGeometry other, string matrix);
member this.Relate : System.Data.Spatial.DbGeometry * string -> bool
Public Function Relate (other As DbGeometry, matrix As String) As Boolean

參數

other
DbGeometry

應該將幾何值與此幾何值比較以取得關係。

matrix
String

包含定義關係的(DE-9IM)交集圖案的文字表示的字串。

傳回

true 若此幾何值依據指定的交叉圖案矩陣對應於 ; other 否則 false

例外狀況

other matrix

適用於