[][src]Function spatialite_sys::gaiaExtractLinestringsFromGeomColl

pub unsafe extern "C" fn gaiaExtractLinestringsFromGeomColl(
    geom: gaiaGeomCollPtr
) -> gaiaGeomCollPtr

Extracts any Linestring from a Geometry object

\param geom pointer to Geometry object

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

\sa gaiaExtractPointsFromGeomColl, gaiaExtractPolygonsFromGeomColl, gaiaCloneGeomColl

\note you are responsible to destroy (before or after) any allocated Geometry, this including any Geometry created by gaiaExtractLinestringsFromGeomColl() \n the newly created Geometry will contain any Linestring contained into the input Geometry. \n if the input Geometry doesn't contains any Linestring, then NULL will be returned.