Bewerken

Share via


DbSpatialServices.Crosses(DbGeometry, DbGeometry) Method

Definition

Determines whether the two given DbGeometry values spatially cross.

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

Parameters

geometryValue
DbGeometry

The first geometry value.

otherGeometry
DbGeometry

The second geometry value.

Returns

true if geometryValue crosses otherGeometry; otherwise false.

Exceptions

geometryValue otherGeometry

geometryValue otherGeometry

Applies to