DbGeometry.Crosses(DbGeometry) Method

Definition

Determines whether this DbGeometry value spatially crosses the specified DbGeometry argument.

public:
 bool Crosses(System::Data::Spatial::DbGeometry ^ other);
public bool Crosses (System.Data.Spatial.DbGeometry other);
member this.Crosses : System.Data.Spatial.DbGeometry -> bool
Public Function Crosses (other As DbGeometry) As Boolean

Parameters

other
DbGeometry

The geometry value that should be compared with this geometry value.

Returns

true if other crosses this geometry value; otherwise false.

Exceptions

Applies to