語言

DbGeometry.Crosses(DbGeometry) 方法

定義

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

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

參數

other
DbGeometry

應該比較的幾何值與此幾何值。

傳回

若其他數值跨越此幾何值則為真;否則為假。

例外狀況

適用於