Share via


DbSpatialServices.Intersection Método

Definición

Calcula la intersección de los dos valores.

Sobrecargas

Intersection(DbGeometry, DbGeometry)

Calcula la intersección de los dos valores DbGeometry.

Intersection(DbGeography, DbGeography)

Calcula la intersección de los dos valores DbGeography.

Intersection(DbGeometry, DbGeometry)

Calcula la intersección de los dos valores DbGeometry.

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

Parámetros

geometryValue
DbGeometry

Primer valor de geometría.

otherGeometry
DbGeometry

Segundo valor de geometría.

Devoluciones

Un nuevo valor de DbGeometry que representa la intersección de geometryValue y de otherGeometry.

Excepciones

geometryValue otherGeometry

geometryValue otherGeometry

Se aplica a

Intersection(DbGeography, DbGeography)

Calcula la intersección de los dos valores DbGeography.

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

Parámetros

geographyValue
DbGeography

Primer valor de geografía.

otherGeography
DbGeography

Segundo valor de geografía.

Devoluciones

Un nuevo valor de DbGeography que representa la intersección de geographyValue y de otherGeography.

Excepciones

geographyValue otherGeography

geographyValue otherGeography

Se aplica a