DbSpatialServices.Crosses(DbGeometry, DbGeometry) 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.
Determines whether the two given DbGeometry values spatially cross.
public:
abstract bool Crosses(System::Data::Spatial::DbGeometry ^ geometryValue, System::Data::Spatial::DbGeometry ^ otherGeometry);
public abstract bool Crosses (System.Data.Spatial.DbGeometry geometryValue, System.Data.Spatial.DbGeometry otherGeometry);
abstract member Crosses : System.Data.Spatial.DbGeometry * System.Data.Spatial.DbGeometry -> bool
Public MustOverride Function Crosses (geometryValue As DbGeometry, otherGeometry As DbGeometry) As Boolean
Parameters
- geometryValue
- DbGeometry
The first geometry value.
- otherGeometry
- DbGeometry
The second geometry value.
Returns
true
if geometryValue
crosses otherGeometry
; otherwise false
.
Exceptions
geometryValue
otherGeometry
geometryValue
otherGeometry
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.