DbGeometry.Intersects(DbGeometry) 方法

定義

判斷此 DbGeometry 值是否與指定的 DbGeometry 參數空間相交。

public:
 bool Intersects(System::Data::Spatial::DbGeometry ^ other);
public bool Intersects(System.Data.Spatial.DbGeometry other);
member this.Intersects : System.Data.Spatial.DbGeometry -> bool
Public Function Intersects (other As DbGeometry) As Boolean

參數

other
DbGeometry

應該比較的幾何值與這個幾何值用於交集。

傳回

true 若與 other 此幾何值相交;否則 false

例外狀況

適用於