DbSpatialServices.GetCentroid(DbGeometry) Método

Definição

Devolve um DbGeometry valor que representa o centroide do valor dado de DbGeometria, que pode ser nulo se o valor não representar uma superfície.

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

Parâmetros

geometryValue
DbGeometry

O valor geométrico, que não precisa de representar uma superfície.

Devoluções

O centróide de geometryValue, se representa uma superfície; caso contrário null.

Exceções

geometryValue

geometryValue

Aplica-se a