PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ out_x3d3_test_precision()

static void out_x3d3_test_precision ( void  )
static

Definition at line 58 of file cu_out_x3d.c.

59 {
60  /* 0 precision, i.e a round */
62  "POINT(1.1111111111111 1.1111111111111 2.11111111111111)",
63  "1 1 2",
64  NULL, 0, 0);
65 
66  /* 3 digits precision */
68  "POINT(1.1111111111111 1.1111111111111 2.11111111111111)",
69  "1.111 1.111 2.111",
70  NULL, 3, 0);
71 
72  /* 9 digits precision */
74  "POINT(1.2345678901234 1.2345678901234 4.123456789001)",
75  "1.23456789 1.23456789 4.123456789",
76  NULL, 9, 0);
77 
78  /* huge data */
80  "POINT(1E300 -105E-153 4E300)", "1e+300 0 4e+300", NULL, 0, 0);
81 }
static void do_x3d3_test(char *in, char *out, char *srs, int precision, int option)
Definition: cu_out_x3d.c:20

References do_x3d3_test().

Referenced by out_x3d_suite_setup().

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