The following rarely happens, but I noticed when it turned out to be a problem for newtondynamics.
It's hard to explain, so I'll dump the volume and it's result:
volume:
Code:
0 0 0 0 0 5
0 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0 0 9
0 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0 2 12
0 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0 6 15
0 0 0 0 0 1
0 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0 10 15
0 0 0 0 0 5
0 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0 0 0
0 0 0 3 13 15
0 0 0 0 0 9
0 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0 0 0
the extracted region is from 1 to 4 (meaning first row and column and last row and column are not in the region)
result:
Code:
# indices: 3
# vertices: 5
indices: 0, 1, 3,
vertices:
0: 4, 0, 3.88889, 0: 0.287406, 0.955624, -0.0646662,
1: 3.75, 0, 4, 1: 0.115881, 0.993263, 0,
2: 4.11111, 0, 4, 2: 0.378032, 0.925793, 0,
3: 4, 0.111111, 4, 3: 0.296166, 0.955136, 0,
4: 4, 0, 4.11111, 4: 0.31543, 0.946291, 0.0709718,
Is this an expected result? more vertices than indices in some rare conditions where the result is only one (or maybe very few) triangle(s) ?