共用方式為


SqlSpatialServices.Intersection 方法

定義

多載

Intersection(DbGeometry, DbGeometry)

計算兩個 DbGeometry 值的交集。

public override System.Data.Entity.Spatial.DbGeometry Intersection(System.Data.Entity.Spatial.DbGeometry geometryValue, System.Data.Entity.Spatial.DbGeometry otherGeometry);
override this.Intersection : System.Data.Entity.Spatial.DbGeometry * System.Data.Entity.Spatial.DbGeometry -> System.Data.Entity.Spatial.DbGeometry
Public Overrides Function Intersection (geometryValue As DbGeometry, otherGeometry As DbGeometry) As DbGeometry

參數

geometryValue
DbGeometry

第一個幾何值。

otherGeometry
DbGeometry

第二個幾何值。

傳回

表示 geometryValue 和其他Geometry 交集的新 DbGeometry 值。

適用於

Intersection(DbGeography, DbGeography)

計算兩個 DbGeography 值的交集。

public override System.Data.Entity.Spatial.DbGeography Intersection(System.Data.Entity.Spatial.DbGeography geographyValue, System.Data.Entity.Spatial.DbGeography otherGeography);
override this.Intersection : System.Data.Entity.Spatial.DbGeography * System.Data.Entity.Spatial.DbGeography -> System.Data.Entity.Spatial.DbGeography
Public Overrides Function Intersection (geographyValue As DbGeography, otherGeography As DbGeography) As DbGeography

參數

geographyValue
DbGeography

第一個地理位置值。

otherGeography
DbGeography

第二個地理位置值。

傳回

表示 geographyValue 和其他Geography 交集的新 DbGeography 值。

適用於