[][src]Function spatialite_sys::gaiaAllocRingXYZ

pub unsafe extern "C" fn gaiaAllocRingXYZ(vert: c_int) -> gaiaRingPtr

Allocates a 3D RING [XYZ]

\param vert number of points [aka vertices] into the Ring

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

\sa gaiaFreeRing, gaiaRingSetPoint, gaiaRingGetPoint, gaiaSetPointXYZ, gaiaGetPointXYZ

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