PostGIS  2.1.10dev-r@@SVN_REVISION@@
static void out_x3d3_test_precision ( void  )
static

Definition at line 59 of file cu_out_x3d.c.

References do_x3d3_test().

Referenced by out_x3d_suite_setup().

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

Here is the call graph for this function:

Here is the caller graph for this function: