Partage via


DbSpatialServices.Crosses(DbGeometry, DbGeometry) Méthode

Définition

Détermine si les deux valeurs DbGeometry données se croisent de façon spatiale.

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

Paramètres

geometryValue
DbGeometry

Première valeur géométrique.

otherGeometry
DbGeometry

Deuxième valeur géométrique.

Retours

true si geometryValue traverse otherGeometry ; sinon false.

Exceptions

geometryValue otherGeometry

geometryValue otherGeometry

S’applique à