[][src]Function spatialite_sys::gaiaCreateDynamicLine

pub unsafe extern "C" fn gaiaCreateDynamicLine(
    coords: *mut f64,
    points: c_int
) -> gaiaDynamicLinePtr

Creates a new dynamicly growing line/ring object

\param coords an array of COORDs, any dimension [XY, XYZ, XYM, XYZM] \param points number of points [aka vertices] into the array

\return the pointer to newly created object

\sa gaiaAllocDynamicLine, gaiaFreeDynamicLine, gaiaLinestringStruct, gaiaRingStruct

\note you are responsible to destroy (before or after) any allocated dynamically growing line/ring object. \n The COORDs array is usually expected to be one found within a gaiaLinestring or gaiaRing object.