PostGIS  2.5.1dev-r@@SVN_REVISION@@

◆ init_cg_suite()

static int init_cg_suite ( void  )
static

Definition at line 38 of file cu_algorithm.c.

References lwline_construct(), ptarray_construct(), and SRID_UNKNOWN.

Referenced by algorithms_suite_setup().

39 {
40  pa21 = ptarray_construct(0, 0, 2);
41  pa22 = ptarray_construct(0, 0, 2);
44  return 0;
45 
46 }
POINTARRAY * ptarray_construct(char hasz, char hasm, uint32_t npoints)
Construct an empty pointarray, allocating storage and setting the npoints, but not filling in any inf...
Definition: ptarray.c:62
POINTARRAY * pa21
Definition: cu_algorithm.c:26
LWLINE * l22
Definition: cu_algorithm.c:29
LWLINE * l21
Definition: cu_algorithm.c:28
LWLINE * lwline_construct(int srid, GBOX *bbox, POINTARRAY *points)
Definition: lwline.c:42
#define SRID_UNKNOWN
Unknown SRID value.
Definition: liblwgeom.h:187
POINTARRAY * pa22
Definition: cu_algorithm.c:27
Here is the call graph for this function:
Here is the caller graph for this function: