DbGeometry.Overlaps Method (DbGeometry)

 

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

Namespace:   System.Data.Entity.Spatial
Assembly:  EntityFramework (in EntityFramework.dll)

public bool Overlaps(
	DbGeometry other
)

Parameters

other
Type: System.Data.Entity.Spatial.DbGeometry

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

Return Value

Type: System.Boolean

true if this geometry value overlaps other; otherwise, false.

Exception Condition
ArgumentNullException

other is null.