Condividi tramite


DbSpatialServices.Intersects Metodo

Definizione

Determina se i due valori specificati si intersecano dal punto di vista spaziale.

Overload

Intersects(DbGeography, DbGeography)

Determina se i due valori DbGeography specificati si intersecano dal punto di vista spaziale.

Intersects(DbGeometry, DbGeometry)

Determina se i due valori DbGeometry specificati si intersecano dal punto di vista spaziale.

Intersects(DbGeography, DbGeography)

Determina se i due valori DbGeography specificati si intersecano dal punto di vista spaziale.

public:
 abstract bool Intersects(System::Data::Spatial::DbGeography ^ geographyValue, System::Data::Spatial::DbGeography ^ otherGeography);
public abstract bool Intersects (System.Data.Spatial.DbGeography geographyValue, System.Data.Spatial.DbGeography otherGeography);
abstract member Intersects : System.Data.Spatial.DbGeography * System.Data.Spatial.DbGeography -> bool
Public MustOverride Function Intersects (geographyValue As DbGeography, otherGeography As DbGeography) As Boolean

Parametri

geographyValue
DbGeography

Primo valore geografico da confrontare per l'intersezione.

otherGeography
DbGeography

Secondo valore geografico da confrontare per verificare l'intersezione.

Restituisce

true se geographyValue interseca otherGeography; in caso contrario, false.

Eccezioni

geographyValue otherGeography

geographyValue otherGeography

Si applica a

Intersects(DbGeometry, DbGeometry)

Determina se i due valori DbGeometry specificati si intersecano dal punto di vista spaziale.

public:
 abstract bool Intersects(System::Data::Spatial::DbGeometry ^ geometryValue, System::Data::Spatial::DbGeometry ^ otherGeometry);
public abstract bool Intersects (System.Data.Spatial.DbGeometry geometryValue, System.Data.Spatial.DbGeometry otherGeometry);
abstract member Intersects : System.Data.Spatial.DbGeometry * System.Data.Spatial.DbGeometry -> bool
Public MustOverride Function Intersects (geometryValue As DbGeometry, otherGeometry As DbGeometry) As Boolean

Parametri

geometryValue
DbGeometry

Primo valore geometrico da confrontare per l'intersezione.

otherGeometry
DbGeometry

Secondo valore geometrico da confrontare per verificare l'intersezione.

Restituisce

true se geometryValue interseca otherGeometry; in caso contrario, false.

Eccezioni

geometryValue otherGeometry

geometryValue otherGeometry

Si applica a