[][src]Function spatialite_sys::gaiaBuildFilterMbr

pub unsafe extern "C" fn gaiaBuildFilterMbr(
    x1: f64,
    y1: f64,
    x2: f64,
    y2: f64,
    mode: c_int,
    result: *mut *mut c_uchar,
    size: *mut c_int
)

Creates a BLOB-FilterMBR

\param x1 first X coordinate. \param y1 first Y coordinate. \param x2 second X coordinate. \param y2 second Y coordinate. \param mode one of: GAIA_FILTER_MBR_WITHIN, GAIA_FILTER_MBR_CONTAINS, GAIA_FILTER_MBR_INTERSECTS, GAIA_FILTER_MBR_DECLARE \param result on completion will contain a pointer to newly created BLOB-FilterMBR \param size on completion this variabile will contain the BLOB's size (in bytes)

\sa gaiaParseFilterMbr

\note [XY] coords must define two extreme Points identifying a diagonal of the MBR [Envelope] \n no special order is required for coords: MAX / MIN values will be internally arranged as appropriate.

\remark internally used to implement Geometry Callback R*Tree filtering.