Definition at line 37 of file cu_chaikin.c.
40 do_test_chaikin(
"LINESTRING(0 0,8 8,16 0)",
"LINESTRING(0 0,6 6,10 6,16 0)", 1, 1);
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);
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);
static void do_test_chaikin(char *geom_txt, char *expected, int n_iterations, int preserve_end_points)
References do_test_chaikin().
Referenced by chaikin_suite_setup().