PostGIS
2.4.9dev-r@@SVN_REVISION@@
|
int lwcompound_add_lwgeom | ( | LWCOMPOUND * | comp, |
LWGEOM * | geom | ||
) |
Add a component, allocating extra space if necessary.
The compoundcurve takes owership of the passed geometry.
Definition at line 88 of file lwcompound.c.
References FP_EQUALS, LWCOLLECTION::geoms, getPoint4d_p(), LW_FAILURE, LW_SUCCESS, lwcollection_add_lwgeom(), LWDEBUG, LWDEBUGF, lwgeom_is_empty(), POINT4D::m, LWCOLLECTION::ngeoms, POINTARRAY::npoints, LWLINE::points, POINT4D::x, POINT4D::y, and POINT4D::z.
Referenced by lwcompound_construct_from_lwline(), and wkt_parser_compound_add_geom().