DbSpatialServices.Intersects Metod

Definition

Avgör om de två angivna värdena ska korsas rumsligt.

Överlagringar

Name Description
Intersects(DbGeography, DbGeography)

Avgör om de två angivna DbGeography värdena ska korsas rumsligt.

Intersects(DbGeometry, DbGeometry)

Avgör om de två angivna DbGeometry värdena ska korsas rumsligt.

Intersects(DbGeography, DbGeography)

Avgör om de två angivna DbGeography värdena ska korsas rumsligt.

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

Parametrar

geographyValue
DbGeography

Det första geografivärdet som ska jämföras för skärningspunkt.

otherGeography
DbGeography

Det andra geografivärdet som ska jämföras för skärningspunkt.

Returer

true om geographyValue intersects otherGeography; annars false.

Undantag

geographyValue otherGeography

geographyValue otherGeography

Gäller för

Intersects(DbGeometry, DbGeometry)

Avgör om de två angivna DbGeometry värdena ska korsas rumsligt.

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

Parametrar

geometryValue
DbGeometry

Det första geometrivärdet som ska jämföras för skärningspunkten.

otherGeometry
DbGeometry

Det andra geometrivärdet som ska jämföras för skärningspunkten.

Returer

true om geometryValue intersects otherGeometry; annars false.

Undantag

geometryValue otherGeometry

geometryValue otherGeometry

Gäller för