PostGIS
2.5.7dev-r@@SVN_REVISION@@
|
int lwcurvepoly_add_ring | ( | LWCURVEPOLY * | poly, |
LWGEOM * | ring | ||
) |
Add a ring, allocating extra space if necessary.
The curvepolygon takes ownership of the passed point array.
Definition at line 72 of file lwcurvepoly.c.
References CIRCSTRINGTYPE, COMPOUNDTYPE, LINETYPE, LW_FAILURE, LW_SUCCESS, lwalloc(), LWDEBUG, LWDEBUGF, lwerror(), lwrealloc(), lwtype_name(), LWCURVEPOLY::maxrings, LWCURVEPOLY::nrings, LWCURVEPOLY::rings, and LWGEOM::type.
Referenced by lwcurvepoly_from_wkb_state(), and wkt_parser_curvepolygon_add_ring().