DbGeometry.Intersects Method (DbGeometry)

 

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

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

public bool Intersects(
	DbGeometry other
)

Parameters

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

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

Return Value

Type: System.Boolean

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

Exception Condition
ArgumentNullException

other is null.