DbSpatialServices.Intersects Метод

Определение

Определяет, пересекаются ли два заданных значения в пространстве.

Перегрузки

Имя Описание
Intersects(DbGeography, DbGeography)

Определяет, пересекаются ли два заданных DbGeography значения в пространстве.

Intersects(DbGeometry, DbGeometry)

Определяет, пересекаются ли два заданных DbGeometry значения в пространстве.

Intersects(DbGeography, DbGeography)

Определяет, пересекаются ли два заданных DbGeography значения в пространстве.

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

Параметры

geographyValue
DbGeography

Первое географическое значение для сравнения для пересечения.

otherGeography
DbGeography

Второе значение географического региона для сравнения для пересечения.

Возвращаемое значение

true Значение , если geographyValue пересекается otherGeography; в противном случае false.

Исключения

geographyValue otherGeography

geographyValue otherGeography

Применяется к

Intersects(DbGeometry, DbGeometry)

Определяет, пересекаются ли два заданных DbGeometry значения в пространстве.

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

Параметры

geometryValue
DbGeometry

Первое геометрическое значение для сравнения для пересечения.

otherGeometry
DbGeometry

Второе геометрическое значение для сравнения для пересечения.

Возвращаемое значение

true Значение , если geometryValue пересекается otherGeometry; в противном случае false.

Исключения

geometryValue otherGeometry

geometryValue otherGeometry

Применяется к