Share via


DbSpatialServices.Disjoint Method

Definition

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.Entity.Spatial.DbGeography geographyValue, System.Data.Entity.Spatial.DbGeography otherGeography);
abstract member Disjoint : System.Data.Entity.Spatial.DbGeography * System.Data.Entity.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 disjointness.

otherGeography
DbGeography

The second geography value to compare for disjointness.

Returns

true if geographyValue is disjoint from otherGeography; otherwise false.

Exceptions

geographyValue or otherGeography is null.

geographyValue or otherGeography is not compatible with this spatial services implementation.

Applies to

Disjoint(DbGeometry, DbGeometry)

Determines whether the two given DbGeometry values are spatially disjoint.

public abstract bool Disjoint (System.Data.Entity.Spatial.DbGeometry geometryValue, System.Data.Entity.Spatial.DbGeometry otherGeometry);
abstract member Disjoint : System.Data.Entity.Spatial.DbGeometry * System.Data.Entity.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 disjointness.

otherGeometry
DbGeometry

The second geometry value to compare for disjointness.

Returns

true if geometryValue is disjoint from otherGeometry; otherwise false.

Exceptions

geometryValue or otherGeometry is null.

geometryValue or otherGeometry is not compatible with this spatial services implementation.

Applies to