SqlSpatialServices.Intersects Method

 

Determines whether the two given values spatially intersect.

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

NameDescription
System_CAPS_pubmethodIntersects(DbGeography, DbGeography)

Determines whether the two given DbGeography values spatially intersect.(Overrides DbSpatialServices.Intersects(DbGeography, DbGeography).)

System_CAPS_pubmethodIntersects(DbGeometry, DbGeometry)

Determines whether the two given DbGeometry values spatially intersect.(Overrides DbSpatialServices.Intersects(DbGeometry, DbGeometry).)


SqlSpatialServices.Intersects Method (DbGeography, DbGeography)

Determines whether the two given DbGeography values spatially intersect.

public override bool Intersects(
	DbGeography geographyValue,
	DbGeography otherGeography
)

Parameters

geographyValue
Type: System.Data.Entity.Spatial.DbGeography

The first geography value to compare for intersection.

otherGeography
Type: System.Data.Entity.Spatial.DbGeography

The second geography value to compare for intersection.

Return Value

Type: System.Boolean

true if geographyValue intersects otherGeography; otherwise, false.


SqlSpatialServices.Intersects Method (DbGeometry, DbGeometry)

Determines whether the two given DbGeometry values spatially intersect.

public override bool Intersects(
	DbGeometry geometryValue,
	DbGeometry otherGeometry
)

Parameters

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

The first geometry value to compare for intersection.

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

The second geometry value to compare for intersection.

Return Value

Type: System.Boolean

true if geometryValue intersects otherGeometry; otherwise, false.