Redigera

Dela via


DbSpatialServices.Overlaps(DbGeometry, DbGeometry) Method

Definition

Determines whether the two given DbGeometry values spatially overlap.

public:
 abstract bool Overlaps(System::Data::Spatial::DbGeometry ^ geometryValue, System::Data::Spatial::DbGeometry ^ otherGeometry);
public abstract bool Overlaps (System.Data.Spatial.DbGeometry geometryValue, System.Data.Spatial.DbGeometry otherGeometry);
abstract member Overlaps : System.Data.Spatial.DbGeometry * System.Data.Spatial.DbGeometry -> bool
Public MustOverride Function Overlaps (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 overlaps otherGeometry; otherwise false.

Exceptions

geometryValue otherGeometry

geometryValue otherGeometry

Applies to