SqlSpatialServices.GetArea 方法

定义

重载

GetArea(DbGeography)

返回一个指示给定 DbGeography 值的区域可以为 null 的双精度值,如果该值不表示图面则可能为 null。

GetArea(DbGeometry)

返回一个指示给定 DbGeometry 值的区域可以为 null 的双精度值,如果该值不表示图面则可能为 null。

GetArea(DbGeography)

返回一个指示给定 DbGeography 值的区域可以为 null 的双精度值,如果该值不表示图面则可能为 null。

public override Nullable<double> GetArea(System.Data.Entity.Spatial.DbGeography geographyValue);
override this.GetArea : System.Data.Entity.Spatial.DbGeography -> Nullable<double>
Public Overrides Function GetArea (geographyValue As DbGeography) As Nullable(Of Double)

参数

geographyValue
DbGeography

不需要表示平面的地理值。

返回

指示给定的 DbGeography 值的区域可以为 null 的双精度值。

适用于

GetArea(DbGeometry)

返回一个指示给定 DbGeometry 值的区域可以为 null 的双精度值,如果该值不表示图面则可能为 null。

public override Nullable<double> GetArea(System.Data.Entity.Spatial.DbGeometry geometryValue);
override this.GetArea : System.Data.Entity.Spatial.DbGeometry -> Nullable<double>
Public Overrides Function GetArea (geometryValue As DbGeometry) As Nullable(Of Double)

参数

geometryValue
DbGeometry

不需要表示平面的几何图形值。

返回

指示给定的 DbGeometry 值的区域可以为 null 的双精度值。

适用于