DbSpatialServices.Crosses(DbGeometry, DbGeometry) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
判斷兩個給定 DbGeometry 值在空間上是否相交。
public:
abstract bool Crosses(System::Data::Spatial::DbGeometry ^ geometryValue, System::Data::Spatial::DbGeometry ^ otherGeometry);
public abstract bool Crosses(System.Data.Spatial.DbGeometry geometryValue, System.Data.Spatial.DbGeometry otherGeometry);
abstract member Crosses : System.Data.Spatial.DbGeometry * System.Data.Spatial.DbGeometry -> bool
Public MustOverride Function Crosses (geometryValue As DbGeometry, otherGeometry As DbGeometry) As Boolean
參數
- geometryValue
- DbGeometry
第一個幾何值。
- otherGeometry
- DbGeometry
第二個幾何值。
傳回
true 若 geometryValue 相 otherGeometry交;否則 false。
例外狀況
geometryValue
otherGeometry
geometryValue
otherGeometry