共用方式為


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

第二個幾何值。

傳回

表示 geometryValueotherGeometry 之間交集的新 DbGeometry 值。

例外狀況

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

第二個地理位置值。

傳回

表示 geographyValueotherGeography 之間交集的新 DbGeography 值。

例外狀況

geographyValue otherGeography

geographyValue otherGeography

適用於