Variable test7

Variable Documentation

static const char test7[16][5] = {{1, 2, 5, 7, 1}, {3, 4, 5, 7, 3}, {4, 1, 6, 7, 4}, {4, 1, 5, 7, 0}, {2, 3, 5, 7, 2}, {1, 2, 6, 7, 5}, {2, 3, 6, 7, 6}, {3, 4, 6, 7, 7}, {-3, -4, -6, -7, 7}, {-2, -3, -6, -7, 6}, {-1, -2, -6, -7, 5}, {-2, -3, -5, -7, 2}, {-4, -1, -5, -7, 0}, {-4, -1, -6, -7, 4}, {-3, -4, -5, -7, 3}, {-1, -2, -5, -7, 1}}

test table for case 7 3 faces to test + eventually the interior When the tests on the 3 specified faces are positive :

  • if the test on the interior is positive : 5 first triangles

  • if the test on the interior is negative : 9 next triangles When the tests on the first and the second specified faces are positive : 9 next triangles When the tests on the first and the third specified faces are positive : 9 next triangles When the tests on the second and the third specified faces are positive : 9 next triangles When the test on the first specified face is positive : 5 next triangles When the test on the second specified face is positive : 5 next triangles When the test on the third specified face is positive : 5 next triangles When the tests on the 3 specified faces are negative : 3 last triangles The support edge for the interior test is marked as the 5th column.

For each of the case above, the specific triangulation of the edge intersection points is given. When a case is ambiguous, there is an auxiliary table that contains the face number to test and the tiling table contains the specific triangulations depending on the results A minus sign means to invert the result of the test.