Intersects Method (DbGeometry, DbGeometry)
Collapse the table of content
Expand the table of content

DbSpatialServices.Intersects Method (DbGeometry, DbGeometry)

.NET Framework (current version)
 

Determines whether the two given DbGeometry values spatially intersect.

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

public abstract bool Intersects(
	DbGeometry geometryValue,
	DbGeometry otherGeometry
)

Parameters

geometryValue
Type: System.Data.Spatial.DbGeometry

The first geometry value to compare for intersection.

otherGeometry
Type: System.Data.Spatial.DbGeometry

The second geometry value to compare for intersection.

Return Value

Type: System.Boolean

true if geometryValue intersects otherGeometry; otherwise false.

Exception Condition
ArgumentNullException

geometryValueotherGeometry

ArgumentException

geometryValueotherGeometry

.NET Framework
Available since 4.5
Return to top
Show:
© 2016 Microsoft