DbSpatialServices.GetCentroid(DbGeometry) Método

Definição

Retorna um DbGeometry valor que representa o centroide do valor DbGeometry fornecido, 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 de geometria, que não precisa representar uma superfície.

Retornos

O centroide de geometryValue, se ele representa uma superfície; caso contrário null.

Exceções

geometryValue

geometryValue

Aplica-se a