PostGIS  2.4.9dev-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.

References do_x3d3_test().

Referenced by out_x3d_suite_setup().

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)",
81  "1e+300 -0 4e+300",
82  NULL, 0, 0);
83 }
static void do_x3d3_test(char *in, char *out, char *srs, int precision, int option)
Definition: cu_out_x3d.c:20
Here is the call graph for this function:
Here is the caller graph for this function: