PostGIS  3.0.6dev-r@@SVN_REVISION@@

◆ do_test_chaikin_lines()

static void do_test_chaikin_lines ( void  )
static

Definition at line 37 of file cu_chaikin.c.

38 {
39  /*Simpliest test*/
40  do_test_chaikin("LINESTRING(0 0,8 8,16 0)","LINESTRING(0 0,6 6,10 6,16 0)", 1, 1);
41  /*2 iterations*/
42  do_test_chaikin("LINESTRING(0 0,8 8,16 0)","LINESTRING(0 0,4.5 4.5,7 6,9 6,11.5 4.5,16 0)", 2, 1);
43  /*check so it really ignores preserve_end_points set to off for linestrings*/
44  do_test_chaikin("LINESTRING(0 0,8 8,16 0)","LINESTRING(0 0,4.5 4.5,7 6,9 6,11.5 4.5,16 0)", 2, 0);
45  return;
46 }
static void do_test_chaikin(char *geom_txt, char *expected, int n_iterations, int preserve_end_points)
Definition: cu_chaikin.c:21

References do_test_chaikin().

Referenced by chaikin_suite_setup().

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