Function gaiaAddLinestringToGeomColl

Source
pub unsafe extern "C" fn gaiaAddLinestringToGeomColl(
    p: gaiaGeomCollPtr,
    vert: c_int,
) -> gaiaLinestringPtr
Expand description

Creates a new Linestring object into a Geometry object

\param p pointer to the Geometry object. \param vert number of points [aka vertices] into the Linestring.

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

\note ownership of the newly created Linestring object belongs to the Geometry object. \n the newly created Linestring will have the same dimensions as the Geometry has.