[][src]Function spatialite_sys::gaiaFromSpatiaLiteBlobMbr

pub unsafe extern "C" fn gaiaFromSpatiaLiteBlobMbr(
    blob: *const c_uchar,
    size: c_uint
) -> gaiaGeomCollPtr

Creates a Geometry object corresponding to the Envelope [MBR] for a BLOB-Geometry

\param blob pointer to BLOB-Geometry \param size the BLOB's size (in bytes)

\return the pointer to the newly created Geometry object: NULL on failure

\sa gaiaFreeGeomColl

\note you are responsible to destroy (before or after) any allocated Geometry, unless you've passed ownership of the Geometry object to some further object: in this case destroying the higher order object will implicitly destroy any contained child object.