SqlSpatialServices.GetCentroid(DbGeometry) Metodo

Definizione

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

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

Parametri

geometryValue
DbGeometry

Il valore geometrico, che non deve rappresentare una superficie.

Restituisce

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

Si applica a