Compartilhar via


DbSpatialServices.Intersects Método

Definição

Determina se os dois valores fornecidos se interseccionam espacialmente.

Sobrecargas

Intersects(DbGeography, DbGeography)

Determina se os dois valores DbGeography fornecidos se interseccionam espacialmente.

Intersects(DbGeometry, DbGeometry)

Determina se os dois valores DbGeometry fornecidos se interseccionam espacialmente.

Intersects(DbGeography, DbGeography)

Determina se os dois valores DbGeography fornecidos se interseccionam espacialmente.

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

Parâmetros

geographyValue
DbGeography

O primeiro valor de geografia a ser comparado quanto à interseção.

otherGeography
DbGeography

O segundo valor de geografia a ser comparado quanto à interseção.

Retornos

true se geographyValue intersecciona otherGeography; caso contrário, false.

Exceções

geographyValue otherGeography

geographyValue otherGeography

Aplica-se a

Intersects(DbGeometry, DbGeometry)

Determina se os dois valores DbGeometry fornecidos se interseccionam espacialmente.

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

Parâmetros

geometryValue
DbGeometry

O primeiro valor de geometria a ser comparado quanto à interseção.

otherGeometry
DbGeometry

O segundo valor de geometria a ser comparado quanto à interseção.

Retornos

true se geometryValue intersecciona otherGeometry; caso contrário, false.

Exceções

geometryValue otherGeometry

geometryValue otherGeometry

Aplica-se a