geos.GEOSGetCentroid ⇒ GEOSGeometry ⏏
Returns a point at the center of mass of the input.
Kind: global property of geos
Returns: GEOSGeometry - A point at the center of mass of the input Caller is responsible for freeing with GEOSGeom_destroy().
| Param | Type | Description |
|---|---|---|
| g | GEOSGeometry | The input geometry |
geos.GEOSGetCentroid_r ⇒ GEOSGeometry ⏏
Returns a point at the center of mass of the input.
Kind: global property of geos
Returns: GEOSGeometry - A point at the center of mass of the input Caller is responsible for freeing with GEOSGeom_destroy().
| Param | Type | Description |
|---|---|---|
| handle | GEOSContextHandle_t | - |
| g | GEOSGeometry | The input geometry |