SqlSpatialServices.GetCentroid(DbGeometry) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a DbGeometry value that represents the centroid of the given DbGeometry value, which may be null if the value does not represent a surface.
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
Parameters
- geometryValue
- DbGeometry
The geometry value, which need not represent a surface.
Returns
The centroid of geometryValue, if it represents a surface; otherwise null.
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Entity Framework