共用方式為


DbGeometry.Intersects(DbGeometry) 方法

定義

判斷這個 DbGeometry 值是否在空間上與指定的 DbGeometry 引數有交集。

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

參數

other
DbGeometry

應該和這個幾何值針對交集做比較的幾何值。

傳回

如果其他與這個幾何值相交,則為 true;否則為 false。

例外狀況

適用於