DbSpatialServices.Intersection 方法

定义

计算两个值的交集。

重载

Intersection(DbGeometry, DbGeometry)

计算两个 DbGeometry 值的交集。

Intersection(DbGeography, DbGeography)

计算两个 DbGeography 值的交集。

Intersection(DbGeometry, DbGeometry)

计算两个 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

参数

geometryValue
DbGeometry

第一个几何图形值。

otherGeometry
DbGeometry

第二个几何图形值。

返回

一个新的 DbGeometry 值,它表示 geometryValueotherGeometry 的交集。

例外

geometryValue otherGeometry

geometryValue otherGeometry

适用于

Intersection(DbGeography, DbGeography)

计算两个 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

参数

geographyValue
DbGeography

第一个地理值。

otherGeography
DbGeography

第二个地理值。

返回

一个新的 DbGeography 值,它表示 geographyValueotherGeography 的交集。

例外

geographyValue otherGeography

geographyValue otherGeography

适用于