Edit

Share via


DbSpatialServices.Disjoint Method

Definition

Determines whether the two given values are spatially disjoint.

Overloads

Disjoint(DbGeography, DbGeography)

Determines whether the two given DbGeography values are spatially disjoint.

Disjoint(DbGeometry, DbGeometry)

Determines whether the two given DbGeometry values are spatially disjoint.

Disjoint(DbGeography, DbGeography)

Determines whether the two given DbGeography values are spatially disjoint.

public:
 abstract bool Disjoint(System::Data::Spatial::DbGeography ^ geographyValue, System::Data::Spatial::DbGeography ^ otherGeography);
public abstract bool Disjoint (System.Data.Spatial.DbGeography geographyValue, System.Data.Spatial.DbGeography otherGeography);
abstract member Disjoint : System.Data.Spatial.DbGeography * System.Data.Spatial.DbGeography -> bool
Public MustOverride Function Disjoint (geographyValue As DbGeography, otherGeography As DbGeography) As Boolean

Parameters

geographyValue
DbGeography

The first geography value to compare for disjointedness.

otherGeography
DbGeography

The second geography value to compare for disjointedness.

Returns

true if geographyValue is disjoint from otherGeography; otherwise false.

Exceptions

geographyValue otherGeography

geographyValue otherGeography

Applies to

Disjoint(DbGeometry, DbGeometry)

Determines whether the two given DbGeometry values are spatially disjoint.

public:
 abstract bool Disjoint(System::Data::Spatial::DbGeometry ^ geometryValue, System::Data::Spatial::DbGeometry ^ otherGeometry);
public abstract bool Disjoint (System.Data.Spatial.DbGeometry geometryValue, System.Data.Spatial.DbGeometry otherGeometry);
abstract member Disjoint : System.Data.Spatial.DbGeometry * System.Data.Spatial.DbGeometry -> bool
Public MustOverride Function Disjoint (geometryValue As DbGeometry, otherGeometry As DbGeometry) As Boolean

Parameters

geometryValue
DbGeometry

The first geometry value to compare for disjointedness.

otherGeometry
DbGeometry

The second geometry value to compare for disjointedness.

Returns

true if geometryValue is disjoint from otherGeometry; otherwise false.

Exceptions

geometryValue otherGeometry

geometryValue otherGeometry

Applies to