DbGeometry.Relate(DbGeometry, String) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
依據指定的維度延伸九交模型 (DE-9IM) 交集模式,判斷這個 DbGeometry 值是否在空間上與指定的 DbGeometry 引數有關聯。
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) 交集模式文字表示的字串。
傳回
如果依據指定的交集模式矩陣,這個幾何值和 other
相關,則為 true
,否則為 false
。
例外狀況
other
matrix
適用於
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應