Share via


DbGeometry.Crosses(DbGeometry) Method

Definition

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

public bool Crosses (System.Data.Entity.Spatial.DbGeometry other);
member this.Crosses : System.Data.Entity.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