Definition at line 80 of file lwpoly.c.
82{
85
91
93
94 return lwpoly;
95}
POINTARRAY * ptarray_construct_empty(char hasz, char hasm, uint32_t maxpoints)
Create a new POINTARRAY with no points.
int ptarray_append_point(POINTARRAY *pa, const POINT4D *pt, int allow_duplicates)
Append a point to the end of an existing POINTARRAY If allow_duplicate is LW_FALSE,...
#define LW_TRUE
Return types for functions with status returns.
#define SRID_UNKNOWN
Unknown SRID value.
int lwpoly_add_ring(LWPOLY *poly, POINTARRAY *pa)
Add a ring to a polygon.
LWPOLY * lwpoly_construct_empty(int32_t srid, char hasz, char hasm)
References LW_TRUE, lwpoly_add_ring(), lwpoly_construct_empty(), ptarray_append_point(), ptarray_construct_empty(), and SRID_UNKNOWN.
Referenced by BOX2D_to_LWGEOM(), BOX3D_to_LWGEOM(), LWGEOM_expand(), and lwpoly_construct_envelope().