Function gaiaAllocGeomColl

Source
pub unsafe extern "C" fn gaiaAllocGeomColl() -> gaiaGeomCollPtr
Expand description

Allocates a 2D Geometry [XY]

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

\sa gaiaFreeGeomColl

\note you are responsible to destroy (before or after) any allocated Geometry, unless you’ve passed ownership of the Geometry object to some further object: in this case destroying the higher order object will implicitly destroy any contained child object.