Share via


SqlSpatialServices.Crosses(DbGeometry, DbGeometry) Method

Definition

Determines whether the two given DbGeometry values spatially cross.

public override bool Crosses (System.Data.Entity.Spatial.DbGeometry geometryValue, System.Data.Entity.Spatial.DbGeometry otherGeometry);
override this.Crosses : System.Data.Entity.Spatial.DbGeometry * System.Data.Entity.Spatial.DbGeometry -> bool
Public Overrides 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.

Applies to