PostGIS  3.4.0dev-r@@SVN_REVISION@@

◆ do_x3d3_test()

static void do_x3d3_test ( char *  in,
char *  out,
int  precision,
int  option 
)
static

Definition at line 20 of file cu_out_x3d.c.

21 {
23  lwvarlena_t *v = lwgeom_to_x3d3(g, precision, option, "");
24 
25  ASSERT_VARLENA_EQUAL(v, out);
26 
27  lwgeom_free(g);
28  lwfree(v);
29 }
static uint8_t precision
Definition: cu_in_twkb.c:25
#define ASSERT_VARLENA_EQUAL(v, s)
void lwgeom_free(LWGEOM *geom)
Definition: lwgeom.c:1155
#define LW_PARSER_CHECK_NONE
Definition: liblwgeom.h:2114
void lwfree(void *mem)
Definition: lwutil.c:242
LWGEOM * lwgeom_from_wkt(const char *wkt, const char check)
Definition: lwin_wkt.c:905
lwvarlena_t * lwgeom_to_x3d3(const LWGEOM *geom, int precision, int opts, const char *defid)
Definition: lwout_x3d.c:37

References ASSERT_VARLENA_EQUAL, LW_PARSER_CHECK_NONE, lwfree(), lwgeom_free(), lwgeom_from_wkt(), lwgeom_to_x3d3(), and precision.

Referenced by out_x3d3_test_geoms(), out_x3d3_test_option(), and out_x3d3_test_precision().

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