Compartilhar via


DbSpatialServices.Crosses(DbGeometry, DbGeometry) Método

Definição

Determina se os dois dados DbGeometry valores se cruzam espacialmente.

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

Parâmetros

geometryValue
DbGeometry

O primeiro valor de geometria.

otherGeometry
DbGeometry

O segundo valor de geometria.

Retornos

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

Exceções

geometryValue otherGeometry

geometryValue otherGeometry

Aplica-se a