Поделиться через


DbSpatialServices.Intersection Метод

Определение

Перегрузки

Intersection(DbGeometry, DbGeometry)

Вычисляет пересечение двух значений DbGeometry.

Intersection(DbGeography, DbGeography)

Вычисляет пересечение двух значений DbGeography.

Intersection(DbGeometry, DbGeometry)

Вычисляет пересечение двух значений DbGeometry.

public abstract System.Data.Entity.Spatial.DbGeometry Intersection(System.Data.Entity.Spatial.DbGeometry geometryValue, System.Data.Entity.Spatial.DbGeometry otherGeometry);
abstract member Intersection : System.Data.Entity.Spatial.DbGeometry * System.Data.Entity.Spatial.DbGeometry -> System.Data.Entity.Spatial.DbGeometry
Public MustOverride Function Intersection (geometryValue As DbGeometry, otherGeometry As DbGeometry) As DbGeometry

Параметры

geometryValue
DbGeometry

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

otherGeometry
DbGeometry

Второе геометрическое значение.

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

Новое DbGeometry значение, представляющее пересечение geometryValue и otherGeometry.

Исключения

geometryValue илиПараметр otherGeometry имеет значение null.

geometryValue или otherGeometry несовместим с этой реализацией пространственных служб.

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

Intersection(DbGeography, DbGeography)

Вычисляет пересечение двух значений DbGeography.

public abstract System.Data.Entity.Spatial.DbGeography Intersection(System.Data.Entity.Spatial.DbGeography geographyValue, System.Data.Entity.Spatial.DbGeography otherGeography);
abstract member Intersection : System.Data.Entity.Spatial.DbGeography * System.Data.Entity.Spatial.DbGeography -> System.Data.Entity.Spatial.DbGeography
Public MustOverride Function Intersection (geographyValue As DbGeography, otherGeography As DbGeography) As DbGeography

Параметры

geographyValue
DbGeography

Первое географическое значение.

otherGeography
DbGeography

Второе географическое значение.

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

Новое DbGeography значение, представляющее пересечение geographyValue и otherGeography.

Исключения

geographyValue илиПараметр otherGeography имеет значение null.

geographyValue или otherGeography несовместим с этой реализацией пространственных служб.

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