[][src]Function spatialite_sys::gaiaSegmentize

pub unsafe extern "C" fn gaiaSegmentize(
    geom: gaiaGeomCollPtr,
    dist: f64
) -> gaiaGeomCollPtr

Utility function: Segmentize

\param geom the input Geometry object. \param dist the meximum segment length.

\return the pointer to newly created Geometry object: NULL on failure. \n this function will return a modified geometry having no segment longer than the given distance. \n Distance computation is performed in 2d only. \n all Points or segments shorter than 'dist' will be returned without further intervention. \n NULL will be returned if the passed argument is invalid.

\sa gaiaFreeGeomColl

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

\remark \b LWGEOM support required.