DbSpatialServices.GetCentroid(DbGeometry) Metodo

Definizione

Restituisce un DbGeometry valore che rappresenta il centro del valore DbGeometry specificato, che può essere Null se il valore non rappresenta una superficie.

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

Parametri

geometryValue
DbGeometry

Valore della geometria, che non deve rappresentare una superficie.

Valori restituiti

Centroide di geometryValue, se rappresenta una superficie; in caso contrario null, .

Eccezioni

geometryValue

geometryValue

Si applica a