SqlSpatialServices.Intersects Method
Determines whether the two given values spatially intersect.
Assembly: EntityFramework.SqlServer (in EntityFramework.SqlServer.dll)
Name | Description | |
---|---|---|
![]() | Intersects(DbGeography, DbGeography) | Determines whether the two given DbGeography values spatially intersect.(Overrides DbSpatialServices.Intersects(DbGeography, DbGeography).) |
![]() | Intersects(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.
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.Booleantrue if geographyValue intersects otherGeography; otherwise, false.
SqlSpatialServices.Intersects Method (DbGeometry, DbGeometry)
Determines whether the two given DbGeometry values spatially intersect.
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.