Function gaiaExtractPointsFromGeomColl

Source
pub unsafe extern "C" fn gaiaExtractPointsFromGeomColl(
    geom: gaiaGeomCollPtr,
) -> gaiaGeomCollPtr
Expand description

Extracts any Point from a Geometry object

\param geom pointer to Geometry object

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

\sa gaiaExtractLinestringsFromGeomColl, gaiaExtractPolygonsFromGeomColl, gaiaCloneGeomColl

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