DbGeometry.Relate(DbGeometry, String) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
判斷此 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