SqlSpatialServices.Intersects Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Intersects(DbGeography, DbGeography) |
Determines whether the two given DbGeography values spatially intersect. |
Intersects(DbGeometry, DbGeometry) |
Determines whether the two given DbGeometry values spatially intersect. |
Intersects(DbGeography, DbGeography)
Determines whether the two given DbGeography values spatially intersect.
public override bool Intersects (System.Data.Entity.Spatial.DbGeography geographyValue, System.Data.Entity.Spatial.DbGeography otherGeography);
override this.Intersects : System.Data.Entity.Spatial.DbGeography * System.Data.Entity.Spatial.DbGeography -> bool
Public Overrides Function Intersects (geographyValue As DbGeography, otherGeography As DbGeography) As Boolean
Parameters
- geographyValue
- DbGeography
The first geography value to compare for intersection.
- otherGeography
- DbGeography
The second geography value to compare for intersection.
Returns
true if geographyValue intersects otherGeography; otherwise false.
Applies to
Intersects(DbGeometry, DbGeometry)
Determines whether the two given DbGeometry values spatially intersect.
public override bool Intersects (System.Data.Entity.Spatial.DbGeometry geometryValue, System.Data.Entity.Spatial.DbGeometry otherGeometry);
override this.Intersects : System.Data.Entity.Spatial.DbGeometry * System.Data.Entity.Spatial.DbGeometry -> bool
Public Overrides Function Intersects (geometryValue As DbGeometry, otherGeometry As DbGeometry) As Boolean
Parameters
- geometryValue
- DbGeometry
The first geometry value to compare for intersection.
- otherGeometry
- DbGeometry
The second geometry value to compare for intersection.
Returns
true if geometryValue intersects otherGeometry; otherwise false.
Applies to
Entity Framework