Index: tests/regression/Tesselation/3/post/NonConvexEnvelope.dat
===================================================================
--- tests/regression/Tesselation/3/post/NonConvexEnvelope.dat	(revision f37746b3594740cf70d4b40cfba179f483b06139)
+++ tests/regression/Tesselation/3/post/NonConvexEnvelope.dat	(revision e0aee2b0c326989ff24c035a5908461cfca18048)
@@ -2,5 +2,4 @@
 VARIABLES = "X" "Y" "Z" "U"
 ZONE T="test", N=44, E=86, DATAPACKING=POINT, ZONETYPE=FETRIANGLE
-6.9077 1.1106 0.1214 1
 0.3612 -3.628 1.323 1
 0.4884 -3.5983 -0.4521 3
@@ -46,89 +45,90 @@
 -6.8554 1.8134 -0.9499 1
 7.1391 2.0447 0.0264 0
+6.9077 1.1106 0.1214 1
 
-1 32 44
-1 32 35
-1 34 35
-23 32 35
-17 23 35
-8 17 35
-8 10 17
-3 8 10
-3 8 35
-3 4 35
-4 29 35
-29 34 35
-2 3 4
-2 4 29
-2 15 29
-15 28 29
-28 29 34
-2 7 15
-7 14 15
-14 15 28
-14 25 28
-25 28 37
-28 34 37
-1 34 37
-1 37 44
-25 26 37
-25 26 27
-26 27 33
-26 33 44
-26 37 44
-14 25 27
-14 27 30
-6 14 30
-6 24 30
-24 30 36
-30 36 39
-27 30 39
-27 30 39
-16 27 30
-16 18 30
-16 18 27
-18 27 33
-18 23 33
-6 7 24
-6 7 14
-7 11 24
-11 20 24
-20 24 41
-24 36 41
-36 41 42
-11 20 22
-5 11 22
-5 7 11
-2 5 7
-36 38 39
-36 38 42
-18 30 31
-30 31 39
-31 39 40
-9 18 31
-9 17 18
-17 18 23
-9 19 31
-9 13 19
-13 19 31
-13 21 31
-21 31 43
-31 40 43
-9 12 13
-9 10 12
-9 10 17
-12 13 21
-12 21 22
-5 12 22
-3 5 12
-2 3 5
-3 10 12
-20 21 22
-20 21 41
-21 41 43
-41 42 43
-23 32 33
-32 33 44
-40 42 43
-38 40 42
-38 39 40
+31 43 44
+31 34 44
+33 34 44
+22 31 34
+16 22 34
+7 16 34
+7 9 16
+2 7 9
+2 7 34
+2 3 34
+3 28 34
+28 33 34
+1 2 3
+1 3 28
+1 14 28
+14 27 28
+27 28 33
+1 6 14
+6 13 14
+13 14 27
+13 24 27
+24 27 36
+27 33 36
+33 36 44
+36 43 44
+24 25 36
+24 25 26
+25 26 32
+25 32 43
+25 36 43
+13 24 26
+13 26 29
+5 13 29
+5 23 29
+23 29 35
+29 35 38
+26 29 38
+26 29 38
+15 26 29
+15 17 29
+15 17 26
+17 26 32
+17 22 32
+5 6 23
+5 6 13
+6 10 23
+10 19 23
+19 23 40
+23 35 40
+35 40 41
+10 19 21
+4 10 21
+4 6 10
+1 4 6
+35 37 38
+35 37 41
+17 29 30
+29 30 38
+30 38 39
+8 17 30
+8 16 17
+16 17 22
+8 18 30
+8 12 18
+12 18 30
+12 20 30
+20 30 42
+30 39 42
+8 11 12
+8 9 11
+8 9 16
+11 12 20
+11 20 21
+4 11 21
+2 4 11
+1 2 4
+2 9 11
+19 20 21
+19 20 40
+20 40 42
+40 41 42
+22 31 32
+31 32 43
+39 41 42
+37 39 41
+37 38 39
Index: tests/regression/Tesselation/3/post/NonConvexEnvelope.r3d
===================================================================
--- tests/regression/Tesselation/3/post/NonConvexEnvelope.r3d	(revision f37746b3594740cf70d4b40cfba179f483b06139)
+++ tests/regression/Tesselation/3/post/NonConvexEnvelope.r3d	(revision e0aee2b0c326989ff24c035a5908461cfca18048)
@@ -3,4 +3,96 @@
 # All atoms as spheres
 2
