PostGIS 3.7.0dev-r@@SVN_REVISION@@
Loading...
Searching...
No Matches

◆ lwcircstring_construct_empty()

LWCIRCSTRING * lwcircstring_construct_empty ( int32_t  srid,
char  hasz,
char  hasm 
)
extern

Definition at line 78 of file lwcircstring.c.

79{
81 result->type = CIRCSTRINGTYPE;
82 result->flags = lwflags(hasz,hasm,0);
83 result->srid = srid;
84 result->points = ptarray_construct_empty(hasz, hasm, 1);
85 result->bbox = NULL;
86 return result;
87}
char result[OUT_DOUBLE_BUFFER_SIZE]
Definition cu_print.c:267
POINTARRAY * ptarray_construct_empty(char hasz, char hasm, uint32_t maxpoints)
Create a new POINTARRAY with no points.
Definition ptarray.c:59
void * lwalloc(size_t size)
Definition lwutil.c:227
#define CIRCSTRINGTYPE
Definition liblwgeom.h:109
lwflags_t lwflags(int hasz, int hasm, int geodetic)
Construct a new flags bitmask.
Definition lwutil.c:477

References CIRCSTRINGTYPE, lwalloc(), lwflags(), ptarray_construct_empty(), and result.

Referenced by lwcircstring_from_wkb_state(), lwgeom_construct_empty(), and wkt_parser_circularstring_new().

Here is the call graph for this function:
Here is the caller graph for this function: