DbSpatialServices.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:
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
Parameters
- geometryValue
- DbGeometry
The geometry value, which need not represent a surface.
Returns
The centroid of geometryValue
, if it represents a surface; otherwise null
.
Exceptions
geometryValue
geometryValue
Applies to
Samarbeid med oss på GitHub
Du finner kilden for dette innholdet på GitHub. Der du også kan opprette og se gjennom problemer og pull-forespørsler. Hvis du vil ha mer informasjon, kan du se vår bidragsyterveiledning.