+  0.777562 -3.65286 1.28459 	0.1	1. 1. 1.
+2
+  0.904762 -3.62316 -0.490507 	0.1	1. 1. 1.
+2
+  1.91486 -2.53606 0.492393 	0.1	1. 1. 1.
+2
+  -0.587138 -0.162455 -0.830407 	0.1	1. 1. 1.
+2
+  -1.53704 -3.60006 0.497793 	0.1	1. 1. 1.
+2
+  -0.771938 -0.223855 1.47919 	0.1	1. 1. 1.
+2
+  -0.300138 -1.62946 2.47449 	0.1	1. 1. 1.
+2
+  2.17906 -1.47276 -0.873307 	0.1	1. 1. 1.
+2
+  -0.586638 -1.38326 -2.92321 	0.1	1. 1. 1.
+2
+  0.438062 -2.68776 -2.23921 	0.1	1. 1. 1.
+2
+  -2.47214 -1.59546 1.71589 	0.1	1. 1. 1.
+2
+  -1.64154 -3.70136 -1.80061 	0.1	1. 1. 1.
+2
+  -2.50954 -2.13946 -1.80561 	0.1	1. 1. 1.
+2
+  1.45166 0.153645 2.50359 	0.1	1. 1. 1.
+2
+  2.04886 -1.35716 1.79219 	0.1	1. 1. 1.
+2
+  1.14346 1.15214 0.320993 	0.1	1. 1. 1.
+2
+  1.75376 -0.319055 -2.99941 	0.1	1. 1. 1.
+2
+  1.01996 1.06104 -2.15101 	0.1	1. 1. 1.
+2
+  -1.71014 0.133845 0.126293 	0.1	1. 1. 1.
+2
+  -2.78704 -0.528955 -1.12651 	0.1	1. 1. 1.
+2
+  -4.76454 -1.89276 0.930293 	0.1	1. 1. 1.
+2
+  -4.18614 -2.49696 -0.640907 	0.1	1. 1. 1.
+2
+  -3.92214 -3.45776 0.834093 	0.1	1. 1. 1.
+2
+  3.60736 1.29684 -2.87381 	0.1	1. 1. 1.
+2
+  -4.75094 -0.0564554 0.311693 	0.1	1. 1. 1.
+2
+  -3.67414 0.606345 1.56439 	0.1	1. 1. 1.
+2
+  3.22946 1.45274 2.47189 	0.1	1. 1. 1.
+2
+  4.33006 2.26874 1.33549 	0.1	1. 1. 1.
+2
+  2.57536 2.54894 1.23139 	0.1	1. 1. 1.
+2
+  4.07696 -0.484155 2.10119 	0.1	1. 1. 1.
+2
+  3.61706 -1.46676 0.692693 	0.1	1. 1. 1.
+2
+  -2.88384 2.33404 -0.0290068 	0.1	1. 1. 1.
+2
+  -3.96064 1.67134 -1.28171 	0.1	1. 1. 1.
+2
+  5.67566 1.42984 -1.78291 	0.1	1. 1. 1.
+2
+  5.10266 2.74254 -0.715907 	0.1	1. 1. 1.
+2
+  6.16236 -0.927955 1.16559 	0.1	1. 1. 1.
+2
+  5.53756 -0.911555 -0.496607 	0.1	1. 1. 1.
+2
+  -4.84774 2.80654 1.40919 	0.1	1. 1. 1.
+2
+  5.68906 1.58194 1.24439 	0.1	1. 1. 1.
+2
+  -5.82304 4.61784 0.0247932 	0.1	1. 1. 1.
+2
+  -4.05744 4.53424 -0.184207 	0.1	1. 1. 1.
+2
+  -5.13424 3.87154 -1.43691 	0.1	1. 1. 1.
+2
+  -6.29174 0.967445 0.583993 	0.1	1. 1. 1.
+2
+  -7.12784 2.53484 0.473393 	0.1	1. 1. 1.
+2
+  -6.43904 1.78854 -0.988307 	0.1	1. 1. 1.
+2
+  7.55546 2.01984 -0.0120068 	0.1	1. 1. 1.
+2
   0.939662 -3.01666 0.414493 	0.1	1. 1. 1.
 2
@@ -58,96 +150,4 @@
 2
   7.32406 1.08574 0.0829932 	0.1	1. 1. 1.
