[−][src]Function spatialite_sys::gaiaGeomCollCentroid_r
pub unsafe extern "C" fn gaiaGeomCollCentroid_r(
p_cache: *const c_void,
geom: gaiaGeomCollPtr,
x: *mut f64,
y: *mut f64
) -> c_int
Spatial operator: Centroid
\param p_cache a memory pointer returned by spatialite_alloc_connection() \param geom pointer to Geometry object. \param x on completion this variable will contain the centroid X coordinate \param y on completion this variable will contain the centroid Y coordinate
\return 0 on failure: any other value on success
\sa gaiaGeomCollCentroid, gaiaRingCentroid
\note reentrant and thread-safe.
\remark \b GEOS support required.