[][src]Function spatialite_sys::gaiaEwkbGetPoint

pub unsafe extern "C" fn gaiaEwkbGetPoint(
    geom: gaiaGeomCollPtr,
    blob: *mut c_uchar,
    offset: c_int,
    blob_size: c_int,
    endian: c_int,
    endian_arch: c_int,
    dims: c_int
) -> c_int

Attempts to decode a Point from within an EWKB binary buffer

\param geom pointer to an existing Geometry object; if succesfull the parsed Point will be inserted into this Geometry \param blob pointer to EWKB input buffer \param offset the offset (in bytes) on the input buffer where the Point definition is expected to start. \param blob_size lenght (in bytes) of the input buffer. \param endian (boolean) states if the EWKB input buffer is little- or big-endian encode. \param endian_arch (boolean) states if the target CPU has a little- or big-endian architecture. \param dims dimensions: one of GAIA_XY, GAIA_XY_Z, GAIA_XY_M or GAIA_XY_Z_M

\return -1 on failure; otherwise the offset where the next object starts.

\sa gaiaEwkbGetLinestring, gaiaEwkbGetPolygon, gaiaEwkbGetMultiGeometry

\note these functions are mainly intended for internal usage.