-2
-  0.777562 -3.65286 1.28459 	0.1	1. 1. 1.
-2
-  0.904762 -3.62316 -0.490507 	0.1	1. 1. 1.
-2
-  1.91486 -2.53606 0.492393 	0.1	1. 1. 1.
-2
-  -0.587138 -0.162455 -0.830407 	0.1	1. 1. 1.
-2
-  -1.53704 -3.60006 0.497793 	0.1	1. 1. 1.
-2
-  -0.771938 -0.223855 1.47919 	0.1	1. 1. 1.
-2
-  -0.300138 -1.62946 2.47449 	0.1	1. 1. 1.
-2
-  2.17906 -1.47276 -0.873307 	0.1	1. 1. 1.
-2
-  -0.586638 -1.38326 -2.92321 	0.1	1. 1. 1.
-2
-  0.438062 -2.68776 -2.23921 	0.1	1. 1. 1.
-2
-  -2.47214 -1.59546 1.71589 	0.1	1. 1. 1.
-2
-  -1.64154 -3.70136 -1.80061 	0.1	1. 1. 1.
-2
-  -2.50954 -2.13946 -1.80561 	0.1	1. 1. 1.
-2
-  1.45166 0.153645 2.50359 	0.1	1. 1. 1.
-2
-  2.04886 -1.35716 1.79219 	0.1	1. 1. 1.
-2
-  1.14346 1.15214 0.320993 	0.1	1. 1. 1.
-2
-  1.75376 -0.319055 -2.99941 	0.1	1. 1. 1.
-2
-  1.01996 1.06104 -2.15101 	0.1	1. 1. 1.
-2
-  -1.71014 0.133845 0.126293 	0.1	1. 1. 1.
-2
-  -2.78704 -0.528955 -1.12651 	0.1	1. 1. 1.
-2
-  -4.76454 -1.89276 0.930293 	0.1	1. 1. 1.
-2
-  -4.18614 -2.49696 -0.640907 	0.1	1. 1. 1.
-2
-  -3.92214 -3.45776 0.834093 	0.1	1. 1. 1.
-2
-  3.60736 1.29684 -2.87381 	0.1	1. 1. 1.
-2
-  -4.75094 -0.0564554 0.311693 	0.1	1. 1. 1.
-2
-  -3.67414 0.606345 1.56439 	0.1	1. 1. 1.
-2
-  3.22946 1.45274 2.47189 	0.1	1. 1. 1.
-2
-  4.33006 2.26874 1.33549 	0.1	1. 1. 1.
-2
-  2.57536 2.54894 1.23139 	0.1	1. 1. 1.
-2
-  4.07696 -0.484155 2.10119 	0.1	1. 1. 1.
-2
-  3.61706 -1.46676 0.692693 	0.1	1. 1. 1.
-2
-  -2.88384 2.33404 -0.0290068 	0.1	1. 1. 1.
-2
-  -3.96064 1.67134 -1.28171 	0.1	1. 1. 1.
-2
-  5.67566 1.42984 -1.78291 	0.1	1. 1. 1.
-2
-  5.10266 2.74254 -0.715907 	0.1	1. 1. 1.
-2
-  6.16236 -0.927955 1.16559 	0.1	1. 1. 1.
-2
-  5.53756 -0.911555 -0.496607 	0.1	1. 1. 1.
-2
-  -4.84774 2.80654 1.40919 	0.1	1. 1. 1.
-2
-  5.68906 1.58194 1.24439 	0.1	1. 1. 1.
-2
-  -5.82304 4.61784 0.0247932 	0.1	1. 1. 1.
-2
-  -4.05744 4.53424 -0.184207 	0.1	1. 1. 1.
-2
-  -5.13424 3.87154 -1.43691 	0.1	1. 1. 1.
-2
-  -6.29174 0.967445 0.583993 	0.1	1. 1. 1.
-2
-  -7.12784 2.53484 0.473393 	0.1	1. 1. 1.
-2
-  -6.43904 1.78854 -0.988307 	0.1	1. 1. 1.
-2
-  7.55546 2.01984 -0.0120068 	0.1	1. 1. 1.
 # All tesselation triangles
 8
@@ -156,9 +156,9 @@
   BACKFACE  0.3 0.3 1.0   0 0
 1
-  7.32406 1.08574 0.0829932 	5.67566 1.42984 -1.78291 	7.55546 2.01984 -0.0120068 	1. 0. 0.
-1
-  7.32406 1.08574 0.0829932 	5.67566 1.42984 -1.78291 	5.53756 -0.911555 -0.496607 	1. 0. 0.
-1
-  7.32406 1.08574 0.0829932 	6.16236 -0.927955 1.16559 	5.53756 -0.911555 -0.496607 	1. 0. 0.
+  5.67566 1.42984 -1.78291 	7.55546 2.01984 -0.0120068 	7.32406 1.08574 0.0829932 	1. 0. 0.
+1
+  5.67566 1.42984 -1.78291 	5.53756 -0.911555 -0.496607 	7.32406 1.08574 0.0829932 	1. 0. 0.
+1
+  6.16236 -0.927955 1.16559 	5.53756 -0.911555 -0.496607 	7.32406 1.08574 0.0829932 	1. 0. 0.
 1
   3.60736 1.29684 -2.87381 	5.67566 1.42984 -1.78291 	5.53756 -0.911555 -0.496607 	1. 0. 0.
@@ -202,7 +202,7 @@
   4.07696 -0.484155 2.10119 	6.16236 -0.927955 1.16559 	5.68906 1.58194 1.24439 	1. 0. 0.
 1
-  7.32406 1.08574 0.0829932 	6.16236 -0.927955 1.16559 	5.68906 1.58194 1.24439 	1. 0. 0.
-1
-  7.32406 1.08574 0.0829932 	5.68906 1.58194 1.24439 	7.55546 2.01984 -0.0120068 	1. 0. 0.
+  6.16236 -0.927955 1.16559 	5.68906 1.58194 1.24439 	7.32406 1.08574 0.0829932 	1. 0. 0.
+1
+  5.68906 1.58194 1.24439 	7.55546 2.01984 -0.0120068 	7.32406 1.08574 0.0829932 	1. 0. 0.
 1
   3.22946 1.45274 2.47189 	4.33006 2.26874 1.33549 	5.68906 1.58194 1.24439 	1. 0. 0.
