語言

SqlSpatialServices.Intersects 方法

定義

多載

名稱 Description
Intersects(DbGeography, DbGeography)

判斷兩個給定 DbGeography 值是否在空間上相交。

Intersects(DbGeometry, DbGeometry)

判斷兩個給定 DbGeometry 值是否在空間上相交。

Intersects(DbGeography, DbGeography)

判斷兩個給定 DbGeography 值是否在空間上相交。

public override bool Intersects(System.Data.Entity.Spatial.DbGeography geographyValue, System.Data.Entity.Spatial.DbGeography otherGeography);
override this.Intersects : System.Data.Entity.Spatial.DbGeography * System.Data.Entity.Spatial.DbGeography -> bool
Public Overrides Function Intersects (geographyValue As DbGeography, otherGeography As DbGeography) As Boolean

參數

geographyValue
DbGeography

第一個比較交叉點的地理值。

otherGeography
DbGeography

第二個地理價值比較以取得交叉點。

傳回

若 geoographyValue 與其他地理相交則為真;否則為假。

適用於

Intersects(DbGeometry, DbGeometry)

判斷兩個給定 DbGeometry 值是否在空間上相交。

public override bool Intersects(System.Data.Entity.Spatial.DbGeometry geometryValue, System.Data.Entity.Spatial.DbGeometry otherGeometry);
override this.Intersects : System.Data.Entity.Spatial.DbGeometry * System.Data.Entity.Spatial.DbGeometry -> bool
Public Overrides Function Intersects (geometryValue As DbGeometry, otherGeometry As DbGeometry) As Boolean

參數

geometryValue
DbGeometry

第一個比較幾何數值以取得交點。

otherGeometry
DbGeometry

第二個幾何數值比較以求交點。

傳回

若 geometryValue 與其他幾何相交,則為真;否則為假。

適用於