[][src]Function spatialite_sys::gaiaSplit

pub unsafe extern "C" fn gaiaSplit(
    input: gaiaGeomCollPtr,
    blade: gaiaGeomCollPtr
) -> gaiaGeomCollPtr

Utility function: Split

\param input the input Geometry object. \param blade the blade Geometry object.

\return the pointer to newly created Geometry object: NULL on failure. \n The function supports splitting a line by point, a line by line, a polygon by line.

\sa gaiaFreeGeomColl, gaiaSplitLeft, gaiaSplitRight

\note you are responsible to destroy (before or after) any allocated Geometry, this including any Geometry returned by gaiaSplit()

\note gaiaSplit will return both the \b left and the \b right split halves at the same time.

\remark \b LWGEOM support required.