From d00158b04d7415aa3172ff0f912913c80f36cf4c Mon Sep 17 00:00:00 2001 From: janbridley Date: Sat, 14 Sep 2024 14:15:39 -0400 Subject: [PATCH 1/3] Update to more complex test case --- tests/test_io.py | 39 ++++++--------------------------------- 1 file changed, 6 insertions(+), 33 deletions(-) diff --git a/tests/test_io.py b/tests/test_io.py index 5e588a09..4e5e416d 100644 --- a/tests/test_io.py +++ b/tests/test_io.py @@ -12,7 +12,8 @@ import pytest from coxeter import io -from coxeter.shapes import ConvexPolyhedron, Polyhedron +from coxeter.families import JohnsonFamily +from coxeter.shapes import Polyhedron def compare_text_files(file_path_1, file_path_2): @@ -33,39 +34,11 @@ def compare_text_files(file_path_1, file_path_2): "html": io.to_html, } +mbri = JohnsonFamily.get_shape("Metabidiminished Rhombicosidodecahedron") + SHAPES_BY_NAME = { - "polyhedron": Polyhedron( - vertices=[ - [-1, -1, -1], - [-1, -1, 1], - [-1, 1, -1], - [-1, 1, 1], - [1, -1, -1], - [1, -1, 1], - [1, 1, -1], - [1, 1, 1], - ], - faces=[ - [0, 1, 3, 2], - [0, 2, 6, 4], - [4, 6, 7, 5], - [1, 5, 7, 3], - [0, 4, 5, 1], - [6, 2, 3, 7], - ], - ), - "convex_polyhedron": ConvexPolyhedron( - vertices=[ - [-1, -1, -1], - [-1, -1, 1], - [-1, 1, -1], - [-1, 1, 1], - [1, -1, -1], - [1, -1, 1], - [1, 1, -1], - [1, 1, 1], - ] - ), + "polyhedron": Polyhedron(mbri.vertices, mbri.faces), + "convex_polyhedron": mbri, } CONTROL_DIR = Path("tests/control") From 37427c418c4476c3ec864f483669ba0b373017ed Mon Sep 17 00:00:00 2001 From: janbridley Date: Sat, 14 Sep 2024 14:16:43 -0400 Subject: [PATCH 2/3] Switch files to more complicated io test case --- tests/control/convex_polyhedron.html | 2 +- tests/control/convex_polyhedron.obj | 106 ++++- tests/control/convex_polyhedron.off | 108 ++++- tests/control/convex_polyhedron.ply | 110 ++++- tests/control/convex_polyhedron.stl | 684 +++++++++++++++++++++++++-- tests/control/convex_polyhedron.vtk | 110 ++++- tests/control/convex_polyhedron.x3d | 2 +- tests/control/polyhedron.html | 2 +- tests/control/polyhedron.obj | 106 ++++- tests/control/polyhedron.off | 108 ++++- tests/control/polyhedron.ply | 110 ++++- tests/control/polyhedron.stl | 684 +++++++++++++++++++++++++-- tests/control/polyhedron.vtk | 110 ++++- tests/control/polyhedron.x3d | 2 +- 14 files changed, 2022 insertions(+), 222 deletions(-) diff --git a/tests/control/convex_polyhedron.html b/tests/control/convex_polyhedron.html index f27b53d1..7caf853a 100644 --- a/tests/control/convex_polyhedron.html +++ b/tests/control/convex_polyhedron.html @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/tests/control/convex_polyhedron.obj b/tests/control/convex_polyhedron.obj index 7a3ba776..de4c5e93 100644 --- a/tests/control/convex_polyhedron.obj +++ b/tests/control/convex_polyhedron.obj @@ -1,18 +1,96 @@ # wavefront obj file written by Coxeter version 0.8.0 # ConvexPolyhedron -v -1.0 -1.0 -1.0 -v -1.0 -1.0 1.0 -v -1.0 1.0 -1.0 -v -1.0 1.0 1.0 -v 1.0 -1.0 -1.0 -v 1.0 -1.0 1.0 -v 1.0 1.0 -1.0 -v 1.0 1.0 1.0 +v -0.15009435383073877 -0.15009435383073877 -0.6358098858659154 +v -0.15009435383073877 -0.15009435383073877 0.6358098858659154 +v -0.15009435383073877 0.15009435383073877 -0.6358098858659154 +v -0.15009435383073877 0.15009435383073877 0.6358098858659154 +v -0.15009435383073877 -0.6358098858659154 -0.15009435383073877 +v -0.15009435383073877 0.6358098858659154 -0.15009435383073877 +v 0.0 -0.3929521198483272 -0.5430464736790659 +v 0.0 0.39295211984832706 -0.5430464736790659 +v 0.15009435383073877 -0.15009435383073877 -0.6358098858659154 +v 0.15009435383073877 -0.15009435383073877 0.6358098858659154 +v 0.15009435383073877 0.15009435383073877 -0.6358098858659154 +v 0.15009435383073877 0.15009435383073877 0.6358098858659154 +v 0.15009435383073877 -0.6358098858659154 -0.15009435383073877 +v 0.15009435383073877 0.6358098858659154 -0.15009435383073877 +v -0.5430464736790659 0.0 -0.3929521198483272 +v -0.5430464736790659 0.0 0.39295211984832706 +v -0.24285776601758832 -0.48571553203517664 -0.3929521198483272 +v -0.24285776601758832 0.48571553203517664 -0.3929521198483272 +v -0.48571553203517664 -0.3929521198483272 -0.24285776601758832 +v -0.48571553203517664 -0.3929521198483272 0.24285776601758832 +v -0.48571553203517664 0.39295211984832706 -0.24285776601758832 +v -0.48571553203517664 0.39295211984832706 0.24285776601758832 +v -0.6358098858659154 -0.15009435383073877 -0.15009435383073877 +v -0.6358098858659154 -0.15009435383073877 0.15009435383073877 +v -0.6358098858659154 0.15009435383073877 -0.15009435383073877 +v -0.6358098858659154 0.15009435383073877 0.15009435383073877 +v -0.3929521198483272 -0.5430464736790659 0.0 +v -0.3929521198483272 -0.24285776601758832 -0.48571553203517664 +v -0.3929521198483272 -0.24285776601758832 0.48571553203517664 +v -0.3929521198483272 0.24285776601758832 -0.48571553203517664 +v -0.3929521198483272 0.24285776601758832 0.48571553203517664 +v -0.3929521198483272 0.5430464736790659 0.0 +v 0.24285776601758832 -0.48571553203517664 -0.3929521198483272 +v 0.24285776601758832 0.48571553203517664 -0.3929521198483272 +v 0.48571553203517664 -0.3929521198483272 -0.24285776601758832 +v 0.48571553203517664 -0.3929521198483272 0.24285776601758832 +v 0.48571553203517664 0.39295211984832706 -0.24285776601758832 +v 0.48571553203517664 0.39295211984832706 0.24285776601758832 +v 0.6358098858659154 -0.15009435383073877 -0.15009435383073877 +v 0.6358098858659154 -0.15009435383073877 0.15009435383073877 +v 0.6358098858659154 0.15009435383073877 -0.15009435383073877 +v 0.6358098858659154 0.15009435383073877 0.15009435383073877 +v 0.39295211984832706 -0.5430464736790659 0.0 +v 0.39295211984832706 -0.24285776601758832 -0.48571553203517664 +v 0.39295211984832706 -0.24285776601758832 0.48571553203517664 +v 0.39295211984832706 0.24285776601758832 -0.48571553203517664 +v 0.39295211984832706 0.24285776601758832 0.48571553203517664 +v 0.39295211984832706 0.5430464736790659 0.0 +v 0.5430464736790659 0.0 -0.3929521198483272 +v 0.5430464736790659 0.0 0.39295211984832706 -f 1 3 7 5 -f 1 5 6 2 -f 5 7 8 6 -f 1 2 4 3 -f 3 4 8 7 -f 2 6 8 4 \ No newline at end of file +f 39 49 41 +f 15 23 25 +f 16 26 24 +f 3 8 11 +f 1 9 7 +f 40 42 50 +f 34 37 46 +f 18 30 21 +f 33 44 35 +f 17 19 28 +f 16 31 22 26 +f 37 41 49 46 +f 2 4 31 16 29 +f 23 24 26 25 +f 16 24 20 29 +f 35 44 49 39 +f 2 10 12 4 +f 15 28 19 23 +f 19 27 20 24 23 +f 3 30 18 8 +f 1 28 15 30 3 +f 1 3 11 9 +f 9 11 46 49 44 +f 36 40 50 45 +f 39 41 42 40 +f 37 48 38 42 41 +f 8 34 46 11 +f 6 14 34 8 18 +f 14 48 37 34 +f 15 25 21 30 +f 35 39 40 36 43 +f 7 9 44 33 +f 10 45 50 47 12 +f 38 47 50 42 +f 5 27 19 17 +f 1 7 17 28 +f 4 12 47 38 48 14 6 32 22 31 +f 21 25 26 22 32 +f 6 18 21 32 +f 2 29 20 27 5 13 43 36 45 10 +f 5 17 7 33 13 +f 13 33 35 43 \ No newline at end of file diff --git a/tests/control/convex_polyhedron.off b/tests/control/convex_polyhedron.off index abbdbbdf..dd4b6e28 100644 --- a/tests/control/convex_polyhedron.off +++ b/tests/control/convex_polyhedron.off @@ -1,18 +1,96 @@ OFF # OFF file written by Coxeter version 0.8.0 # ConvexPolyhedron -8 f6 12 --1.0 -1.0 -1.0 --1.0 -1.0 1.0 --1.0 1.0 -1.0 --1.0 1.0 1.0 -1.0 -1.0 -1.0 -1.0 -1.0 1.0 -1.0 1.0 -1.0 -1.0 1.0 1.0 -4 0 2 6 4 -4 0 4 5 1 -4 4 6 7 5 -4 0 1 3 2 -4 2 3 7 6 -4 1 5 7 3 \ No newline at end of file +50 f42 90 +-0.15009435383073877 -0.15009435383073877 -0.6358098858659154 +-0.15009435383073877 -0.15009435383073877 0.6358098858659154 +-0.15009435383073877 0.15009435383073877 -0.6358098858659154 +-0.15009435383073877 0.15009435383073877 0.6358098858659154 +-0.15009435383073877 -0.6358098858659154 -0.15009435383073877 +-0.15009435383073877 0.6358098858659154 -0.15009435383073877 +0.0 -0.3929521198483272 -0.5430464736790659 +0.0 0.39295211984832706 -0.5430464736790659 +0.15009435383073877 -0.15009435383073877 -0.6358098858659154 +0.15009435383073877 -0.15009435383073877 0.6358098858659154 +0.15009435383073877 0.15009435383073877 -0.6358098858659154 +0.15009435383073877 0.15009435383073877 0.6358098858659154 +0.15009435383073877 -0.6358098858659154 -0.15009435383073877 +0.15009435383073877 0.6358098858659154 -0.15009435383073877 +-0.5430464736790659 0.0 -0.3929521198483272 +-0.5430464736790659 0.0 0.39295211984832706 +-0.24285776601758832 -0.48571553203517664 -0.3929521198483272 +-0.24285776601758832 0.48571553203517664 -0.3929521198483272 +-0.48571553203517664 -0.3929521198483272 -0.24285776601758832 +-0.48571553203517664 -0.3929521198483272 0.24285776601758832 +-0.48571553203517664 0.39295211984832706 -0.24285776601758832 +-0.48571553203517664 0.39295211984832706 0.24285776601758832 +-0.6358098858659154 -0.15009435383073877 -0.15009435383073877 +-0.6358098858659154 -0.15009435383073877 0.15009435383073877 +-0.6358098858659154 0.15009435383073877 -0.15009435383073877 +-0.6358098858659154 0.15009435383073877 0.15009435383073877 +-0.3929521198483272 -0.5430464736790659 0.0 +-0.3929521198483272 -0.24285776601758832 -0.48571553203517664 +-0.3929521198483272 -0.24285776601758832 0.48571553203517664 +-0.3929521198483272 0.24285776601758832 -0.48571553203517664 +-0.3929521198483272 0.24285776601758832 0.48571553203517664 +-0.3929521198483272 0.5430464736790659 0.0 +0.24285776601758832 -0.48571553203517664 -0.3929521198483272 +0.24285776601758832 0.48571553203517664 -0.3929521198483272 +0.48571553203517664 -0.3929521198483272 -0.24285776601758832 +0.48571553203517664 -0.3929521198483272 0.24285776601758832 +0.48571553203517664 0.39295211984832706 -0.24285776601758832 +0.48571553203517664 0.39295211984832706 0.24285776601758832 +0.6358098858659154 -0.15009435383073877 -0.15009435383073877 +0.6358098858659154 -0.15009435383073877 0.15009435383073877 +0.6358098858659154 0.15009435383073877 -0.15009435383073877 +0.6358098858659154 0.15009435383073877 0.15009435383073877 +0.39295211984832706 -0.5430464736790659 0.0 +0.39295211984832706 -0.24285776601758832 -0.48571553203517664 +0.39295211984832706 -0.24285776601758832 0.48571553203517664 +0.39295211984832706 0.24285776601758832 -0.48571553203517664 +0.39295211984832706 0.24285776601758832 0.48571553203517664 +0.39295211984832706 0.5430464736790659 0.0 +0.5430464736790659 0.0 -0.3929521198483272 +0.5430464736790659 0.0 0.39295211984832706 +3 38 48 40 +3 14 22 24 +3 15 25 23 +3 2 7 10 +3 0 8 6 +3 39 41 49 +3 33 36 45 +3 17 29 20 +3 32 43 34 +3 16 18 27 +4 15 30 21 25 +4 36 40 48 45 +5 1 3 30 15 28 +4 22 23 25 24 +4 15 23 19 28 +4 34 43 48 38 +4 1 9 11 3 +4 14 27 18 22 +5 18 26 19 23 22 +4 2 29 17 7 +5 0 27 14 29 2 +4 0 2 10 8 +5 8 10 45 48 43 +4 35 39 49 44 +4 38 40 41 39 +5 36 47 37 41 40 +4 7 33 45 10 +5 5 13 33 7 17 +4 13 47 36 33 +4 14 24 20 29 +5 34 38 39 35 42 +4 6 8 43 32 +5 9 44 49 46 11 +4 37 46 49 41 +4 4 26 18 16 +4 0 6 16 27 +10 3 11 46 37 47 13 5 31 21 30 +5 20 24 25 21 31 +4 5 17 20 31 +10 1 28 19 26 4 12 42 35 44 9 +5 4 16 6 32 12 +4 12 32 34 42 \ No newline at end of file diff --git a/tests/control/convex_polyhedron.ply b/tests/control/convex_polyhedron.ply index f295bac9..d7bf921e 100644 --- a/tests/control/convex_polyhedron.ply +++ b/tests/control/convex_polyhedron.ply @@ -2,24 +2,102 @@ ply format ascii 1.0 comment PLY file written by Coxeter version 0.8.0 comment ConvexPolyhedron -element vertex 8 +element vertex 50 property float x property float y property float z -element face 6 +element face 42 property list uchar uint vertex_indices end_header --1.0 -1.0 -1.0 --1.0 -1.0 1.0 --1.0 1.0 -1.0 --1.0 1.0 1.0 -1.0 -1.0 -1.0 -1.0 -1.0 1.0 -1.0 1.0 -1.0 -1.0 1.0 1.0 -4 0 2 6 4 -4 0 4 5 1 -4 4 6 7 5 -4 0 1 3 2 -4 2 3 7 6 -4 1 5 7 3 \ No newline at end of file +-0.15009435383073877 -0.15009435383073877 -0.6358098858659154 +-0.15009435383073877 -0.15009435383073877 0.6358098858659154 +-0.15009435383073877 0.15009435383073877 -0.6358098858659154 +-0.15009435383073877 0.15009435383073877 0.6358098858659154 +-0.15009435383073877 -0.6358098858659154 -0.15009435383073877 +-0.15009435383073877 0.6358098858659154 -0.15009435383073877 +0.0 -0.3929521198483272 -0.5430464736790659 +0.0 0.39295211984832706 -0.5430464736790659 +0.15009435383073877 -0.15009435383073877 -0.6358098858659154 +0.15009435383073877 -0.15009435383073877 0.6358098858659154 +0.15009435383073877 0.15009435383073877 -0.6358098858659154 +0.15009435383073877 0.15009435383073877 0.6358098858659154 +0.15009435383073877 -0.6358098858659154 -0.15009435383073877 +0.15009435383073877 0.6358098858659154 -0.15009435383073877 +-0.5430464736790659 0.0 -0.3929521198483272 +-0.5430464736790659 0.0 0.39295211984832706 +-0.24285776601758832 -0.48571553203517664 -0.3929521198483272 +-0.24285776601758832 0.48571553203517664 -0.3929521198483272 +-0.48571553203517664 -0.3929521198483272 -0.24285776601758832 +-0.48571553203517664 -0.3929521198483272 0.24285776601758832 +-0.48571553203517664 0.39295211984832706 -0.24285776601758832 +-0.48571553203517664 0.39295211984832706 0.24285776601758832 +-0.6358098858659154 -0.15009435383073877 -0.15009435383073877 +-0.6358098858659154 -0.15009435383073877 0.15009435383073877 +-0.6358098858659154 0.15009435383073877 -0.15009435383073877 +-0.6358098858659154 0.15009435383073877 0.15009435383073877 +-0.3929521198483272 -0.5430464736790659 0.0 +-0.3929521198483272 -0.24285776601758832 -0.48571553203517664 +-0.3929521198483272 -0.24285776601758832 0.48571553203517664 +-0.3929521198483272 0.24285776601758832 -0.48571553203517664 +-0.3929521198483272 0.24285776601758832 0.48571553203517664 +-0.3929521198483272 0.5430464736790659 0.0 +0.24285776601758832 -0.48571553203517664 -0.3929521198483272 +0.24285776601758832 0.48571553203517664 -0.3929521198483272 +0.48571553203517664 -0.3929521198483272 -0.24285776601758832 +0.48571553203517664 -0.3929521198483272 0.24285776601758832 +0.48571553203517664 0.39295211984832706 -0.24285776601758832 +0.48571553203517664 0.39295211984832706 0.24285776601758832 +0.6358098858659154 -0.15009435383073877 -0.15009435383073877 +0.6358098858659154 -0.15009435383073877 0.15009435383073877 +0.6358098858659154 0.15009435383073877 -0.15009435383073877 +0.6358098858659154 0.15009435383073877 0.15009435383073877 +0.39295211984832706 -0.5430464736790659 0.0 +0.39295211984832706 -0.24285776601758832 -0.48571553203517664 +0.39295211984832706 -0.24285776601758832 0.48571553203517664 +0.39295211984832706 0.24285776601758832 -0.48571553203517664 +0.39295211984832706 0.24285776601758832 0.48571553203517664 +0.39295211984832706 0.5430464736790659 0.0 +0.5430464736790659 0.0 -0.3929521198483272 +0.5430464736790659 0.0 0.39295211984832706 +3 38 48 40 +3 14 22 24 +3 15 25 23 +3 2 7 10 +3 0 8 6 +3 39 41 49 +3 33 36 45 +3 17 29 20 +3 32 43 34 +3 16 18 27 +4 15 30 21 25 +4 36 40 48 45 +5 1 3 30 15 28 +4 22 23 25 24 +4 15 23 19 28 +4 34 43 48 38 +4 1 9 11 3 +4 14 27 18 22 +5 18 26 19 23 22 +4 2 29 17 7 +5 0 27 14 29 2 +4 0 2 10 8 +5 8 10 45 48 43 +4 35 39 49 44 +4 38 40 41 39 +5 36 47 37 41 40 +4 7 33 45 10 +5 5 13 33 7 17 +4 13 47 36 33 +4 14 24 20 29 +5 34 38 39 35 42 +4 6 8 43 32 +5 9 44 49 46 11 +4 37 46 49 41 +4 4 26 18 16 +4 0 6 16 27 +10 3 11 46 37 47 13 5 31 21 30 +5 20 24 25 21 31 +4 5 17 20 31 +10 1 28 19 26 4 12 42 35 44 9 +5 4 16 6 32 12 +4 12 32 34 42 \ No newline at end of file diff --git a/tests/control/convex_polyhedron.stl b/tests/control/convex_polyhedron.stl index 9d9a416e..08e0805f 100644 --- a/tests/control/convex_polyhedron.stl +++ b/tests/control/convex_polyhedron.stl @@ -1,86 +1,674 @@ solid ConvexPolyhedron -facet normal 0.0 0.0 -4.0 +facet normal 0.07290315892637336 0.0 -0.0278465288226393 outer loop - vertex -1.0 -1.0 -1.0 - vertex -1.0 1.0 -1.0 - vertex 1.0 1.0 -1.0 + vertex 0.6358098858659154 -0.15009435383073877 -0.15009435383073877 + vertex 0.5430464736790659 0.0 -0.3929521198483272 + vertex 0.6358098858659154 0.15009435383073877 -0.15009435383073877 endloop endfacet -facet normal 0.0 0.0 -4.0 +facet normal -0.07290315892637336 0.0 -0.0278465288226393 outer loop - vertex -1.0 -1.0 -1.0 - vertex 1.0 1.0 -1.0 - vertex 1.0 -1.0 -1.0 + vertex -0.5430464736790659 0.0 -0.3929521198483272 + vertex -0.6358098858659154 -0.15009435383073877 -0.15009435383073877 + vertex -0.6358098858659154 0.15009435383073877 -0.15009435383073877 endloop endfacet -facet normal 0.0 -4.0 0.0 +facet normal -0.07290315892637332 0.0 0.0278465288226393 outer loop - vertex -1.0 -1.0 -1.0 - vertex 1.0 -1.0 -1.0 - vertex 1.0 -1.0 1.0 + vertex -0.5430464736790659 0.0 0.39295211984832706 + vertex -0.6358098858659154 0.15009435383073877 0.15009435383073877 + vertex -0.6358098858659154 -0.15009435383073877 0.15009435383073877 endloop endfacet -facet normal 0.0 -4.0 0.0 +facet normal 0.0 0.0278465288226393 -0.07290315892637332 outer loop - vertex -1.0 -1.0 -1.0 - vertex 1.0 -1.0 1.0 - vertex -1.0 -1.0 1.0 + vertex -0.15009435383073877 0.15009435383073877 -0.6358098858659154 + vertex 0.0 0.39295211984832706 -0.5430464736790659 + vertex 0.15009435383073877 0.15009435383073877 -0.6358098858659154 endloop endfacet -facet normal 4.0 0.0 0.0 +facet normal 0.0 -0.0278465288226393 -0.07290315892637336 outer loop - vertex 1.0 -1.0 -1.0 - vertex 1.0 1.0 -1.0 - vertex 1.0 1.0 1.0 + vertex -0.15009435383073877 -0.15009435383073877 -0.6358098858659154 + vertex 0.15009435383073877 -0.15009435383073877 -0.6358098858659154 + vertex 0.0 -0.3929521198483272 -0.5430464736790659 endloop endfacet -facet normal 4.0 0.0 -0.0 +facet normal 0.07290315892637332 -0.0 0.0278465288226393 outer loop - vertex 1.0 -1.0 -1.0 - vertex 1.0 1.0 1.0 - vertex 1.0 -1.0 1.0 + vertex 0.6358098858659154 -0.15009435383073877 0.15009435383073877 + vertex 0.6358098858659154 0.15009435383073877 0.15009435383073877 + vertex 0.5430464736790659 0.0 0.39295211984832706 endloop endfacet -facet normal -4.0 0.0 0.0 +facet normal 0.045056630103734036 0.04505663010373401 -0.045056630103734015 outer loop - vertex -1.0 -1.0 -1.0 - vertex -1.0 -1.0 1.0 - vertex -1.0 1.0 1.0 + vertex 0.24285776601758832 0.48571553203517664 -0.3929521198483272 + vertex 0.48571553203517664 0.39295211984832706 -0.24285776601758832 + vertex 0.39295211984832706 0.24285776601758832 -0.48571553203517664 endloop endfacet -facet normal -4.0 0.0 0.0 +facet normal -0.045056630103734036 0.04505663010373402 -0.04505663010373401 outer loop - vertex -1.0 -1.0 -1.0 - vertex -1.0 1.0 1.0 - vertex -1.0 1.0 -1.0 + vertex -0.24285776601758832 0.48571553203517664 -0.3929521198483272 + vertex -0.3929521198483272 0.24285776601758832 -0.48571553203517664 + vertex -0.48571553203517664 0.39295211984832706 -0.24285776601758832 endloop endfacet -facet normal 0.0 4.0 0.0 +facet normal 0.04505663010373402 -0.04505663010373401 -0.045056630103734036 outer loop - vertex -1.0 1.0 -1.0 - vertex -1.0 1.0 1.0 - vertex 1.0 1.0 1.0 + vertex 0.24285776601758832 -0.48571553203517664 -0.3929521198483272 + vertex 0.39295211984832706 -0.24285776601758832 -0.48571553203517664 + vertex 0.48571553203517664 -0.3929521198483272 -0.24285776601758832 endloop endfacet -facet normal -0.0 4.0 0.0 +facet normal -0.04505663010373402 -0.04505663010373402 -0.04505663010373402 outer loop - vertex -1.0 1.0 -1.0 - vertex 1.0 1.0 1.0 - vertex 1.0 1.0 -1.0 + vertex -0.24285776601758832 -0.48571553203517664 -0.3929521198483272 + vertex -0.48571553203517664 -0.3929521198483272 -0.24285776601758832 + vertex -0.3929521198483272 -0.24285776601758832 -0.48571553203517664 endloop endfacet -facet normal 0.0 0.0 4.0 +facet normal -0.07290315892637333 0.02784652882263931 0.04505663010373398 outer loop - vertex -1.0 -1.0 1.0 - vertex 1.0 -1.0 1.0 - vertex 1.0 1.0 1.0 + vertex -0.5430464736790659 0.0 0.39295211984832706 + vertex -0.3929521198483272 0.24285776601758832 0.48571553203517664 + vertex -0.48571553203517664 0.39295211984832706 0.24285776601758832 endloop endfacet -facet normal 0.0 -0.0 4.0 +facet normal -0.07290315892637332 0.02784652882263931 0.04505663010373399 outer loop - vertex -1.0 -1.0 1.0 - vertex 1.0 1.0 1.0 - vertex -1.0 1.0 1.0 + vertex -0.5430464736790659 0.0 0.39295211984832706 + vertex -0.48571553203517664 0.39295211984832706 0.24285776601758832 + vertex -0.6358098858659154 0.15009435383073877 0.15009435383073877 + endloop +endfacet +facet normal 0.07290315892637335 0.027846528822639327 -0.04505663010373398 + outer loop + vertex 0.48571553203517664 0.39295211984832706 -0.24285776601758832 + vertex 0.6358098858659154 0.15009435383073877 -0.15009435383073877 + vertex 0.5430464736790659 0.0 -0.3929521198483272 + endloop +endfacet +facet normal 0.07290315892637333 0.02784652882263934 -0.04505663010373403 + outer loop + vertex 0.48571553203517664 0.39295211984832706 -0.24285776601758832 + vertex 0.5430464736790659 0.0 -0.3929521198483272 + vertex 0.39295211984832706 0.24285776601758832 -0.48571553203517664 + endloop +endfacet +facet normal -0.045056630103733994 0.0 0.07290315892637336 + outer loop + vertex -0.15009435383073877 -0.15009435383073877 0.6358098858659154 + vertex -0.15009435383073877 0.15009435383073877 0.6358098858659154 + vertex -0.3929521198483272 0.24285776601758832 0.48571553203517664 + endloop +endfacet +facet normal -0.07290315892637333 -3.469446951953614e-17 0.11795978903010736 + outer loop + vertex -0.15009435383073877 -0.15009435383073877 0.6358098858659154 + vertex -0.3929521198483272 0.24285776601758832 0.48571553203517664 + vertex -0.5430464736790659 0.0 0.39295211984832706 + endloop +endfacet +facet normal -0.04505663010373401 4.163336342344337e-17 0.07290315892637336 + outer loop + vertex -0.15009435383073877 -0.15009435383073877 0.6358098858659154 + vertex -0.5430464736790659 0.0 0.39295211984832706 + vertex -0.3929521198483272 -0.24285776601758832 0.48571553203517664 + endloop +endfacet +facet normal -0.09011326020746803 0.0 0.0 + outer loop + vertex -0.6358098858659154 -0.15009435383073877 -0.15009435383073877 + vertex -0.6358098858659154 -0.15009435383073877 0.15009435383073877 + vertex -0.6358098858659154 0.15009435383073877 0.15009435383073877 + endloop +endfacet +facet normal -0.09011326020746803 0.0 0.0 + outer loop + vertex -0.6358098858659154 -0.15009435383073877 -0.15009435383073877 + vertex -0.6358098858659154 0.15009435383073877 0.15009435383073877 + vertex -0.6358098858659154 0.15009435383073877 -0.15009435383073877 + endloop +endfacet +facet normal -0.07290315892637335 -0.027846528822639306 0.045056630103733994 + outer loop + vertex -0.5430464736790659 0.0 0.39295211984832706 + vertex -0.6358098858659154 -0.15009435383073877 0.15009435383073877 + vertex -0.48571553203517664 -0.3929521198483272 0.24285776601758832 + endloop +endfacet +facet normal -0.07290315892637335 -0.027846528822639313 0.045056630103734 + outer loop + vertex -0.5430464736790659 0.0 0.39295211984832706 + vertex -0.48571553203517664 -0.3929521198483272 0.24285776601758832 + vertex -0.3929521198483272 -0.24285776601758832 0.48571553203517664 + endloop +endfacet +facet normal 0.07290315892637333 -0.027846528822639337 -0.04505663010373405 + outer loop + vertex 0.48571553203517664 -0.3929521198483272 -0.24285776601758832 + vertex 0.39295211984832706 -0.24285776601758832 -0.48571553203517664 + vertex 0.5430464736790659 0.0 -0.3929521198483272 + endloop +endfacet +facet normal 0.07290315892637338 -0.027846528822639327 -0.045056630103733994 + outer loop + vertex 0.48571553203517664 -0.3929521198483272 -0.24285776601758832 + vertex 0.5430464736790659 0.0 -0.3929521198483272 + vertex 0.6358098858659154 -0.15009435383073877 -0.15009435383073877 + endloop +endfacet +facet normal 0.0 0.0 0.09011326020746803 + outer loop + vertex -0.15009435383073877 -0.15009435383073877 0.6358098858659154 + vertex 0.15009435383073877 -0.15009435383073877 0.6358098858659154 + vertex 0.15009435383073877 0.15009435383073877 0.6358098858659154 + endloop +endfacet +facet normal 0.0 -0.0 0.09011326020746803 + outer loop + vertex -0.15009435383073877 -0.15009435383073877 0.6358098858659154 + vertex 0.15009435383073877 0.15009435383073877 0.6358098858659154 + vertex -0.15009435383073877 0.15009435383073877 0.6358098858659154 + endloop +endfacet +facet normal -0.07290315892637333 -0.02784652882263932 -0.045056630103734 + outer loop + vertex -0.5430464736790659 0.0 -0.3929521198483272 + vertex -0.3929521198483272 -0.24285776601758832 -0.48571553203517664 + vertex -0.48571553203517664 -0.3929521198483272 -0.24285776601758832 + endloop +endfacet +facet normal -0.07290315892637339 -0.027846528822639327 -0.045056630103733994 + outer loop + vertex -0.5430464736790659 0.0 -0.3929521198483272 + vertex -0.48571553203517664 -0.3929521198483272 -0.24285776601758832 + vertex -0.6358098858659154 -0.15009435383073877 -0.15009435383073877 + endloop +endfacet +facet normal -0.07290315892637331 -0.04505663010373398 0.0 + outer loop + vertex -0.48571553203517664 -0.3929521198483272 -0.24285776601758832 + vertex -0.3929521198483272 -0.5430464736790659 0.0 + vertex -0.48571553203517664 -0.3929521198483272 0.24285776601758832 + endloop +endfacet +facet normal -0.1179597890301074 -0.07290315892637331 0.0 + outer loop + vertex -0.48571553203517664 -0.3929521198483272 -0.24285776601758832 + vertex -0.48571553203517664 -0.3929521198483272 0.24285776601758832 + vertex -0.6358098858659154 -0.15009435383073877 0.15009435383073877 + endloop +endfacet +facet normal -0.07290315892637336 -0.045056630103733994 -0.0 + outer loop + vertex -0.48571553203517664 -0.3929521198483272 -0.24285776601758832 + vertex -0.6358098858659154 -0.15009435383073877 0.15009435383073877 + vertex -0.6358098858659154 -0.15009435383073877 -0.15009435383073877 + endloop +endfacet +facet normal -0.027846528822639313 0.04505663010373401 -0.07290315892637336 + outer loop + vertex -0.15009435383073877 0.15009435383073877 -0.6358098858659154 + vertex -0.3929521198483272 0.24285776601758832 -0.48571553203517664 + vertex -0.24285776601758832 0.48571553203517664 -0.3929521198483272 + endloop +endfacet +facet normal -0.027846528822639306 0.04505663010373399 -0.07290315892637333 + outer loop + vertex -0.15009435383073877 0.15009435383073877 -0.6358098858659154 + vertex -0.24285776601758832 0.48571553203517664 -0.3929521198483272 + vertex 0.0 0.39295211984832706 -0.5430464736790659 + endloop +endfacet +facet normal -0.045056630103733994 6.938893903907228e-18 -0.07290315892637336 + outer loop + vertex -0.15009435383073877 -0.15009435383073877 -0.6358098858659154 + vertex -0.3929521198483272 -0.24285776601758832 -0.48571553203517664 + vertex -0.5430464736790659 0.0 -0.3929521198483272 + endloop +endfacet +facet normal -0.0729031589263733 -6.938893903907228e-18 -0.11795978903010734 + outer loop + vertex -0.15009435383073877 -0.15009435383073877 -0.6358098858659154 + vertex -0.5430464736790659 0.0 -0.3929521198483272 + vertex -0.3929521198483272 0.24285776601758832 -0.48571553203517664 + endloop +endfacet +facet normal -0.045056630103734 0.0 -0.07290315892637336 + outer loop + vertex -0.15009435383073877 -0.15009435383073877 -0.6358098858659154 + vertex -0.3929521198483272 0.24285776601758832 -0.48571553203517664 + vertex -0.15009435383073877 0.15009435383073877 -0.6358098858659154 + endloop +endfacet +facet normal 0.0 0.0 -0.09011326020746803 + outer loop + vertex -0.15009435383073877 -0.15009435383073877 -0.6358098858659154 + vertex -0.15009435383073877 0.15009435383073877 -0.6358098858659154 + vertex 0.15009435383073877 0.15009435383073877 -0.6358098858659154 + endloop +endfacet +facet normal 0.0 0.0 -0.09011326020746803 + outer loop + vertex -0.15009435383073877 -0.15009435383073877 -0.6358098858659154 + vertex 0.15009435383073877 0.15009435383073877 -0.6358098858659154 + vertex 0.15009435383073877 -0.15009435383073877 -0.6358098858659154 + endloop +endfacet +facet normal 0.045056630103733994 0.0 -0.07290315892637332 + outer loop + vertex 0.15009435383073877 -0.15009435383073877 -0.6358098858659154 + vertex 0.15009435383073877 0.15009435383073877 -0.6358098858659154 + vertex 0.39295211984832706 0.24285776601758832 -0.48571553203517664 + endloop +endfacet +facet normal 0.0729031589263733 2.0816681711721685e-17 -0.11795978903010737 + outer loop + vertex 0.15009435383073877 -0.15009435383073877 -0.6358098858659154 + vertex 0.39295211984832706 0.24285776601758832 -0.48571553203517664 + vertex 0.5430464736790659 0.0 -0.3929521198483272 + endloop +endfacet +facet normal 0.045056630103733994 -2.0816681711721685e-17 -0.07290315892637333 + outer loop + vertex 0.15009435383073877 -0.15009435383073877 -0.6358098858659154 + vertex 0.5430464736790659 0.0 -0.3929521198483272 + vertex 0.39295211984832706 -0.24285776601758832 -0.48571553203517664 + endloop +endfacet +facet normal 0.07290315892637335 -0.027846528822639306 0.045056630103733994 + outer loop + vertex 0.48571553203517664 -0.3929521198483272 0.24285776601758832 + vertex 0.6358098858659154 -0.15009435383073877 0.15009435383073877 + vertex 0.5430464736790659 0.0 0.39295211984832706 + endloop +endfacet +facet normal 0.07290315892637335 -0.027846528822639327 0.04505663010373404 + outer loop + vertex 0.48571553203517664 -0.3929521198483272 0.24285776601758832 + vertex 0.5430464736790659 0.0 0.39295211984832706 + vertex 0.39295211984832706 -0.24285776601758832 0.48571553203517664 + endloop +endfacet +facet normal 0.09011326020746803 0.0 0.0 + outer loop + vertex 0.6358098858659154 -0.15009435383073877 -0.15009435383073877 + vertex 0.6358098858659154 0.15009435383073877 -0.15009435383073877 + vertex 0.6358098858659154 0.15009435383073877 0.15009435383073877 + endloop +endfacet +facet normal 0.09011326020746803 0.0 -0.0 + outer loop + vertex 0.6358098858659154 -0.15009435383073877 -0.15009435383073877 + vertex 0.6358098858659154 0.15009435383073877 0.15009435383073877 + vertex 0.6358098858659154 -0.15009435383073877 0.15009435383073877 + endloop +endfacet +facet normal 0.07290315892637336 0.045056630103734036 0.0 + outer loop + vertex 0.48571553203517664 0.39295211984832706 -0.24285776601758832 + vertex 0.39295211984832706 0.5430464736790659 0.0 + vertex 0.48571553203517664 0.39295211984832706 0.24285776601758832 + endloop +endfacet +facet normal 0.11795978903010734 0.07290315892637331 -0.0 + outer loop + vertex 0.48571553203517664 0.39295211984832706 -0.24285776601758832 + vertex 0.48571553203517664 0.39295211984832706 0.24285776601758832 + vertex 0.6358098858659154 0.15009435383073877 0.15009435383073877 + endloop +endfacet +facet normal 0.07290315892637332 0.045056630103733994 0.0 + outer loop + vertex 0.48571553203517664 0.39295211984832706 -0.24285776601758832 + vertex 0.6358098858659154 0.15009435383073877 0.15009435383073877 + vertex 0.6358098858659154 0.15009435383073877 -0.15009435383073877 + endloop +endfacet +facet normal 0.02784652882263931 0.04505663010373398 -0.07290315892637333 + outer loop + vertex 0.0 0.39295211984832706 -0.5430464736790659 + vertex 0.24285776601758832 0.48571553203517664 -0.3929521198483272 + vertex 0.39295211984832706 0.24285776601758832 -0.48571553203517664 + endloop +endfacet +facet normal 0.02784652882263931 0.04505663010373399 -0.07290315892637332 + outer loop + vertex 0.0 0.39295211984832706 -0.5430464736790659 + vertex 0.39295211984832706 0.24285776601758832 -0.48571553203517664 + vertex 0.15009435383073877 0.15009435383073877 -0.6358098858659154 + endloop +endfacet +facet normal 0.0 0.07290315892637336 -0.045056630103733994 + outer loop + vertex -0.15009435383073877 0.6358098858659154 -0.15009435383073877 + vertex 0.15009435383073877 0.6358098858659154 -0.15009435383073877 + vertex 0.24285776601758832 0.48571553203517664 -0.3929521198483272 + endloop +endfacet +facet normal -3.469446951953614e-17 0.11795978903010736 -0.07290315892637333 + outer loop + vertex -0.15009435383073877 0.6358098858659154 -0.15009435383073877 + vertex 0.24285776601758832 0.48571553203517664 -0.3929521198483272 + vertex 0.0 0.39295211984832706 -0.5430464736790659 + endloop +endfacet +facet normal 4.163336342344337e-17 0.07290315892637336 -0.04505663010373401 + outer loop + vertex -0.15009435383073877 0.6358098858659154 -0.15009435383073877 + vertex 0.0 0.39295211984832706 -0.5430464736790659 + vertex -0.24285776601758832 0.48571553203517664 -0.3929521198483272 + endloop +endfacet +facet normal 0.04505663010373401 0.07290315892637333 -0.02784652882263933 + outer loop + vertex 0.15009435383073877 0.6358098858659154 -0.15009435383073877 + vertex 0.39295211984832706 0.5430464736790659 0.0 + vertex 0.48571553203517664 0.39295211984832706 -0.24285776601758832 + endloop +endfacet +facet normal 0.045056630103734036 0.07290315892637336 -0.027846528822639303 + outer loop + vertex 0.15009435383073877 0.6358098858659154 -0.15009435383073877 + vertex 0.48571553203517664 0.39295211984832706 -0.24285776601758832 + vertex 0.24285776601758832 0.48571553203517664 -0.3929521198483272 + endloop +endfacet +facet normal -0.07290315892637335 0.027846528822639327 -0.04505663010373398 + outer loop + vertex -0.5430464736790659 0.0 -0.3929521198483272 + vertex -0.6358098858659154 0.15009435383073877 -0.15009435383073877 + vertex -0.48571553203517664 0.39295211984832706 -0.24285776601758832 + endloop +endfacet +facet normal -0.07290315892637332 0.02784652882263932 -0.04505663010373399 + outer loop + vertex -0.5430464736790659 0.0 -0.3929521198483272 + vertex -0.48571553203517664 0.39295211984832706 -0.24285776601758832 + vertex -0.3929521198483272 0.24285776601758832 -0.48571553203517664 + endloop +endfacet +facet normal 0.07290315892637336 -0.045056630103733994 0.0 + outer loop + vertex 0.48571553203517664 -0.3929521198483272 -0.24285776601758832 + vertex 0.6358098858659154 -0.15009435383073877 -0.15009435383073877 + vertex 0.6358098858659154 -0.15009435383073877 0.15009435383073877 + endloop +endfacet +facet normal 0.1179597890301074 -0.07290315892637331 0.0 + outer loop + vertex 0.48571553203517664 -0.3929521198483272 -0.24285776601758832 + vertex 0.6358098858659154 -0.15009435383073877 0.15009435383073877 + vertex 0.48571553203517664 -0.3929521198483272 0.24285776601758832 + endloop +endfacet +facet normal 0.07290315892637331 -0.045056630103734036 0.0 + outer loop + vertex 0.48571553203517664 -0.3929521198483272 -0.24285776601758832 + vertex 0.48571553203517664 -0.3929521198483272 0.24285776601758832 + vertex 0.39295211984832706 -0.5430464736790659 0.0 + endloop +endfacet +facet normal 0.027846528822639327 -0.04505663010373398 -0.07290315892637335 + outer loop + vertex 0.0 -0.3929521198483272 -0.5430464736790659 + vertex 0.15009435383073877 -0.15009435383073877 -0.6358098858659154 + vertex 0.39295211984832706 -0.24285776601758832 -0.48571553203517664 + endloop +endfacet +facet normal 0.02784652882263932 -0.04505663010373399 -0.07290315892637332 + outer loop + vertex 0.0 -0.3929521198483272 -0.5430464736790659 + vertex 0.39295211984832706 -0.24285776601758832 -0.48571553203517664 + vertex 0.24285776601758832 -0.48571553203517664 -0.3929521198483272 + endloop +endfacet +facet normal 0.04505663010373401 6.938893903907228e-18 0.07290315892637333 + outer loop + vertex 0.15009435383073877 -0.15009435383073877 0.6358098858659154 + vertex 0.39295211984832706 -0.24285776601758832 0.48571553203517664 + vertex 0.5430464736790659 0.0 0.39295211984832706 + endloop +endfacet +facet normal 0.07290315892637333 -1.3877787807814457e-17 0.11795978903010737 + outer loop + vertex 0.15009435383073877 -0.15009435383073877 0.6358098858659154 + vertex 0.5430464736790659 0.0 0.39295211984832706 + vertex 0.39295211984832706 0.24285776601758832 0.48571553203517664 + endloop +endfacet +facet normal 0.045056630103734 0.0 0.07290315892637333 + outer loop + vertex 0.15009435383073877 -0.15009435383073877 0.6358098858659154 + vertex 0.39295211984832706 0.24285776601758832 0.48571553203517664 + vertex 0.15009435383073877 0.15009435383073877 0.6358098858659154 + endloop +endfacet +facet normal 0.07290315892637333 0.027846528822639327 0.04505663010373403 + outer loop + vertex 0.48571553203517664 0.39295211984832706 0.24285776601758832 + vertex 0.39295211984832706 0.24285776601758832 0.48571553203517664 + vertex 0.5430464736790659 0.0 0.39295211984832706 + endloop +endfacet +facet normal 0.07290315892637332 0.02784652882263931 0.04505663010373399 + outer loop + vertex 0.48571553203517664 0.39295211984832706 0.24285776601758832 + vertex 0.5430464736790659 0.0 0.39295211984832706 + vertex 0.6358098858659154 0.15009435383073877 0.15009435383073877 + endloop +endfacet +facet normal -0.04505663010373399 -0.07290315892637335 -0.027846528822639334 + outer loop + vertex -0.15009435383073877 -0.6358098858659154 -0.15009435383073877 + vertex -0.3929521198483272 -0.5430464736790659 0.0 + vertex -0.48571553203517664 -0.3929521198483272 -0.24285776601758832 + endloop +endfacet +facet normal -0.04505663010373401 -0.07290315892637336 -0.027846528822639313 + outer loop + vertex -0.15009435383073877 -0.6358098858659154 -0.15009435383073877 + vertex -0.48571553203517664 -0.3929521198483272 -0.24285776601758832 + vertex -0.24285776601758832 -0.48571553203517664 -0.3929521198483272 + endloop +endfacet +facet normal -0.027846528822639334 -0.04505663010373399 -0.07290315892637335 + outer loop + vertex -0.15009435383073877 -0.15009435383073877 -0.6358098858659154 + vertex 0.0 -0.3929521198483272 -0.5430464736790659 + vertex -0.24285776601758832 -0.48571553203517664 -0.3929521198483272 + endloop +endfacet +facet normal -0.027846528822639313 -0.04505663010373401 -0.07290315892637336 + outer loop + vertex -0.15009435383073877 -0.15009435383073877 -0.6358098858659154 + vertex -0.24285776601758832 -0.48571553203517664 -0.3929521198483272 + vertex -0.3929521198483272 -0.24285776601758832 -0.48571553203517664 + endloop +endfacet +facet normal -0.0 0.045056630103733994 0.027846528822639324 + outer loop + vertex -0.15009435383073877 0.15009435383073877 0.6358098858659154 + vertex 0.15009435383073877 0.15009435383073877 0.6358098858659154 + vertex 0.39295211984832706 0.24285776601758832 0.48571553203517664 + endloop +endfacet +facet normal -1.734723475976807e-17 0.11795978903010734 0.07290315892637332 + outer loop + vertex -0.15009435383073877 0.15009435383073877 0.6358098858659154 + vertex 0.39295211984832706 0.24285776601758832 0.48571553203517664 + vertex 0.48571553203517664 0.39295211984832706 0.24285776601758832 + endloop +endfacet +facet normal 1.3877787807814457e-17 0.19086294795648068 0.11795978903010738 + outer loop + vertex -0.15009435383073877 0.15009435383073877 0.6358098858659154 + vertex 0.48571553203517664 0.39295211984832706 0.24285776601758832 + vertex 0.39295211984832706 0.5430464736790659 0.0 + endloop +endfacet +facet normal -5.551115123125783e-17 0.23591957806021469 0.14580631785274661 + outer loop + vertex -0.15009435383073877 0.15009435383073877 0.6358098858659154 + vertex 0.39295211984832706 0.5430464736790659 0.0 + vertex 0.15009435383073877 0.6358098858659154 -0.15009435383073877 + endloop +endfacet +facet normal 0.0 0.23591957806021469 0.14580631785274664 + outer loop + vertex -0.15009435383073877 0.15009435383073877 0.6358098858659154 + vertex 0.15009435383073877 0.6358098858659154 -0.15009435383073877 + vertex -0.15009435383073877 0.6358098858659154 -0.15009435383073877 + endloop +endfacet +facet normal 4.163336342344337e-17 0.19086294795648073 0.11795978903010738 + outer loop + vertex -0.15009435383073877 0.15009435383073877 0.6358098858659154 + vertex -0.15009435383073877 0.6358098858659154 -0.15009435383073877 + vertex -0.3929521198483272 0.5430464736790659 0.0 + endloop +endfacet +facet normal -1.3877787807814457e-17 0.11795978903010731 0.07290315892637333 + outer loop + vertex -0.15009435383073877 0.15009435383073877 0.6358098858659154 + vertex -0.3929521198483272 0.5430464736790659 0.0 + vertex -0.48571553203517664 0.39295211984832706 0.24285776601758832 + endloop +endfacet +facet normal 2.0816681711721685e-17 0.045056630103734056 0.02784652882263933 + outer loop + vertex -0.15009435383073877 0.15009435383073877 0.6358098858659154 + vertex -0.48571553203517664 0.39295211984832706 0.24285776601758832 + vertex -0.3929521198483272 0.24285776601758832 0.48571553203517664 + endloop +endfacet +facet normal -0.07290315892637332 0.045056630103733994 0.0 + outer loop + vertex -0.48571553203517664 0.39295211984832706 -0.24285776601758832 + vertex -0.6358098858659154 0.15009435383073877 -0.15009435383073877 + vertex -0.6358098858659154 0.15009435383073877 0.15009435383073877 + endloop +endfacet +facet normal -0.11795978903010734 0.07290315892637331 0.0 + outer loop + vertex -0.48571553203517664 0.39295211984832706 -0.24285776601758832 + vertex -0.6358098858659154 0.15009435383073877 0.15009435383073877 + vertex -0.48571553203517664 0.39295211984832706 0.24285776601758832 + endloop +endfacet +facet normal -0.07290315892637336 0.04505663010373398 0.0 + outer loop + vertex -0.48571553203517664 0.39295211984832706 -0.24285776601758832 + vertex -0.48571553203517664 0.39295211984832706 0.24285776601758832 + vertex -0.3929521198483272 0.5430464736790659 0.0 + endloop +endfacet +facet normal -0.045056630103734036 0.07290315892637336 -0.027846528822639303 + outer loop + vertex -0.15009435383073877 0.6358098858659154 -0.15009435383073877 + vertex -0.24285776601758832 0.48571553203517664 -0.3929521198483272 + vertex -0.48571553203517664 0.39295211984832706 -0.24285776601758832 + endloop +endfacet +facet normal -0.04505663010373401 0.07290315892637335 -0.02784652882263936 + outer loop + vertex -0.15009435383073877 0.6358098858659154 -0.15009435383073877 + vertex -0.48571553203517664 0.39295211984832706 -0.24285776601758832 + vertex -0.3929521198483272 0.5430464736790659 0.0 + endloop +endfacet +facet normal 0.0 -0.045056630103734056 0.027846528822639362 + outer loop + vertex -0.15009435383073877 -0.15009435383073877 0.6358098858659154 + vertex -0.3929521198483272 -0.24285776601758832 0.48571553203517664 + vertex -0.48571553203517664 -0.3929521198483272 0.24285776601758832 + endloop +endfacet +facet normal 6.245004513516506e-17 -0.11795978903010731 0.07290315892637331 + outer loop + vertex -0.15009435383073877 -0.15009435383073877 0.6358098858659154 + vertex -0.48571553203517664 -0.3929521198483272 0.24285776601758832 + vertex -0.3929521198483272 -0.5430464736790659 0.0 + endloop +endfacet +facet normal 5.551115123125783e-17 -0.19086294795648073 0.11795978903010737 + outer loop + vertex -0.15009435383073877 -0.15009435383073877 0.6358098858659154 + vertex -0.3929521198483272 -0.5430464736790659 0.0 + vertex -0.15009435383073877 -0.6358098858659154 -0.15009435383073877 + endloop +endfacet +facet normal 0.0 -0.23591957806021469 0.14580631785274664 + outer loop + vertex -0.15009435383073877 -0.15009435383073877 0.6358098858659154 + vertex -0.15009435383073877 -0.6358098858659154 -0.15009435383073877 + vertex 0.15009435383073877 -0.6358098858659154 -0.15009435383073877 + endloop +endfacet +facet normal -4.163336342344337e-17 -0.23591957806021466 0.14580631785274661 + outer loop + vertex -0.15009435383073877 -0.15009435383073877 0.6358098858659154 + vertex 0.15009435383073877 -0.6358098858659154 -0.15009435383073877 + vertex 0.39295211984832706 -0.5430464736790659 0.0 + endloop +endfacet +facet normal -5.551115123125783e-17 -0.1908629479564807 0.11795978903010734 + outer loop + vertex -0.15009435383073877 -0.15009435383073877 0.6358098858659154 + vertex 0.39295211984832706 -0.5430464736790659 0.0 + vertex 0.48571553203517664 -0.3929521198483272 0.24285776601758832 + endloop +endfacet +facet normal -6.938893903907228e-18 -0.11795978903010734 0.07290315892637336 + outer loop + vertex -0.15009435383073877 -0.15009435383073877 0.6358098858659154 + vertex 0.48571553203517664 -0.3929521198483272 0.24285776601758832 + vertex 0.39295211984832706 -0.24285776601758832 0.48571553203517664 + endloop +endfacet +facet normal 0.0 -0.045056630103734 0.02784652882263933 + outer loop + vertex -0.15009435383073877 -0.15009435383073877 0.6358098858659154 + vertex 0.39295211984832706 -0.24285776601758832 0.48571553203517664 + vertex 0.15009435383073877 -0.15009435383073877 0.6358098858659154 + endloop +endfacet +facet normal 6.938893903907228e-18 -0.07290315892637336 -0.045056630103733994 + outer loop + vertex -0.15009435383073877 -0.6358098858659154 -0.15009435383073877 + vertex -0.24285776601758832 -0.48571553203517664 -0.3929521198483272 + vertex 0.0 -0.3929521198483272 -0.5430464736790659 + endloop +endfacet +facet normal -6.938893903907228e-18 -0.11795978903010734 -0.0729031589263733 + outer loop + vertex -0.15009435383073877 -0.6358098858659154 -0.15009435383073877 + vertex 0.0 -0.3929521198483272 -0.5430464736790659 + vertex 0.24285776601758832 -0.48571553203517664 -0.3929521198483272 + endloop +endfacet +facet normal 0.0 -0.07290315892637336 -0.045056630103734 + outer loop + vertex -0.15009435383073877 -0.6358098858659154 -0.15009435383073877 + vertex 0.24285776601758832 -0.48571553203517664 -0.3929521198483272 + vertex 0.15009435383073877 -0.6358098858659154 -0.15009435383073877 + endloop +endfacet +facet normal 0.04505663010373401 -0.07290315892637336 -0.027846528822639313 + outer loop + vertex 0.15009435383073877 -0.6358098858659154 -0.15009435383073877 + vertex 0.24285776601758832 -0.48571553203517664 -0.3929521198483272 + vertex 0.48571553203517664 -0.3929521198483272 -0.24285776601758832 + endloop +endfacet +facet normal 0.04505663010373399 -0.07290315892637333 -0.027846528822639306 + outer loop + vertex 0.15009435383073877 -0.6358098858659154 -0.15009435383073877 + vertex 0.48571553203517664 -0.3929521198483272 -0.24285776601758832 + vertex 0.39295211984832706 -0.5430464736790659 0.0 endloop endfacet endsolid ConvexPolyhedron \ No newline at end of file diff --git a/tests/control/convex_polyhedron.vtk b/tests/control/convex_polyhedron.vtk index 5cdef7f5..d72da8d3 100644 --- a/tests/control/convex_polyhedron.vtk +++ b/tests/control/convex_polyhedron.vtk @@ -2,19 +2,97 @@ ConvexPolyhedron created by Coxeter version 0.8.0 ASCII DATASET POLYDATA -POINTS 8 float --1.0 -1.0 -1.0 --1.0 -1.0 1.0 --1.0 1.0 -1.0 --1.0 1.0 1.0 -1.0 -1.0 -1.0 -1.0 -1.0 1.0 -1.0 1.0 -1.0 -1.0 1.0 1.0 -POLYGONS 6 30 -4 0 2 6 4 -4 0 4 5 1 -4 4 6 7 5 -4 0 1 3 2 -4 2 3 7 6 -4 1 5 7 3 \ No newline at end of file +POINTS 50 float +-0.15009435383073877 -0.15009435383073877 -0.6358098858659154 +-0.15009435383073877 -0.15009435383073877 0.6358098858659154 +-0.15009435383073877 0.15009435383073877 -0.6358098858659154 +-0.15009435383073877 0.15009435383073877 0.6358098858659154 +-0.15009435383073877 -0.6358098858659154 -0.15009435383073877 +-0.15009435383073877 0.6358098858659154 -0.15009435383073877 +0.0 -0.3929521198483272 -0.5430464736790659 +0.0 0.39295211984832706 -0.5430464736790659 +0.15009435383073877 -0.15009435383073877 -0.6358098858659154 +0.15009435383073877 -0.15009435383073877 0.6358098858659154 +0.15009435383073877 0.15009435383073877 -0.6358098858659154 +0.15009435383073877 0.15009435383073877 0.6358098858659154 +0.15009435383073877 -0.6358098858659154 -0.15009435383073877 +0.15009435383073877 0.6358098858659154 -0.15009435383073877 +-0.5430464736790659 0.0 -0.3929521198483272 +-0.5430464736790659 0.0 0.39295211984832706 +-0.24285776601758832 -0.48571553203517664 -0.3929521198483272 +-0.24285776601758832 0.48571553203517664 -0.3929521198483272 +-0.48571553203517664 -0.3929521198483272 -0.24285776601758832 +-0.48571553203517664 -0.3929521198483272 0.24285776601758832 +-0.48571553203517664 0.39295211984832706 -0.24285776601758832 +-0.48571553203517664 0.39295211984832706 0.24285776601758832 +-0.6358098858659154 -0.15009435383073877 -0.15009435383073877 +-0.6358098858659154 -0.15009435383073877 0.15009435383073877 +-0.6358098858659154 0.15009435383073877 -0.15009435383073877 +-0.6358098858659154 0.15009435383073877 0.15009435383073877 +-0.3929521198483272 -0.5430464736790659 0.0 +-0.3929521198483272 -0.24285776601758832 -0.48571553203517664 +-0.3929521198483272 -0.24285776601758832 0.48571553203517664 +-0.3929521198483272 0.24285776601758832 -0.48571553203517664 +-0.3929521198483272 0.24285776601758832 0.48571553203517664 +-0.3929521198483272 0.5430464736790659 0.0 +0.24285776601758832 -0.48571553203517664 -0.3929521198483272 +0.24285776601758832 0.48571553203517664 -0.3929521198483272 +0.48571553203517664 -0.3929521198483272 -0.24285776601758832 +0.48571553203517664 -0.3929521198483272 0.24285776601758832 +0.48571553203517664 0.39295211984832706 -0.24285776601758832 +0.48571553203517664 0.39295211984832706 0.24285776601758832 +0.6358098858659154 -0.15009435383073877 -0.15009435383073877 +0.6358098858659154 -0.15009435383073877 0.15009435383073877 +0.6358098858659154 0.15009435383073877 -0.15009435383073877 +0.6358098858659154 0.15009435383073877 0.15009435383073877 +0.39295211984832706 -0.5430464736790659 0.0 +0.39295211984832706 -0.24285776601758832 -0.48571553203517664 +0.39295211984832706 -0.24285776601758832 0.48571553203517664 +0.39295211984832706 0.24285776601758832 -0.48571553203517664 +0.39295211984832706 0.24285776601758832 0.48571553203517664 +0.39295211984832706 0.5430464736790659 0.0 +0.5430464736790659 0.0 -0.3929521198483272 +0.5430464736790659 0.0 0.39295211984832706 +POLYGONS 42 222 +3 38 48 40 +3 14 22 24 +3 15 25 23 +3 2 7 10 +3 0 8 6 +3 39 41 49 +3 33 36 45 +3 17 29 20 +3 32 43 34 +3 16 18 27 +4 15 30 21 25 +4 36 40 48 45 +5 1 3 30 15 28 +4 22 23 25 24 +4 15 23 19 28 +4 34 43 48 38 +4 1 9 11 3 +4 14 27 18 22 +5 18 26 19 23 22 +4 2 29 17 7 +5 0 27 14 29 2 +4 0 2 10 8 +5 8 10 45 48 43 +4 35 39 49 44 +4 38 40 41 39 +5 36 47 37 41 40 +4 7 33 45 10 +5 5 13 33 7 17 +4 13 47 36 33 +4 14 24 20 29 +5 34 38 39 35 42 +4 6 8 43 32 +5 9 44 49 46 11 +4 37 46 49 41 +4 4 26 18 16 +4 0 6 16 27 +10 3 11 46 37 47 13 5 31 21 30 +5 20 24 25 21 31 +4 5 17 20 31 +10 1 28 19 26 4 12 42 35 44 9 +5 4 16 6 32 12 +4 12 32 34 42 \ No newline at end of file diff --git a/tests/control/convex_polyhedron.x3d b/tests/control/convex_polyhedron.x3d index d673d9e4..721b822d 100644 --- a/tests/control/convex_polyhedron.x3d +++ b/tests/control/convex_polyhedron.x3d @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/tests/control/polyhedron.html b/tests/control/polyhedron.html index 3c4d4187..ea5dafae 100644 --- a/tests/control/polyhedron.html +++ b/tests/control/polyhedron.html @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/tests/control/polyhedron.obj b/tests/control/polyhedron.obj index 73d79f00..0a002455 100644 --- a/tests/control/polyhedron.obj +++ b/tests/control/polyhedron.obj @@ -1,18 +1,96 @@ # wavefront obj file written by Coxeter version 0.8.0 # Polyhedron -v -1.0 -1.0 -1.0 -v -1.0 -1.0 1.0 -v -1.0 1.0 -1.0 -v -1.0 1.0 1.0 -v 1.0 -1.0 -1.0 -v 1.0 -1.0 1.0 -v 1.0 1.0 -1.0 -v 1.0 1.0 1.0 +v -0.15009435383073877 -0.15009435383073877 -0.6358098858659154 +v -0.15009435383073877 -0.15009435383073877 0.6358098858659154 +v -0.15009435383073877 0.15009435383073877 -0.6358098858659154 +v -0.15009435383073877 0.15009435383073877 0.6358098858659154 +v -0.15009435383073877 -0.6358098858659154 -0.15009435383073877 +v -0.15009435383073877 0.6358098858659154 -0.15009435383073877 +v 0.0 -0.3929521198483272 -0.5430464736790659 +v 0.0 0.39295211984832706 -0.5430464736790659 +v 0.15009435383073877 -0.15009435383073877 -0.6358098858659154 +v 0.15009435383073877 -0.15009435383073877 0.6358098858659154 +v 0.15009435383073877 0.15009435383073877 -0.6358098858659154 +v 0.15009435383073877 0.15009435383073877 0.6358098858659154 +v 0.15009435383073877 -0.6358098858659154 -0.15009435383073877 +v 0.15009435383073877 0.6358098858659154 -0.15009435383073877 +v -0.5430464736790659 0.0 -0.3929521198483272 +v -0.5430464736790659 0.0 0.39295211984832706 +v -0.24285776601758832 -0.48571553203517664 -0.3929521198483272 +v -0.24285776601758832 0.48571553203517664 -0.3929521198483272 +v -0.48571553203517664 -0.3929521198483272 -0.24285776601758832 +v -0.48571553203517664 -0.3929521198483272 0.24285776601758832 +v -0.48571553203517664 0.39295211984832706 -0.24285776601758832 +v -0.48571553203517664 0.39295211984832706 0.24285776601758832 +v -0.6358098858659154 -0.15009435383073877 -0.15009435383073877 +v -0.6358098858659154 -0.15009435383073877 0.15009435383073877 +v -0.6358098858659154 0.15009435383073877 -0.15009435383073877 +v -0.6358098858659154 0.15009435383073877 0.15009435383073877 +v -0.3929521198483272 -0.5430464736790659 0.0 +v -0.3929521198483272 -0.24285776601758832 -0.48571553203517664 +v -0.3929521198483272 -0.24285776601758832 0.48571553203517664 +v -0.3929521198483272 0.24285776601758832 -0.48571553203517664 +v -0.3929521198483272 0.24285776601758832 0.48571553203517664 +v -0.3929521198483272 0.5430464736790659 0.0 +v 0.24285776601758832 -0.48571553203517664 -0.3929521198483272 +v 0.24285776601758832 0.48571553203517664 -0.3929521198483272 +v 0.48571553203517664 -0.3929521198483272 -0.24285776601758832 +v 0.48571553203517664 -0.3929521198483272 0.24285776601758832 +v 0.48571553203517664 0.39295211984832706 -0.24285776601758832 +v 0.48571553203517664 0.39295211984832706 0.24285776601758832 +v 0.6358098858659154 -0.15009435383073877 -0.15009435383073877 +v 0.6358098858659154 -0.15009435383073877 0.15009435383073877 +v 0.6358098858659154 0.15009435383073877 -0.15009435383073877 +v 0.6358098858659154 0.15009435383073877 0.15009435383073877 +v 0.39295211984832706 -0.5430464736790659 0.0 +v 0.39295211984832706 -0.24285776601758832 -0.48571553203517664 +v 0.39295211984832706 -0.24285776601758832 0.48571553203517664 +v 0.39295211984832706 0.24285776601758832 -0.48571553203517664 +v 0.39295211984832706 0.24285776601758832 0.48571553203517664 +v 0.39295211984832706 0.5430464736790659 0.0 +v 0.5430464736790659 0.0 -0.3929521198483272 +v 0.5430464736790659 0.0 0.39295211984832706 -f 1 2 4 3 -f 1 3 7 5 -f 5 7 8 6 -f 2 6 8 4 -f 1 5 6 2 -f 7 3 4 8 \ No newline at end of file +f 39 49 41 +f 15 23 25 +f 16 26 24 +f 3 8 11 +f 1 9 7 +f 40 42 50 +f 34 37 46 +f 18 30 21 +f 33 44 35 +f 17 19 28 +f 16 31 22 26 +f 37 41 49 46 +f 2 4 31 16 29 +f 23 24 26 25 +f 16 24 20 29 +f 35 44 49 39 +f 2 10 12 4 +f 15 28 19 23 +f 19 27 20 24 23 +f 3 30 18 8 +f 1 28 15 30 3 +f 1 3 11 9 +f 9 11 46 49 44 +f 36 40 50 45 +f 39 41 42 40 +f 37 48 38 42 41 +f 8 34 46 11 +f 6 14 34 8 18 +f 14 48 37 34 +f 15 25 21 30 +f 35 39 40 36 43 +f 7 9 44 33 +f 10 45 50 47 12 +f 38 47 50 42 +f 5 27 19 17 +f 1 7 17 28 +f 4 12 47 38 48 14 6 32 22 31 +f 21 25 26 22 32 +f 6 18 21 32 +f 2 29 20 27 5 13 43 36 45 10 +f 5 17 7 33 13 +f 13 33 35 43 \ No newline at end of file diff --git a/tests/control/polyhedron.off b/tests/control/polyhedron.off index bfe2e196..9fa54829 100644 --- a/tests/control/polyhedron.off +++ b/tests/control/polyhedron.off @@ -1,18 +1,96 @@ OFF # OFF file written by Coxeter version 0.8.0 # Polyhedron -8 f6 12 --1.0 -1.0 -1.0 --1.0 -1.0 1.0 --1.0 1.0 -1.0 --1.0 1.0 1.0 -1.0 -1.0 -1.0 -1.0 -1.0 1.0 -1.0 1.0 -1.0 -1.0 1.0 1.0 -4 0 1 3 2 -4 0 2 6 4 -4 4 6 7 5 -4 1 5 7 3 -4 0 4 5 1 -4 6 2 3 7 \ No newline at end of file +50 f42 90 +-0.15009435383073877 -0.15009435383073877 -0.6358098858659154 +-0.15009435383073877 -0.15009435383073877 0.6358098858659154 +-0.15009435383073877 0.15009435383073877 -0.6358098858659154 +-0.15009435383073877 0.15009435383073877 0.6358098858659154 +-0.15009435383073877 -0.6358098858659154 -0.15009435383073877 +-0.15009435383073877 0.6358098858659154 -0.15009435383073877 +0.0 -0.3929521198483272 -0.5430464736790659 +0.0 0.39295211984832706 -0.5430464736790659 +0.15009435383073877 -0.15009435383073877 -0.6358098858659154 +0.15009435383073877 -0.15009435383073877 0.6358098858659154 +0.15009435383073877 0.15009435383073877 -0.6358098858659154 +0.15009435383073877 0.15009435383073877 0.6358098858659154 +0.15009435383073877 -0.6358098858659154 -0.15009435383073877 +0.15009435383073877 0.6358098858659154 -0.15009435383073877 +-0.5430464736790659 0.0 -0.3929521198483272 +-0.5430464736790659 0.0 0.39295211984832706 +-0.24285776601758832 -0.48571553203517664 -0.3929521198483272 +-0.24285776601758832 0.48571553203517664 -0.3929521198483272 +-0.48571553203517664 -0.3929521198483272 -0.24285776601758832 +-0.48571553203517664 -0.3929521198483272 0.24285776601758832 +-0.48571553203517664 0.39295211984832706 -0.24285776601758832 +-0.48571553203517664 0.39295211984832706 0.24285776601758832 +-0.6358098858659154 -0.15009435383073877 -0.15009435383073877 +-0.6358098858659154 -0.15009435383073877 0.15009435383073877 +-0.6358098858659154 0.15009435383073877 -0.15009435383073877 +-0.6358098858659154 0.15009435383073877 0.15009435383073877 +-0.3929521198483272 -0.5430464736790659 0.0 +-0.3929521198483272 -0.24285776601758832 -0.48571553203517664 +-0.3929521198483272 -0.24285776601758832 0.48571553203517664 +-0.3929521198483272 0.24285776601758832 -0.48571553203517664 +-0.3929521198483272 0.24285776601758832 0.48571553203517664 +-0.3929521198483272 0.5430464736790659 0.0 +0.24285776601758832 -0.48571553203517664 -0.3929521198483272 +0.24285776601758832 0.48571553203517664 -0.3929521198483272 +0.48571553203517664 -0.3929521198483272 -0.24285776601758832 +0.48571553203517664 -0.3929521198483272 0.24285776601758832 +0.48571553203517664 0.39295211984832706 -0.24285776601758832 +0.48571553203517664 0.39295211984832706 0.24285776601758832 +0.6358098858659154 -0.15009435383073877 -0.15009435383073877 +0.6358098858659154 -0.15009435383073877 0.15009435383073877 +0.6358098858659154 0.15009435383073877 -0.15009435383073877 +0.6358098858659154 0.15009435383073877 0.15009435383073877 +0.39295211984832706 -0.5430464736790659 0.0 +0.39295211984832706 -0.24285776601758832 -0.48571553203517664 +0.39295211984832706 -0.24285776601758832 0.48571553203517664 +0.39295211984832706 0.24285776601758832 -0.48571553203517664 +0.39295211984832706 0.24285776601758832 0.48571553203517664 +0.39295211984832706 0.5430464736790659 0.0 +0.5430464736790659 0.0 -0.3929521198483272 +0.5430464736790659 0.0 0.39295211984832706 +3 38 48 40 +3 14 22 24 +3 15 25 23 +3 2 7 10 +3 0 8 6 +3 39 41 49 +3 33 36 45 +3 17 29 20 +3 32 43 34 +3 16 18 27 +4 15 30 21 25 +4 36 40 48 45 +5 1 3 30 15 28 +4 22 23 25 24 +4 15 23 19 28 +4 34 43 48 38 +4 1 9 11 3 +4 14 27 18 22 +5 18 26 19 23 22 +4 2 29 17 7 +5 0 27 14 29 2 +4 0 2 10 8 +5 8 10 45 48 43 +4 35 39 49 44 +4 38 40 41 39 +5 36 47 37 41 40 +4 7 33 45 10 +5 5 13 33 7 17 +4 13 47 36 33 +4 14 24 20 29 +5 34 38 39 35 42 +4 6 8 43 32 +5 9 44 49 46 11 +4 37 46 49 41 +4 4 26 18 16 +4 0 6 16 27 +10 3 11 46 37 47 13 5 31 21 30 +5 20 24 25 21 31 +4 5 17 20 31 +10 1 28 19 26 4 12 42 35 44 9 +5 4 16 6 32 12 +4 12 32 34 42 \ No newline at end of file diff --git a/tests/control/polyhedron.ply b/tests/control/polyhedron.ply index 2de634b2..29238975 100644 --- a/tests/control/polyhedron.ply +++ b/tests/control/polyhedron.ply @@ -2,24 +2,102 @@ ply format ascii 1.0 comment PLY file written by Coxeter version 0.8.0 comment Polyhedron -element vertex 8 +element vertex 50 property float x property float y property float z -element face 6 +element face 42 property list uchar uint vertex_indices end_header --1.0 -1.0 -1.0 --1.0 -1.0 1.0 --1.0 1.0 -1.0 --1.0 1.0 1.0 -1.0 -1.0 -1.0 -1.0 -1.0 1.0 -1.0 1.0 -1.0 -1.0 1.0 1.0 -4 0 1 3 2 -4 0 2 6 4 -4 4 6 7 5 -4 1 5 7 3 -4 0 4 5 1 -4 6 2 3 7 \ No newline at end of file +-0.15009435383073877 -0.15009435383073877 -0.6358098858659154 +-0.15009435383073877 -0.15009435383073877 0.6358098858659154 +-0.15009435383073877 0.15009435383073877 -0.6358098858659154 +-0.15009435383073877 0.15009435383073877 0.6358098858659154 +-0.15009435383073877 -0.6358098858659154 -0.15009435383073877 +-0.15009435383073877 0.6358098858659154 -0.15009435383073877 +0.0 -0.3929521198483272 -0.5430464736790659 +0.0 0.39295211984832706 -0.5430464736790659 +0.15009435383073877 -0.15009435383073877 -0.6358098858659154 +0.15009435383073877 -0.15009435383073877 0.6358098858659154 +0.15009435383073877 0.15009435383073877 -0.6358098858659154 +0.15009435383073877 0.15009435383073877 0.6358098858659154 +0.15009435383073877 -0.6358098858659154 -0.15009435383073877 +0.15009435383073877 0.6358098858659154 -0.15009435383073877 +-0.5430464736790659 0.0 -0.3929521198483272 +-0.5430464736790659 0.0 0.39295211984832706 +-0.24285776601758832 -0.48571553203517664 -0.3929521198483272 +-0.24285776601758832 0.48571553203517664 -0.3929521198483272 +-0.48571553203517664 -0.3929521198483272 -0.24285776601758832 +-0.48571553203517664 -0.3929521198483272 0.24285776601758832 +-0.48571553203517664 0.39295211984832706 -0.24285776601758832 +-0.48571553203517664 0.39295211984832706 0.24285776601758832 +-0.6358098858659154 -0.15009435383073877 -0.15009435383073877 +-0.6358098858659154 -0.15009435383073877 0.15009435383073877 +-0.6358098858659154 0.15009435383073877 -0.15009435383073877 +-0.6358098858659154 0.15009435383073877 0.15009435383073877 +-0.3929521198483272 -0.5430464736790659 0.0 +-0.3929521198483272 -0.24285776601758832 -0.48571553203517664 +-0.3929521198483272 -0.24285776601758832 0.48571553203517664 +-0.3929521198483272 0.24285776601758832 -0.48571553203517664 +-0.3929521198483272 0.24285776601758832 0.48571553203517664 +-0.3929521198483272 0.5430464736790659 0.0 +0.24285776601758832 -0.48571553203517664 -0.3929521198483272 +0.24285776601758832 0.48571553203517664 -0.3929521198483272 +0.48571553203517664 -0.3929521198483272 -0.24285776601758832 +0.48571553203517664 -0.3929521198483272 0.24285776601758832 +0.48571553203517664 0.39295211984832706 -0.24285776601758832 +0.48571553203517664 0.39295211984832706 0.24285776601758832 +0.6358098858659154 -0.15009435383073877 -0.15009435383073877 +0.6358098858659154 -0.15009435383073877 0.15009435383073877 +0.6358098858659154 0.15009435383073877 -0.15009435383073877 +0.6358098858659154 0.15009435383073877 0.15009435383073877 +0.39295211984832706 -0.5430464736790659 0.0 +0.39295211984832706 -0.24285776601758832 -0.48571553203517664 +0.39295211984832706 -0.24285776601758832 0.48571553203517664 +0.39295211984832706 0.24285776601758832 -0.48571553203517664 +0.39295211984832706 0.24285776601758832 0.48571553203517664 +0.39295211984832706 0.5430464736790659 0.0 +0.5430464736790659 0.0 -0.3929521198483272 +0.5430464736790659 0.0 0.39295211984832706 +3 38 48 40 +3 14 22 24 +3 15 25 23 +3 2 7 10 +3 0 8 6 +3 39 41 49 +3 33 36 45 +3 17 29 20 +3 32 43 34 +3 16 18 27 +4 15 30 21 25 +4 36 40 48 45 +5 1 3 30 15 28 +4 22 23 25 24 +4 15 23 19 28 +4 34 43 48 38 +4 1 9 11 3 +4 14 27 18 22 +5 18 26 19 23 22 +4 2 29 17 7 +5 0 27 14 29 2 +4 0 2 10 8 +5 8 10 45 48 43 +4 35 39 49 44 +4 38 40 41 39 +5 36 47 37 41 40 +4 7 33 45 10 +5 5 13 33 7 17 +4 13 47 36 33 +4 14 24 20 29 +5 34 38 39 35 42 +4 6 8 43 32 +5 9 44 49 46 11 +4 37 46 49 41 +4 4 26 18 16 +4 0 6 16 27 +10 3 11 46 37 47 13 5 31 21 30 +5 20 24 25 21 31 +4 5 17 20 31 +10 1 28 19 26 4 12 42 35 44 9 +5 4 16 6 32 12 +4 12 32 34 42 \ No newline at end of file diff --git a/tests/control/polyhedron.stl b/tests/control/polyhedron.stl index 36280262..565ff493 100644 --- a/tests/control/polyhedron.stl +++ b/tests/control/polyhedron.stl @@ -1,86 +1,674 @@ solid Polyhedron -facet normal -4.0 0.0 0.0 +facet normal 0.07290315892637336 0.0 -0.0278465288226393 outer loop - vertex -1.0 -1.0 -1.0 - vertex -1.0 -1.0 1.0 - vertex -1.0 1.0 1.0 + vertex 0.6358098858659154 -0.15009435383073877 -0.15009435383073877 + vertex 0.5430464736790659 0.0 -0.3929521198483272 + vertex 0.6358098858659154 0.15009435383073877 -0.15009435383073877 endloop endfacet -facet normal -4.0 0.0 0.0 +facet normal -0.07290315892637336 0.0 -0.0278465288226393 outer loop - vertex -1.0 -1.0 -1.0 - vertex -1.0 1.0 1.0 - vertex -1.0 1.0 -1.0 + vertex -0.5430464736790659 0.0 -0.3929521198483272 + vertex -0.6358098858659154 -0.15009435383073877 -0.15009435383073877 + vertex -0.6358098858659154 0.15009435383073877 -0.15009435383073877 endloop endfacet -facet normal 0.0 0.0 -4.0 +facet normal -0.07290315892637332 0.0 0.0278465288226393 outer loop - vertex -1.0 -1.0 -1.0 - vertex -1.0 1.0 -1.0 - vertex 1.0 1.0 -1.0 + vertex -0.5430464736790659 0.0 0.39295211984832706 + vertex -0.6358098858659154 0.15009435383073877 0.15009435383073877 + vertex -0.6358098858659154 -0.15009435383073877 0.15009435383073877 endloop endfacet -facet normal 0.0 0.0 -4.0 +facet normal 0.0 0.0278465288226393 -0.07290315892637332 outer loop - vertex -1.0 -1.0 -1.0 - vertex 1.0 1.0 -1.0 - vertex 1.0 -1.0 -1.0 + vertex -0.15009435383073877 0.15009435383073877 -0.6358098858659154 + vertex 0.0 0.39295211984832706 -0.5430464736790659 + vertex 0.15009435383073877 0.15009435383073877 -0.6358098858659154 endloop endfacet -facet normal 4.0 0.0 0.0 +facet normal 0.0 -0.0278465288226393 -0.07290315892637336 outer loop - vertex 1.0 -1.0 -1.0 - vertex 1.0 1.0 -1.0 - vertex 1.0 1.0 1.0 + vertex -0.15009435383073877 -0.15009435383073877 -0.6358098858659154 + vertex 0.15009435383073877 -0.15009435383073877 -0.6358098858659154 + vertex 0.0 -0.3929521198483272 -0.5430464736790659 endloop endfacet -facet normal 4.0 0.0 -0.0 +facet normal 0.07290315892637332 -0.0 0.0278465288226393 outer loop - vertex 1.0 -1.0 -1.0 - vertex 1.0 1.0 1.0 - vertex 1.0 -1.0 1.0 + vertex 0.6358098858659154 -0.15009435383073877 0.15009435383073877 + vertex 0.6358098858659154 0.15009435383073877 0.15009435383073877 + vertex 0.5430464736790659 0.0 0.39295211984832706 endloop endfacet -facet normal 0.0 0.0 4.0 +facet normal 0.045056630103734036 0.04505663010373401 -0.045056630103734015 outer loop - vertex -1.0 -1.0 1.0 - vertex 1.0 -1.0 1.0 - vertex 1.0 1.0 1.0 + vertex 0.24285776601758832 0.48571553203517664 -0.3929521198483272 + vertex 0.48571553203517664 0.39295211984832706 -0.24285776601758832 + vertex 0.39295211984832706 0.24285776601758832 -0.48571553203517664 endloop endfacet -facet normal 0.0 -0.0 4.0 +facet normal -0.045056630103734036 0.04505663010373402 -0.04505663010373401 outer loop - vertex -1.0 -1.0 1.0 - vertex 1.0 1.0 1.0 - vertex -1.0 1.0 1.0 + vertex -0.24285776601758832 0.48571553203517664 -0.3929521198483272 + vertex -0.3929521198483272 0.24285776601758832 -0.48571553203517664 + vertex -0.48571553203517664 0.39295211984832706 -0.24285776601758832 endloop endfacet -facet normal 0.0 -4.0 0.0 +facet normal 0.04505663010373402 -0.04505663010373401 -0.045056630103734036 outer loop - vertex -1.0 -1.0 -1.0 - vertex 1.0 -1.0 -1.0 - vertex 1.0 -1.0 1.0 + vertex 0.24285776601758832 -0.48571553203517664 -0.3929521198483272 + vertex 0.39295211984832706 -0.24285776601758832 -0.48571553203517664 + vertex 0.48571553203517664 -0.3929521198483272 -0.24285776601758832 endloop endfacet -facet normal 0.0 -4.0 0.0 +facet normal -0.04505663010373402 -0.04505663010373402 -0.04505663010373402 outer loop - vertex -1.0 -1.0 -1.0 - vertex 1.0 -1.0 1.0 - vertex -1.0 -1.0 1.0 + vertex -0.24285776601758832 -0.48571553203517664 -0.3929521198483272 + vertex -0.48571553203517664 -0.3929521198483272 -0.24285776601758832 + vertex -0.3929521198483272 -0.24285776601758832 -0.48571553203517664 endloop endfacet -facet normal 0.0 4.0 -0.0 +facet normal -0.07290315892637333 0.02784652882263931 0.04505663010373398 outer loop - vertex 1.0 1.0 -1.0 - vertex -1.0 1.0 -1.0 - vertex -1.0 1.0 1.0 + vertex -0.5430464736790659 0.0 0.39295211984832706 + vertex -0.3929521198483272 0.24285776601758832 0.48571553203517664 + vertex -0.48571553203517664 0.39295211984832706 0.24285776601758832 endloop endfacet -facet normal 0.0 4.0 -0.0 +facet normal -0.07290315892637332 0.02784652882263931 0.04505663010373399 outer loop - vertex 1.0 1.0 -1.0 - vertex -1.0 1.0 1.0 - vertex 1.0 1.0 1.0 + vertex -0.5430464736790659 0.0 0.39295211984832706 + vertex -0.48571553203517664 0.39295211984832706 0.24285776601758832 + vertex -0.6358098858659154 0.15009435383073877 0.15009435383073877 + endloop +endfacet +facet normal 0.07290315892637335 0.027846528822639327 -0.04505663010373398 + outer loop + vertex 0.48571553203517664 0.39295211984832706 -0.24285776601758832 + vertex 0.6358098858659154 0.15009435383073877 -0.15009435383073877 + vertex 0.5430464736790659 0.0 -0.3929521198483272 + endloop +endfacet +facet normal 0.07290315892637333 0.02784652882263934 -0.04505663010373403 + outer loop + vertex 0.48571553203517664 0.39295211984832706 -0.24285776601758832 + vertex 0.5430464736790659 0.0 -0.3929521198483272 + vertex 0.39295211984832706 0.24285776601758832 -0.48571553203517664 + endloop +endfacet +facet normal -0.045056630103733994 0.0 0.07290315892637336 + outer loop + vertex -0.15009435383073877 -0.15009435383073877 0.6358098858659154 + vertex -0.15009435383073877 0.15009435383073877 0.6358098858659154 + vertex -0.3929521198483272 0.24285776601758832 0.48571553203517664 + endloop +endfacet +facet normal -0.07290315892637333 -3.469446951953614e-17 0.11795978903010736 + outer loop + vertex -0.15009435383073877 -0.15009435383073877 0.6358098858659154 + vertex -0.3929521198483272 0.24285776601758832 0.48571553203517664 + vertex -0.5430464736790659 0.0 0.39295211984832706 + endloop +endfacet +facet normal -0.04505663010373401 4.163336342344337e-17 0.07290315892637336 + outer loop + vertex -0.15009435383073877 -0.15009435383073877 0.6358098858659154 + vertex -0.5430464736790659 0.0 0.39295211984832706 + vertex -0.3929521198483272 -0.24285776601758832 0.48571553203517664 + endloop +endfacet +facet normal -0.09011326020746803 0.0 0.0 + outer loop + vertex -0.6358098858659154 -0.15009435383073877 -0.15009435383073877 + vertex -0.6358098858659154 -0.15009435383073877 0.15009435383073877 + vertex -0.6358098858659154 0.15009435383073877 0.15009435383073877 + endloop +endfacet +facet normal -0.09011326020746803 0.0 0.0 + outer loop + vertex -0.6358098858659154 -0.15009435383073877 -0.15009435383073877 + vertex -0.6358098858659154 0.15009435383073877 0.15009435383073877 + vertex -0.6358098858659154 0.15009435383073877 -0.15009435383073877 + endloop +endfacet +facet normal -0.07290315892637335 -0.027846528822639306 0.045056630103733994 + outer loop + vertex -0.5430464736790659 0.0 0.39295211984832706 + vertex -0.6358098858659154 -0.15009435383073877 0.15009435383073877 + vertex -0.48571553203517664 -0.3929521198483272 0.24285776601758832 + endloop +endfacet +facet normal -0.07290315892637335 -0.027846528822639313 0.045056630103734 + outer loop + vertex -0.5430464736790659 0.0 0.39295211984832706 + vertex -0.48571553203517664 -0.3929521198483272 0.24285776601758832 + vertex -0.3929521198483272 -0.24285776601758832 0.48571553203517664 + endloop +endfacet +facet normal 0.07290315892637333 -0.027846528822639337 -0.04505663010373405 + outer loop + vertex 0.48571553203517664 -0.3929521198483272 -0.24285776601758832 + vertex 0.39295211984832706 -0.24285776601758832 -0.48571553203517664 + vertex 0.5430464736790659 0.0 -0.3929521198483272 + endloop +endfacet +facet normal 0.07290315892637338 -0.027846528822639327 -0.045056630103733994 + outer loop + vertex 0.48571553203517664 -0.3929521198483272 -0.24285776601758832 + vertex 0.5430464736790659 0.0 -0.3929521198483272 + vertex 0.6358098858659154 -0.15009435383073877 -0.15009435383073877 + endloop +endfacet +facet normal 0.0 0.0 0.09011326020746803 + outer loop + vertex -0.15009435383073877 -0.15009435383073877 0.6358098858659154 + vertex 0.15009435383073877 -0.15009435383073877 0.6358098858659154 + vertex 0.15009435383073877 0.15009435383073877 0.6358098858659154 + endloop +endfacet +facet normal 0.0 -0.0 0.09011326020746803 + outer loop + vertex -0.15009435383073877 -0.15009435383073877 0.6358098858659154 + vertex 0.15009435383073877 0.15009435383073877 0.6358098858659154 + vertex -0.15009435383073877 0.15009435383073877 0.6358098858659154 + endloop +endfacet +facet normal -0.07290315892637333 -0.02784652882263932 -0.045056630103734 + outer loop + vertex -0.5430464736790659 0.0 -0.3929521198483272 + vertex -0.3929521198483272 -0.24285776601758832 -0.48571553203517664 + vertex -0.48571553203517664 -0.3929521198483272 -0.24285776601758832 + endloop +endfacet +facet normal -0.07290315892637339 -0.027846528822639327 -0.045056630103733994 + outer loop + vertex -0.5430464736790659 0.0 -0.3929521198483272 + vertex -0.48571553203517664 -0.3929521198483272 -0.24285776601758832 + vertex -0.6358098858659154 -0.15009435383073877 -0.15009435383073877 + endloop +endfacet +facet normal -0.07290315892637331 -0.04505663010373398 0.0 + outer loop + vertex -0.48571553203517664 -0.3929521198483272 -0.24285776601758832 + vertex -0.3929521198483272 -0.5430464736790659 0.0 + vertex -0.48571553203517664 -0.3929521198483272 0.24285776601758832 + endloop +endfacet +facet normal -0.1179597890301074 -0.07290315892637331 0.0 + outer loop + vertex -0.48571553203517664 -0.3929521198483272 -0.24285776601758832 + vertex -0.48571553203517664 -0.3929521198483272 0.24285776601758832 + vertex -0.6358098858659154 -0.15009435383073877 0.15009435383073877 + endloop +endfacet +facet normal -0.07290315892637336 -0.045056630103733994 -0.0 + outer loop + vertex -0.48571553203517664 -0.3929521198483272 -0.24285776601758832 + vertex -0.6358098858659154 -0.15009435383073877 0.15009435383073877 + vertex -0.6358098858659154 -0.15009435383073877 -0.15009435383073877 + endloop +endfacet +facet normal -0.027846528822639313 0.04505663010373401 -0.07290315892637336 + outer loop + vertex -0.15009435383073877 0.15009435383073877 -0.6358098858659154 + vertex -0.3929521198483272 0.24285776601758832 -0.48571553203517664 + vertex -0.24285776601758832 0.48571553203517664 -0.3929521198483272 + endloop +endfacet +facet normal -0.027846528822639306 0.04505663010373399 -0.07290315892637333 + outer loop + vertex -0.15009435383073877 0.15009435383073877 -0.6358098858659154 + vertex -0.24285776601758832 0.48571553203517664 -0.3929521198483272 + vertex 0.0 0.39295211984832706 -0.5430464736790659 + endloop +endfacet +facet normal -0.045056630103733994 6.938893903907228e-18 -0.07290315892637336 + outer loop + vertex -0.15009435383073877 -0.15009435383073877 -0.6358098858659154 + vertex -0.3929521198483272 -0.24285776601758832 -0.48571553203517664 + vertex -0.5430464736790659 0.0 -0.3929521198483272 + endloop +endfacet +facet normal -0.0729031589263733 -6.938893903907228e-18 -0.11795978903010734 + outer loop + vertex -0.15009435383073877 -0.15009435383073877 -0.6358098858659154 + vertex -0.5430464736790659 0.0 -0.3929521198483272 + vertex -0.3929521198483272 0.24285776601758832 -0.48571553203517664 + endloop +endfacet +facet normal -0.045056630103734 0.0 -0.07290315892637336 + outer loop + vertex -0.15009435383073877 -0.15009435383073877 -0.6358098858659154 + vertex -0.3929521198483272 0.24285776601758832 -0.48571553203517664 + vertex -0.15009435383073877 0.15009435383073877 -0.6358098858659154 + endloop +endfacet +facet normal 0.0 0.0 -0.09011326020746803 + outer loop + vertex -0.15009435383073877 -0.15009435383073877 -0.6358098858659154 + vertex -0.15009435383073877 0.15009435383073877 -0.6358098858659154 + vertex 0.15009435383073877 0.15009435383073877 -0.6358098858659154 + endloop +endfacet +facet normal 0.0 0.0 -0.09011326020746803 + outer loop + vertex -0.15009435383073877 -0.15009435383073877 -0.6358098858659154 + vertex 0.15009435383073877 0.15009435383073877 -0.6358098858659154 + vertex 0.15009435383073877 -0.15009435383073877 -0.6358098858659154 + endloop +endfacet +facet normal 0.045056630103733994 0.0 -0.07290315892637332 + outer loop + vertex 0.15009435383073877 -0.15009435383073877 -0.6358098858659154 + vertex 0.15009435383073877 0.15009435383073877 -0.6358098858659154 + vertex 0.39295211984832706 0.24285776601758832 -0.48571553203517664 + endloop +endfacet +facet normal 0.0729031589263733 2.0816681711721685e-17 -0.11795978903010737 + outer loop + vertex 0.15009435383073877 -0.15009435383073877 -0.6358098858659154 + vertex 0.39295211984832706 0.24285776601758832 -0.48571553203517664 + vertex 0.5430464736790659 0.0 -0.3929521198483272 + endloop +endfacet +facet normal 0.045056630103733994 -2.0816681711721685e-17 -0.07290315892637333 + outer loop + vertex 0.15009435383073877 -0.15009435383073877 -0.6358098858659154 + vertex 0.5430464736790659 0.0 -0.3929521198483272 + vertex 0.39295211984832706 -0.24285776601758832 -0.48571553203517664 + endloop +endfacet +facet normal 0.07290315892637335 -0.027846528822639306 0.045056630103733994 + outer loop + vertex 0.48571553203517664 -0.3929521198483272 0.24285776601758832 + vertex 0.6358098858659154 -0.15009435383073877 0.15009435383073877 + vertex 0.5430464736790659 0.0 0.39295211984832706 + endloop +endfacet +facet normal 0.07290315892637335 -0.027846528822639327 0.04505663010373404 + outer loop + vertex 0.48571553203517664 -0.3929521198483272 0.24285776601758832 + vertex 0.5430464736790659 0.0 0.39295211984832706 + vertex 0.39295211984832706 -0.24285776601758832 0.48571553203517664 + endloop +endfacet +facet normal 0.09011326020746803 0.0 0.0 + outer loop + vertex 0.6358098858659154 -0.15009435383073877 -0.15009435383073877 + vertex 0.6358098858659154 0.15009435383073877 -0.15009435383073877 + vertex 0.6358098858659154 0.15009435383073877 0.15009435383073877 + endloop +endfacet +facet normal 0.09011326020746803 0.0 -0.0 + outer loop + vertex 0.6358098858659154 -0.15009435383073877 -0.15009435383073877 + vertex 0.6358098858659154 0.15009435383073877 0.15009435383073877 + vertex 0.6358098858659154 -0.15009435383073877 0.15009435383073877 + endloop +endfacet +facet normal 0.07290315892637336 0.045056630103734036 0.0 + outer loop + vertex 0.48571553203517664 0.39295211984832706 -0.24285776601758832 + vertex 0.39295211984832706 0.5430464736790659 0.0 + vertex 0.48571553203517664 0.39295211984832706 0.24285776601758832 + endloop +endfacet +facet normal 0.11795978903010734 0.07290315892637331 -0.0 + outer loop + vertex 0.48571553203517664 0.39295211984832706 -0.24285776601758832 + vertex 0.48571553203517664 0.39295211984832706 0.24285776601758832 + vertex 0.6358098858659154 0.15009435383073877 0.15009435383073877 + endloop +endfacet +facet normal 0.07290315892637332 0.045056630103733994 0.0 + outer loop + vertex 0.48571553203517664 0.39295211984832706 -0.24285776601758832 + vertex 0.6358098858659154 0.15009435383073877 0.15009435383073877 + vertex 0.6358098858659154 0.15009435383073877 -0.15009435383073877 + endloop +endfacet +facet normal 0.02784652882263931 0.04505663010373398 -0.07290315892637333 + outer loop + vertex 0.0 0.39295211984832706 -0.5430464736790659 + vertex 0.24285776601758832 0.48571553203517664 -0.3929521198483272 + vertex 0.39295211984832706 0.24285776601758832 -0.48571553203517664 + endloop +endfacet +facet normal 0.02784652882263931 0.04505663010373399 -0.07290315892637332 + outer loop + vertex 0.0 0.39295211984832706 -0.5430464736790659 + vertex 0.39295211984832706 0.24285776601758832 -0.48571553203517664 + vertex 0.15009435383073877 0.15009435383073877 -0.6358098858659154 + endloop +endfacet +facet normal 0.0 0.07290315892637336 -0.045056630103733994 + outer loop + vertex -0.15009435383073877 0.6358098858659154 -0.15009435383073877 + vertex 0.15009435383073877 0.6358098858659154 -0.15009435383073877 + vertex 0.24285776601758832 0.48571553203517664 -0.3929521198483272 + endloop +endfacet +facet normal -3.469446951953614e-17 0.11795978903010736 -0.07290315892637333 + outer loop + vertex -0.15009435383073877 0.6358098858659154 -0.15009435383073877 + vertex 0.24285776601758832 0.48571553203517664 -0.3929521198483272 + vertex 0.0 0.39295211984832706 -0.5430464736790659 + endloop +endfacet +facet normal 4.163336342344337e-17 0.07290315892637336 -0.04505663010373401 + outer loop + vertex -0.15009435383073877 0.6358098858659154 -0.15009435383073877 + vertex 0.0 0.39295211984832706 -0.5430464736790659 + vertex -0.24285776601758832 0.48571553203517664 -0.3929521198483272 + endloop +endfacet +facet normal 0.04505663010373401 0.07290315892637333 -0.02784652882263933 + outer loop + vertex 0.15009435383073877 0.6358098858659154 -0.15009435383073877 + vertex 0.39295211984832706 0.5430464736790659 0.0 + vertex 0.48571553203517664 0.39295211984832706 -0.24285776601758832 + endloop +endfacet +facet normal 0.045056630103734036 0.07290315892637336 -0.027846528822639303 + outer loop + vertex 0.15009435383073877 0.6358098858659154 -0.15009435383073877 + vertex 0.48571553203517664 0.39295211984832706 -0.24285776601758832 + vertex 0.24285776601758832 0.48571553203517664 -0.3929521198483272 + endloop +endfacet +facet normal -0.07290315892637335 0.027846528822639327 -0.04505663010373398 + outer loop + vertex -0.5430464736790659 0.0 -0.3929521198483272 + vertex -0.6358098858659154 0.15009435383073877 -0.15009435383073877 + vertex -0.48571553203517664 0.39295211984832706 -0.24285776601758832 + endloop +endfacet +facet normal -0.07290315892637332 0.02784652882263932 -0.04505663010373399 + outer loop + vertex -0.5430464736790659 0.0 -0.3929521198483272 + vertex -0.48571553203517664 0.39295211984832706 -0.24285776601758832 + vertex -0.3929521198483272 0.24285776601758832 -0.48571553203517664 + endloop +endfacet +facet normal 0.07290315892637336 -0.045056630103733994 0.0 + outer loop + vertex 0.48571553203517664 -0.3929521198483272 -0.24285776601758832 + vertex 0.6358098858659154 -0.15009435383073877 -0.15009435383073877 + vertex 0.6358098858659154 -0.15009435383073877 0.15009435383073877 + endloop +endfacet +facet normal 0.1179597890301074 -0.07290315892637331 0.0 + outer loop + vertex 0.48571553203517664 -0.3929521198483272 -0.24285776601758832 + vertex 0.6358098858659154 -0.15009435383073877 0.15009435383073877 + vertex 0.48571553203517664 -0.3929521198483272 0.24285776601758832 + endloop +endfacet +facet normal 0.07290315892637331 -0.045056630103734036 0.0 + outer loop + vertex 0.48571553203517664 -0.3929521198483272 -0.24285776601758832 + vertex 0.48571553203517664 -0.3929521198483272 0.24285776601758832 + vertex 0.39295211984832706 -0.5430464736790659 0.0 + endloop +endfacet +facet normal 0.027846528822639327 -0.04505663010373398 -0.07290315892637335 + outer loop + vertex 0.0 -0.3929521198483272 -0.5430464736790659 + vertex 0.15009435383073877 -0.15009435383073877 -0.6358098858659154 + vertex 0.39295211984832706 -0.24285776601758832 -0.48571553203517664 + endloop +endfacet +facet normal 0.02784652882263932 -0.04505663010373399 -0.07290315892637332 + outer loop + vertex 0.0 -0.3929521198483272 -0.5430464736790659 + vertex 0.39295211984832706 -0.24285776601758832 -0.48571553203517664 + vertex 0.24285776601758832 -0.48571553203517664 -0.3929521198483272 + endloop +endfacet +facet normal 0.04505663010373401 6.938893903907228e-18 0.07290315892637333 + outer loop + vertex 0.15009435383073877 -0.15009435383073877 0.6358098858659154 + vertex 0.39295211984832706 -0.24285776601758832 0.48571553203517664 + vertex 0.5430464736790659 0.0 0.39295211984832706 + endloop +endfacet +facet normal 0.07290315892637333 -1.3877787807814457e-17 0.11795978903010737 + outer loop + vertex 0.15009435383073877 -0.15009435383073877 0.6358098858659154 + vertex 0.5430464736790659 0.0 0.39295211984832706 + vertex 0.39295211984832706 0.24285776601758832 0.48571553203517664 + endloop +endfacet +facet normal 0.045056630103734 0.0 0.07290315892637333 + outer loop + vertex 0.15009435383073877 -0.15009435383073877 0.6358098858659154 + vertex 0.39295211984832706 0.24285776601758832 0.48571553203517664 + vertex 0.15009435383073877 0.15009435383073877 0.6358098858659154 + endloop +endfacet +facet normal 0.07290315892637333 0.027846528822639327 0.04505663010373403 + outer loop + vertex 0.48571553203517664 0.39295211984832706 0.24285776601758832 + vertex 0.39295211984832706 0.24285776601758832 0.48571553203517664 + vertex 0.5430464736790659 0.0 0.39295211984832706 + endloop +endfacet +facet normal 0.07290315892637332 0.02784652882263931 0.04505663010373399 + outer loop + vertex 0.48571553203517664 0.39295211984832706 0.24285776601758832 + vertex 0.5430464736790659 0.0 0.39295211984832706 + vertex 0.6358098858659154 0.15009435383073877 0.15009435383073877 + endloop +endfacet +facet normal -0.04505663010373399 -0.07290315892637335 -0.027846528822639334 + outer loop + vertex -0.15009435383073877 -0.6358098858659154 -0.15009435383073877 + vertex -0.3929521198483272 -0.5430464736790659 0.0 + vertex -0.48571553203517664 -0.3929521198483272 -0.24285776601758832 + endloop +endfacet +facet normal -0.04505663010373401 -0.07290315892637336 -0.027846528822639313 + outer loop + vertex -0.15009435383073877 -0.6358098858659154 -0.15009435383073877 + vertex -0.48571553203517664 -0.3929521198483272 -0.24285776601758832 + vertex -0.24285776601758832 -0.48571553203517664 -0.3929521198483272 + endloop +endfacet +facet normal -0.027846528822639334 -0.04505663010373399 -0.07290315892637335 + outer loop + vertex -0.15009435383073877 -0.15009435383073877 -0.6358098858659154 + vertex 0.0 -0.3929521198483272 -0.5430464736790659 + vertex -0.24285776601758832 -0.48571553203517664 -0.3929521198483272 + endloop +endfacet +facet normal -0.027846528822639313 -0.04505663010373401 -0.07290315892637336 + outer loop + vertex -0.15009435383073877 -0.15009435383073877 -0.6358098858659154 + vertex -0.24285776601758832 -0.48571553203517664 -0.3929521198483272 + vertex -0.3929521198483272 -0.24285776601758832 -0.48571553203517664 + endloop +endfacet +facet normal -0.0 0.045056630103733994 0.027846528822639324 + outer loop + vertex -0.15009435383073877 0.15009435383073877 0.6358098858659154 + vertex 0.15009435383073877 0.15009435383073877 0.6358098858659154 + vertex 0.39295211984832706 0.24285776601758832 0.48571553203517664 + endloop +endfacet +facet normal -1.734723475976807e-17 0.11795978903010734 0.07290315892637332 + outer loop + vertex -0.15009435383073877 0.15009435383073877 0.6358098858659154 + vertex 0.39295211984832706 0.24285776601758832 0.48571553203517664 + vertex 0.48571553203517664 0.39295211984832706 0.24285776601758832 + endloop +endfacet +facet normal 1.3877787807814457e-17 0.19086294795648068 0.11795978903010738 + outer loop + vertex -0.15009435383073877 0.15009435383073877 0.6358098858659154 + vertex 0.48571553203517664 0.39295211984832706 0.24285776601758832 + vertex 0.39295211984832706 0.5430464736790659 0.0 + endloop +endfacet +facet normal -5.551115123125783e-17 0.23591957806021469 0.14580631785274661 + outer loop + vertex -0.15009435383073877 0.15009435383073877 0.6358098858659154 + vertex 0.39295211984832706 0.5430464736790659 0.0 + vertex 0.15009435383073877 0.6358098858659154 -0.15009435383073877 + endloop +endfacet +facet normal 0.0 0.23591957806021469 0.14580631785274664 + outer loop + vertex -0.15009435383073877 0.15009435383073877 0.6358098858659154 + vertex 0.15009435383073877 0.6358098858659154 -0.15009435383073877 + vertex -0.15009435383073877 0.6358098858659154 -0.15009435383073877 + endloop +endfacet +facet normal 4.163336342344337e-17 0.19086294795648073 0.11795978903010738 + outer loop + vertex -0.15009435383073877 0.15009435383073877 0.6358098858659154 + vertex -0.15009435383073877 0.6358098858659154 -0.15009435383073877 + vertex -0.3929521198483272 0.5430464736790659 0.0 + endloop +endfacet +facet normal -1.3877787807814457e-17 0.11795978903010731 0.07290315892637333 + outer loop + vertex -0.15009435383073877 0.15009435383073877 0.6358098858659154 + vertex -0.3929521198483272 0.5430464736790659 0.0 + vertex -0.48571553203517664 0.39295211984832706 0.24285776601758832 + endloop +endfacet +facet normal 2.0816681711721685e-17 0.045056630103734056 0.02784652882263933 + outer loop + vertex -0.15009435383073877 0.15009435383073877 0.6358098858659154 + vertex -0.48571553203517664 0.39295211984832706 0.24285776601758832 + vertex -0.3929521198483272 0.24285776601758832 0.48571553203517664 + endloop +endfacet +facet normal -0.07290315892637332 0.045056630103733994 0.0 + outer loop + vertex -0.48571553203517664 0.39295211984832706 -0.24285776601758832 + vertex -0.6358098858659154 0.15009435383073877 -0.15009435383073877 + vertex -0.6358098858659154 0.15009435383073877 0.15009435383073877 + endloop +endfacet +facet normal -0.11795978903010734 0.07290315892637331 0.0 + outer loop + vertex -0.48571553203517664 0.39295211984832706 -0.24285776601758832 + vertex -0.6358098858659154 0.15009435383073877 0.15009435383073877 + vertex -0.48571553203517664 0.39295211984832706 0.24285776601758832 + endloop +endfacet +facet normal -0.07290315892637336 0.04505663010373398 0.0 + outer loop + vertex -0.48571553203517664 0.39295211984832706 -0.24285776601758832 + vertex -0.48571553203517664 0.39295211984832706 0.24285776601758832 + vertex -0.3929521198483272 0.5430464736790659 0.0 + endloop +endfacet +facet normal -0.045056630103734036 0.07290315892637336 -0.027846528822639303 + outer loop + vertex -0.15009435383073877 0.6358098858659154 -0.15009435383073877 + vertex -0.24285776601758832 0.48571553203517664 -0.3929521198483272 + vertex -0.48571553203517664 0.39295211984832706 -0.24285776601758832 + endloop +endfacet +facet normal -0.04505663010373401 0.07290315892637335 -0.02784652882263936 + outer loop + vertex -0.15009435383073877 0.6358098858659154 -0.15009435383073877 + vertex -0.48571553203517664 0.39295211984832706 -0.24285776601758832 + vertex -0.3929521198483272 0.5430464736790659 0.0 + endloop +endfacet +facet normal 0.0 -0.045056630103734056 0.027846528822639362 + outer loop + vertex -0.15009435383073877 -0.15009435383073877 0.6358098858659154 + vertex -0.3929521198483272 -0.24285776601758832 0.48571553203517664 + vertex -0.48571553203517664 -0.3929521198483272 0.24285776601758832 + endloop +endfacet +facet normal 6.245004513516506e-17 -0.11795978903010731 0.07290315892637331 + outer loop + vertex -0.15009435383073877 -0.15009435383073877 0.6358098858659154 + vertex -0.48571553203517664 -0.3929521198483272 0.24285776601758832 + vertex -0.3929521198483272 -0.5430464736790659 0.0 + endloop +endfacet +facet normal 5.551115123125783e-17 -0.19086294795648073 0.11795978903010737 + outer loop + vertex -0.15009435383073877 -0.15009435383073877 0.6358098858659154 + vertex -0.3929521198483272 -0.5430464736790659 0.0 + vertex -0.15009435383073877 -0.6358098858659154 -0.15009435383073877 + endloop +endfacet +facet normal 0.0 -0.23591957806021469 0.14580631785274664 + outer loop + vertex -0.15009435383073877 -0.15009435383073877 0.6358098858659154 + vertex -0.15009435383073877 -0.6358098858659154 -0.15009435383073877 + vertex 0.15009435383073877 -0.6358098858659154 -0.15009435383073877 + endloop +endfacet +facet normal -4.163336342344337e-17 -0.23591957806021466 0.14580631785274661 + outer loop + vertex -0.15009435383073877 -0.15009435383073877 0.6358098858659154 + vertex 0.15009435383073877 -0.6358098858659154 -0.15009435383073877 + vertex 0.39295211984832706 -0.5430464736790659 0.0 + endloop +endfacet +facet normal -5.551115123125783e-17 -0.1908629479564807 0.11795978903010734 + outer loop + vertex -0.15009435383073877 -0.15009435383073877 0.6358098858659154 + vertex 0.39295211984832706 -0.5430464736790659 0.0 + vertex 0.48571553203517664 -0.3929521198483272 0.24285776601758832 + endloop +endfacet +facet normal -6.938893903907228e-18 -0.11795978903010734 0.07290315892637336 + outer loop + vertex -0.15009435383073877 -0.15009435383073877 0.6358098858659154 + vertex 0.48571553203517664 -0.3929521198483272 0.24285776601758832 + vertex 0.39295211984832706 -0.24285776601758832 0.48571553203517664 + endloop +endfacet +facet normal 0.0 -0.045056630103734 0.02784652882263933 + outer loop + vertex -0.15009435383073877 -0.15009435383073877 0.6358098858659154 + vertex 0.39295211984832706 -0.24285776601758832 0.48571553203517664 + vertex 0.15009435383073877 -0.15009435383073877 0.6358098858659154 + endloop +endfacet +facet normal 6.938893903907228e-18 -0.07290315892637336 -0.045056630103733994 + outer loop + vertex -0.15009435383073877 -0.6358098858659154 -0.15009435383073877 + vertex -0.24285776601758832 -0.48571553203517664 -0.3929521198483272 + vertex 0.0 -0.3929521198483272 -0.5430464736790659 + endloop +endfacet +facet normal -6.938893903907228e-18 -0.11795978903010734 -0.0729031589263733 + outer loop + vertex -0.15009435383073877 -0.6358098858659154 -0.15009435383073877 + vertex 0.0 -0.3929521198483272 -0.5430464736790659 + vertex 0.24285776601758832 -0.48571553203517664 -0.3929521198483272 + endloop +endfacet +facet normal 0.0 -0.07290315892637336 -0.045056630103734 + outer loop + vertex -0.15009435383073877 -0.6358098858659154 -0.15009435383073877 + vertex 0.24285776601758832 -0.48571553203517664 -0.3929521198483272 + vertex 0.15009435383073877 -0.6358098858659154 -0.15009435383073877 + endloop +endfacet +facet normal 0.04505663010373401 -0.07290315892637336 -0.027846528822639313 + outer loop + vertex 0.15009435383073877 -0.6358098858659154 -0.15009435383073877 + vertex 0.24285776601758832 -0.48571553203517664 -0.3929521198483272 + vertex 0.48571553203517664 -0.3929521198483272 -0.24285776601758832 + endloop +endfacet +facet normal 0.04505663010373399 -0.07290315892637333 -0.027846528822639306 + outer loop + vertex 0.15009435383073877 -0.6358098858659154 -0.15009435383073877 + vertex 0.48571553203517664 -0.3929521198483272 -0.24285776601758832 + vertex 0.39295211984832706 -0.5430464736790659 0.0 endloop endfacet endsolid Polyhedron \ No newline at end of file diff --git a/tests/control/polyhedron.vtk b/tests/control/polyhedron.vtk index a8d8ce23..5401381b 100644 --- a/tests/control/polyhedron.vtk +++ b/tests/control/polyhedron.vtk @@ -2,19 +2,97 @@ Polyhedron created by Coxeter version 0.8.0 ASCII DATASET POLYDATA -POINTS 8 float --1.0 -1.0 -1.0 --1.0 -1.0 1.0 --1.0 1.0 -1.0 --1.0 1.0 1.0 -1.0 -1.0 -1.0 -1.0 -1.0 1.0 -1.0 1.0 -1.0 -1.0 1.0 1.0 -POLYGONS 6 30 -4 0 1 3 2 -4 0 2 6 4 -4 4 6 7 5 -4 1 5 7 3 -4 0 4 5 1 -4 6 2 3 7 \ No newline at end of file +POINTS 50 float +-0.15009435383073877 -0.15009435383073877 -0.6358098858659154 +-0.15009435383073877 -0.15009435383073877 0.6358098858659154 +-0.15009435383073877 0.15009435383073877 -0.6358098858659154 +-0.15009435383073877 0.15009435383073877 0.6358098858659154 +-0.15009435383073877 -0.6358098858659154 -0.15009435383073877 +-0.15009435383073877 0.6358098858659154 -0.15009435383073877 +0.0 -0.3929521198483272 -0.5430464736790659 +0.0 0.39295211984832706 -0.5430464736790659 +0.15009435383073877 -0.15009435383073877 -0.6358098858659154 +0.15009435383073877 -0.15009435383073877 0.6358098858659154 +0.15009435383073877 0.15009435383073877 -0.6358098858659154 +0.15009435383073877 0.15009435383073877 0.6358098858659154 +0.15009435383073877 -0.6358098858659154 -0.15009435383073877 +0.15009435383073877 0.6358098858659154 -0.15009435383073877 +-0.5430464736790659 0.0 -0.3929521198483272 +-0.5430464736790659 0.0 0.39295211984832706 +-0.24285776601758832 -0.48571553203517664 -0.3929521198483272 +-0.24285776601758832 0.48571553203517664 -0.3929521198483272 +-0.48571553203517664 -0.3929521198483272 -0.24285776601758832 +-0.48571553203517664 -0.3929521198483272 0.24285776601758832 +-0.48571553203517664 0.39295211984832706 -0.24285776601758832 +-0.48571553203517664 0.39295211984832706 0.24285776601758832 +-0.6358098858659154 -0.15009435383073877 -0.15009435383073877 +-0.6358098858659154 -0.15009435383073877 0.15009435383073877 +-0.6358098858659154 0.15009435383073877 -0.15009435383073877 +-0.6358098858659154 0.15009435383073877 0.15009435383073877 +-0.3929521198483272 -0.5430464736790659 0.0 +-0.3929521198483272 -0.24285776601758832 -0.48571553203517664 +-0.3929521198483272 -0.24285776601758832 0.48571553203517664 +-0.3929521198483272 0.24285776601758832 -0.48571553203517664 +-0.3929521198483272 0.24285776601758832 0.48571553203517664 +-0.3929521198483272 0.5430464736790659 0.0 +0.24285776601758832 -0.48571553203517664 -0.3929521198483272 +0.24285776601758832 0.48571553203517664 -0.3929521198483272 +0.48571553203517664 -0.3929521198483272 -0.24285776601758832 +0.48571553203517664 -0.3929521198483272 0.24285776601758832 +0.48571553203517664 0.39295211984832706 -0.24285776601758832 +0.48571553203517664 0.39295211984832706 0.24285776601758832 +0.6358098858659154 -0.15009435383073877 -0.15009435383073877 +0.6358098858659154 -0.15009435383073877 0.15009435383073877 +0.6358098858659154 0.15009435383073877 -0.15009435383073877 +0.6358098858659154 0.15009435383073877 0.15009435383073877 +0.39295211984832706 -0.5430464736790659 0.0 +0.39295211984832706 -0.24285776601758832 -0.48571553203517664 +0.39295211984832706 -0.24285776601758832 0.48571553203517664 +0.39295211984832706 0.24285776601758832 -0.48571553203517664 +0.39295211984832706 0.24285776601758832 0.48571553203517664 +0.39295211984832706 0.5430464736790659 0.0 +0.5430464736790659 0.0 -0.3929521198483272 +0.5430464736790659 0.0 0.39295211984832706 +POLYGONS 42 222 +3 38 48 40 +3 14 22 24 +3 15 25 23 +3 2 7 10 +3 0 8 6 +3 39 41 49 +3 33 36 45 +3 17 29 20 +3 32 43 34 +3 16 18 27 +4 15 30 21 25 +4 36 40 48 45 +5 1 3 30 15 28 +4 22 23 25 24 +4 15 23 19 28 +4 34 43 48 38 +4 1 9 11 3 +4 14 27 18 22 +5 18 26 19 23 22 +4 2 29 17 7 +5 0 27 14 29 2 +4 0 2 10 8 +5 8 10 45 48 43 +4 35 39 49 44 +4 38 40 41 39 +5 36 47 37 41 40 +4 7 33 45 10 +5 5 13 33 7 17 +4 13 47 36 33 +4 14 24 20 29 +5 34 38 39 35 42 +4 6 8 43 32 +5 9 44 49 46 11 +4 37 46 49 41 +4 4 26 18 16 +4 0 6 16 27 +10 3 11 46 37 47 13 5 31 21 30 +5 20 24 25 21 31 +4 5 17 20 31 +10 1 28 19 26 4 12 42 35 44 9 +5 4 16 6 32 12 +4 12 32 34 42 \ No newline at end of file diff --git a/tests/control/polyhedron.x3d b/tests/control/polyhedron.x3d index 727efcb4..47e39a1b 100644 --- a/tests/control/polyhedron.x3d +++ b/tests/control/polyhedron.x3d @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file From 9e75ec2023424f462a19e2c2aaf27166ae779ffb Mon Sep 17 00:00:00 2001 From: janbridley Date: Sat, 14 Sep 2024 14:26:26 -0400 Subject: [PATCH 3/3] Switch io test case again --- tests/control/convex_polyhedron.html | 2 +- tests/control/convex_polyhedron.obj | 114 +---- tests/control/convex_polyhedron.off | 116 +---- tests/control/convex_polyhedron.ply | 118 +---- tests/control/convex_polyhedron.stl | 690 +++------------------------ tests/control/convex_polyhedron.vtk | 118 +---- tests/control/convex_polyhedron.x3d | 2 +- tests/control/polyhedron.html | 2 +- tests/control/polyhedron.obj | 114 +---- tests/control/polyhedron.off | 116 +---- tests/control/polyhedron.ply | 118 +---- tests/control/polyhedron.stl | 690 +++------------------------ tests/control/polyhedron.vtk | 118 +---- tests/control/polyhedron.x3d | 2 +- tests/test_io.py | 6 +- 15 files changed, 337 insertions(+), 1989 deletions(-) diff --git a/tests/control/convex_polyhedron.html b/tests/control/convex_polyhedron.html index 7caf853a..b0d8a01c 100644 --- a/tests/control/convex_polyhedron.html +++ b/tests/control/convex_polyhedron.html @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/tests/control/convex_polyhedron.obj b/tests/control/convex_polyhedron.obj index de4c5e93..4d565655 100644 --- a/tests/control/convex_polyhedron.obj +++ b/tests/control/convex_polyhedron.obj @@ -1,96 +1,26 @@ # wavefront obj file written by Coxeter version 0.8.0 # ConvexPolyhedron -v -0.15009435383073877 -0.15009435383073877 -0.6358098858659154 -v -0.15009435383073877 -0.15009435383073877 0.6358098858659154 -v -0.15009435383073877 0.15009435383073877 -0.6358098858659154 -v -0.15009435383073877 0.15009435383073877 0.6358098858659154 -v -0.15009435383073877 -0.6358098858659154 -0.15009435383073877 -v -0.15009435383073877 0.6358098858659154 -0.15009435383073877 -v 0.0 -0.3929521198483272 -0.5430464736790659 -v 0.0 0.39295211984832706 -0.5430464736790659 -v 0.15009435383073877 -0.15009435383073877 -0.6358098858659154 -v 0.15009435383073877 -0.15009435383073877 0.6358098858659154 -v 0.15009435383073877 0.15009435383073877 -0.6358098858659154 -v 0.15009435383073877 0.15009435383073877 0.6358098858659154 -v 0.15009435383073877 -0.6358098858659154 -0.15009435383073877 -v 0.15009435383073877 0.6358098858659154 -0.15009435383073877 -v -0.5430464736790659 0.0 -0.3929521198483272 -v -0.5430464736790659 0.0 0.39295211984832706 -v -0.24285776601758832 -0.48571553203517664 -0.3929521198483272 -v -0.24285776601758832 0.48571553203517664 -0.3929521198483272 -v -0.48571553203517664 -0.3929521198483272 -0.24285776601758832 -v -0.48571553203517664 -0.3929521198483272 0.24285776601758832 -v -0.48571553203517664 0.39295211984832706 -0.24285776601758832 -v -0.48571553203517664 0.39295211984832706 0.24285776601758832 -v -0.6358098858659154 -0.15009435383073877 -0.15009435383073877 -v -0.6358098858659154 -0.15009435383073877 0.15009435383073877 -v -0.6358098858659154 0.15009435383073877 -0.15009435383073877 -v -0.6358098858659154 0.15009435383073877 0.15009435383073877 -v -0.3929521198483272 -0.5430464736790659 0.0 -v -0.3929521198483272 -0.24285776601758832 -0.48571553203517664 -v -0.3929521198483272 -0.24285776601758832 0.48571553203517664 -v -0.3929521198483272 0.24285776601758832 -0.48571553203517664 -v -0.3929521198483272 0.24285776601758832 0.48571553203517664 -v -0.3929521198483272 0.5430464736790659 0.0 -v 0.24285776601758832 -0.48571553203517664 -0.3929521198483272 -v 0.24285776601758832 0.48571553203517664 -0.3929521198483272 -v 0.48571553203517664 -0.3929521198483272 -0.24285776601758832 -v 0.48571553203517664 -0.3929521198483272 0.24285776601758832 -v 0.48571553203517664 0.39295211984832706 -0.24285776601758832 -v 0.48571553203517664 0.39295211984832706 0.24285776601758832 -v 0.6358098858659154 -0.15009435383073877 -0.15009435383073877 -v 0.6358098858659154 -0.15009435383073877 0.15009435383073877 -v 0.6358098858659154 0.15009435383073877 -0.15009435383073877 -v 0.6358098858659154 0.15009435383073877 0.15009435383073877 -v 0.39295211984832706 -0.5430464736790659 0.0 -v 0.39295211984832706 -0.24285776601758832 -0.48571553203517664 -v 0.39295211984832706 -0.24285776601758832 0.48571553203517664 -v 0.39295211984832706 0.24285776601758832 -0.48571553203517664 -v 0.39295211984832706 0.24285776601758832 0.48571553203517664 -v 0.39295211984832706 0.5430464736790659 0.0 -v 0.5430464736790659 0.0 -0.3929521198483272 -v 0.5430464736790659 0.0 0.39295211984832706 +v 0.0 0.0 1.2065695672061325 +v 0.6727065926127129 0.0 0.0 +v 0.6727065926127129 0.0 0.7908140285153469 +v 0.20787776934539276 -0.6397819884590299 0.0 +v 0.20787776934539276 -0.6397819884590299 0.7908140285153469 +v 0.20787776934539276 0.6397819884590299 0.0 +v 0.20787776934539276 0.6397819884590299 0.7908140285153469 +v -0.5442310656517493 -0.39540701425767344 0.0 +v -0.5442310656517493 -0.39540701425767344 0.7908140285153469 +v -0.5442310656517493 0.39540701425767344 0.0 +v -0.5442310656517493 0.39540701425767344 0.7908140285153469 -f 39 49 41 -f 15 23 25 -f 16 26 24 -f 3 8 11 -f 1 9 7 -f 40 42 50 -f 34 37 46 -f 18 30 21 -f 33 44 35 -f 17 19 28 -f 16 31 22 26 -f 37 41 49 46 -f 2 4 31 16 29 -f 23 24 26 25 -f 16 24 20 29 -f 35 44 49 39 -f 2 10 12 4 -f 15 28 19 23 -f 19 27 20 24 23 -f 3 30 18 8 -f 1 28 15 30 3 -f 1 3 11 9 -f 9 11 46 49 44 -f 36 40 50 45 -f 39 41 42 40 -f 37 48 38 42 41 -f 8 34 46 11 -f 6 14 34 8 18 -f 14 48 37 34 -f 15 25 21 30 -f 35 39 40 36 43 -f 7 9 44 33 -f 10 45 50 47 12 -f 38 47 50 42 -f 5 27 19 17 -f 1 7 17 28 -f 4 12 47 38 48 14 6 32 22 31 -f 21 25 26 22 32 -f 6 18 21 32 -f 2 29 20 27 5 13 43 36 45 10 -f 5 17 7 33 13 -f 13 33 35 43 \ No newline at end of file +f 1 7 11 +f 1 9 5 +f 1 11 9 +f 1 5 3 +f 1 3 7 +f 6 10 11 7 +f 2 4 8 10 6 +f 4 5 9 8 +f 8 9 11 10 +f 2 3 5 4 +f 2 6 7 3 \ No newline at end of file diff --git a/tests/control/convex_polyhedron.off b/tests/control/convex_polyhedron.off index dd4b6e28..f7d12c2a 100644 --- a/tests/control/convex_polyhedron.off +++ b/tests/control/convex_polyhedron.off @@ -1,96 +1,26 @@ OFF # OFF file written by Coxeter version 0.8.0 # ConvexPolyhedron -50 f42 90 --0.15009435383073877 -0.15009435383073877 -0.6358098858659154 --0.15009435383073877 -0.15009435383073877 0.6358098858659154 --0.15009435383073877 0.15009435383073877 -0.6358098858659154 --0.15009435383073877 0.15009435383073877 0.6358098858659154 --0.15009435383073877 -0.6358098858659154 -0.15009435383073877 --0.15009435383073877 0.6358098858659154 -0.15009435383073877 -0.0 -0.3929521198483272 -0.5430464736790659 -0.0 0.39295211984832706 -0.5430464736790659 -0.15009435383073877 -0.15009435383073877 -0.6358098858659154 -0.15009435383073877 -0.15009435383073877 0.6358098858659154 -0.15009435383073877 0.15009435383073877 -0.6358098858659154 -0.15009435383073877 0.15009435383073877 0.6358098858659154 -0.15009435383073877 -0.6358098858659154 -0.15009435383073877 -0.15009435383073877 0.6358098858659154 -0.15009435383073877 --0.5430464736790659 0.0 -0.3929521198483272 --0.5430464736790659 0.0 0.39295211984832706 --0.24285776601758832 -0.48571553203517664 -0.3929521198483272 --0.24285776601758832 0.48571553203517664 -0.3929521198483272 --0.48571553203517664 -0.3929521198483272 -0.24285776601758832 --0.48571553203517664 -0.3929521198483272 0.24285776601758832 --0.48571553203517664 0.39295211984832706 -0.24285776601758832 --0.48571553203517664 0.39295211984832706 0.24285776601758832 --0.6358098858659154 -0.15009435383073877 -0.15009435383073877 --0.6358098858659154 -0.15009435383073877 0.15009435383073877 --0.6358098858659154 0.15009435383073877 -0.15009435383073877 --0.6358098858659154 0.15009435383073877 0.15009435383073877 --0.3929521198483272 -0.5430464736790659 0.0 --0.3929521198483272 -0.24285776601758832 -0.48571553203517664 --0.3929521198483272 -0.24285776601758832 0.48571553203517664 --0.3929521198483272 0.24285776601758832 -0.48571553203517664 --0.3929521198483272 0.24285776601758832 0.48571553203517664 --0.3929521198483272 0.5430464736790659 0.0 -0.24285776601758832 -0.48571553203517664 -0.3929521198483272 -0.24285776601758832 0.48571553203517664 -0.3929521198483272 -0.48571553203517664 -0.3929521198483272 -0.24285776601758832 -0.48571553203517664 -0.3929521198483272 0.24285776601758832 -0.48571553203517664 0.39295211984832706 -0.24285776601758832 -0.48571553203517664 0.39295211984832706 0.24285776601758832 -0.6358098858659154 -0.15009435383073877 -0.15009435383073877 -0.6358098858659154 -0.15009435383073877 0.15009435383073877 -0.6358098858659154 0.15009435383073877 -0.15009435383073877 -0.6358098858659154 0.15009435383073877 0.15009435383073877 -0.39295211984832706 -0.5430464736790659 0.0 -0.39295211984832706 -0.24285776601758832 -0.48571553203517664 -0.39295211984832706 -0.24285776601758832 0.48571553203517664 -0.39295211984832706 0.24285776601758832 -0.48571553203517664 -0.39295211984832706 0.24285776601758832 0.48571553203517664 -0.39295211984832706 0.5430464736790659 0.0 -0.5430464736790659 0.0 -0.3929521198483272 -0.5430464736790659 0.0 0.39295211984832706 -3 38 48 40 -3 14 22 24 -3 15 25 23 -3 2 7 10 -3 0 8 6 -3 39 41 49 -3 33 36 45 -3 17 29 20 -3 32 43 34 -3 16 18 27 -4 15 30 21 25 -4 36 40 48 45 -5 1 3 30 15 28 -4 22 23 25 24 -4 15 23 19 28 -4 34 43 48 38 -4 1 9 11 3 -4 14 27 18 22 -5 18 26 19 23 22 -4 2 29 17 7 -5 0 27 14 29 2 -4 0 2 10 8 -5 8 10 45 48 43 -4 35 39 49 44 -4 38 40 41 39 -5 36 47 37 41 40 -4 7 33 45 10 -5 5 13 33 7 17 -4 13 47 36 33 -4 14 24 20 29 -5 34 38 39 35 42 -4 6 8 43 32 -5 9 44 49 46 11 -4 37 46 49 41 -4 4 26 18 16 -4 0 6 16 27 -10 3 11 46 37 47 13 5 31 21 30 -5 20 24 25 21 31 -4 5 17 20 31 -10 1 28 19 26 4 12 42 35 44 9 -5 4 16 6 32 12 -4 12 32 34 42 \ No newline at end of file +11 f11 20 +0.0 0.0 1.2065695672061325 +0.6727065926127129 0.0 0.0 +0.6727065926127129 0.0 0.7908140285153469 +0.20787776934539276 -0.6397819884590299 0.0 +0.20787776934539276 -0.6397819884590299 0.7908140285153469 +0.20787776934539276 0.6397819884590299 0.0 +0.20787776934539276 0.6397819884590299 0.7908140285153469 +-0.5442310656517493 -0.39540701425767344 0.0 +-0.5442310656517493 -0.39540701425767344 0.7908140285153469 +-0.5442310656517493 0.39540701425767344 0.0 +-0.5442310656517493 0.39540701425767344 0.7908140285153469 +3 0 6 10 +3 0 8 4 +3 0 10 8 +3 0 4 2 +3 0 2 6 +4 5 9 10 6 +5 1 3 7 9 5 +4 3 4 8 7 +4 7 8 10 9 +4 1 2 4 3 +4 1 5 6 2 \ No newline at end of file diff --git a/tests/control/convex_polyhedron.ply b/tests/control/convex_polyhedron.ply index d7bf921e..b657fb12 100644 --- a/tests/control/convex_polyhedron.ply +++ b/tests/control/convex_polyhedron.ply @@ -2,102 +2,32 @@ ply format ascii 1.0 comment PLY file written by Coxeter version 0.8.0 comment ConvexPolyhedron -element vertex 50 +element vertex 11 property float x property float y property float z -element face 42 +element face 11 property list uchar uint vertex_indices end_header --0.15009435383073877 -0.15009435383073877 -0.6358098858659154 --0.15009435383073877 -0.15009435383073877 0.6358098858659154 --0.15009435383073877 0.15009435383073877 -0.6358098858659154 --0.15009435383073877 0.15009435383073877 0.6358098858659154 --0.15009435383073877 -0.6358098858659154 -0.15009435383073877 --0.15009435383073877 0.6358098858659154 -0.15009435383073877 -0.0 -0.3929521198483272 -0.5430464736790659 -0.0 0.39295211984832706 -0.5430464736790659 -0.15009435383073877 -0.15009435383073877 -0.6358098858659154 -0.15009435383073877 -0.15009435383073877 0.6358098858659154 -0.15009435383073877 0.15009435383073877 -0.6358098858659154 -0.15009435383073877 0.15009435383073877 0.6358098858659154 -0.15009435383073877 -0.6358098858659154 -0.15009435383073877 -0.15009435383073877 0.6358098858659154 -0.15009435383073877 --0.5430464736790659 0.0 -0.3929521198483272 --0.5430464736790659 0.0 0.39295211984832706 --0.24285776601758832 -0.48571553203517664 -0.3929521198483272 --0.24285776601758832 0.48571553203517664 -0.3929521198483272 --0.48571553203517664 -0.3929521198483272 -0.24285776601758832 --0.48571553203517664 -0.3929521198483272 0.24285776601758832 --0.48571553203517664 0.39295211984832706 -0.24285776601758832 --0.48571553203517664 0.39295211984832706 0.24285776601758832 --0.6358098858659154 -0.15009435383073877 -0.15009435383073877 --0.6358098858659154 -0.15009435383073877 0.15009435383073877 --0.6358098858659154 0.15009435383073877 -0.15009435383073877 --0.6358098858659154 0.15009435383073877 0.15009435383073877 --0.3929521198483272 -0.5430464736790659 0.0 --0.3929521198483272 -0.24285776601758832 -0.48571553203517664 --0.3929521198483272 -0.24285776601758832 0.48571553203517664 --0.3929521198483272 0.24285776601758832 -0.48571553203517664 --0.3929521198483272 0.24285776601758832 0.48571553203517664 --0.3929521198483272 0.5430464736790659 0.0 -0.24285776601758832 -0.48571553203517664 -0.3929521198483272 -0.24285776601758832 0.48571553203517664 -0.3929521198483272 -0.48571553203517664 -0.3929521198483272 -0.24285776601758832 -0.48571553203517664 -0.3929521198483272 0.24285776601758832 -0.48571553203517664 0.39295211984832706 -0.24285776601758832 -0.48571553203517664 0.39295211984832706 0.24285776601758832 -0.6358098858659154 -0.15009435383073877 -0.15009435383073877 -0.6358098858659154 -0.15009435383073877 0.15009435383073877 -0.6358098858659154 0.15009435383073877 -0.15009435383073877 -0.6358098858659154 0.15009435383073877 0.15009435383073877 -0.39295211984832706 -0.5430464736790659 0.0 -0.39295211984832706 -0.24285776601758832 -0.48571553203517664 -0.39295211984832706 -0.24285776601758832 0.48571553203517664 -0.39295211984832706 0.24285776601758832 -0.48571553203517664 -0.39295211984832706 0.24285776601758832 0.48571553203517664 -0.39295211984832706 0.5430464736790659 0.0 -0.5430464736790659 0.0 -0.3929521198483272 -0.5430464736790659 0.0 0.39295211984832706 -3 38 48 40 -3 14 22 24 -3 15 25 23 -3 2 7 10 -3 0 8 6 -3 39 41 49 -3 33 36 45 -3 17 29 20 -3 32 43 34 -3 16 18 27 -4 15 30 21 25 -4 36 40 48 45 -5 1 3 30 15 28 -4 22 23 25 24 -4 15 23 19 28 -4 34 43 48 38 -4 1 9 11 3 -4 14 27 18 22 -5 18 26 19 23 22 -4 2 29 17 7 -5 0 27 14 29 2 -4 0 2 10 8 -5 8 10 45 48 43 -4 35 39 49 44 -4 38 40 41 39 -5 36 47 37 41 40 -4 7 33 45 10 -5 5 13 33 7 17 -4 13 47 36 33 -4 14 24 20 29 -5 34 38 39 35 42 -4 6 8 43 32 -5 9 44 49 46 11 -4 37 46 49 41 -4 4 26 18 16 -4 0 6 16 27 -10 3 11 46 37 47 13 5 31 21 30 -5 20 24 25 21 31 -4 5 17 20 31 -10 1 28 19 26 4 12 42 35 44 9 -5 4 16 6 32 12 -4 12 32 34 42 \ No newline at end of file +0.0 0.0 1.2065695672061325 +0.6727065926127129 0.0 0.0 +0.6727065926127129 0.0 0.7908140285153469 +0.20787776934539276 -0.6397819884590299 0.0 +0.20787776934539276 -0.6397819884590299 0.7908140285153469 +0.20787776934539276 0.6397819884590299 0.0 +0.20787776934539276 0.6397819884590299 0.7908140285153469 +-0.5442310656517493 -0.39540701425767344 0.0 +-0.5442310656517493 -0.39540701425767344 0.7908140285153469 +-0.5442310656517493 0.39540701425767344 0.0 +-0.5442310656517493 0.39540701425767344 0.7908140285153469 +3 0 6 10 +3 0 8 4 +3 0 10 8 +3 0 4 2 +3 0 2 6 +4 5 9 10 6 +5 1 3 7 9 5 +4 3 4 8 7 +4 7 8 10 9 +4 1 2 4 3 +4 1 5 6 2 \ No newline at end of file diff --git a/tests/control/convex_polyhedron.stl b/tests/control/convex_polyhedron.stl index 08e0805f..a26748b4 100644 --- a/tests/control/convex_polyhedron.stl +++ b/tests/control/convex_polyhedron.stl @@ -1,674 +1,128 @@ solid ConvexPolyhedron -facet normal 0.07290315892637336 0.0 -0.0278465288226393 +facet normal -0.1016002490416318 0.31269341384833604 0.4303855614712601 outer loop - vertex 0.6358098858659154 -0.15009435383073877 -0.15009435383073877 - vertex 0.5430464736790659 0.0 -0.3929521198483272 - vertex 0.6358098858659154 0.15009435383073877 -0.15009435383073877 + vertex 0.0 0.0 1.2065695672061325 + vertex 0.20787776934539276 0.6397819884590299 0.7908140285153469 + vertex -0.5442310656517493 0.39540701425767344 0.7908140285153469 endloop endfacet -facet normal -0.07290315892637336 0.0 -0.0278465288226393 +facet normal -0.1016002490416318 -0.31269341384833604 0.43038556147126006 outer loop - vertex -0.5430464736790659 0.0 -0.3929521198483272 - vertex -0.6358098858659154 -0.15009435383073877 -0.15009435383073877 - vertex -0.6358098858659154 0.15009435383073877 -0.15009435383073877 + vertex 0.0 0.0 1.2065695672061325 + vertex -0.5442310656517493 -0.39540701425767344 0.7908140285153469 + vertex 0.20787776934539276 -0.6397819884590299 0.7908140285153469 endloop endfacet -facet normal -0.07290315892637332 0.0 0.0278465288226393 +facet normal -0.32878531242962833 0.0 0.43038556147126006 outer loop - vertex -0.5430464736790659 0.0 0.39295211984832706 - vertex -0.6358098858659154 0.15009435383073877 0.15009435383073877 - vertex -0.6358098858659154 -0.15009435383073877 0.15009435383073877 + vertex 0.0 0.0 1.2065695672061325 + vertex -0.5442310656517493 0.39540701425767344 0.7908140285153469 + vertex -0.5442310656517493 -0.39540701425767344 0.7908140285153469 endloop endfacet -facet normal 0.0 0.0278465288226393 -0.07290315892637332 +facet normal 0.265992905256446 -0.19325515781650868 0.43038556147126006 outer loop - vertex -0.15009435383073877 0.15009435383073877 -0.6358098858659154 - vertex 0.0 0.39295211984832706 -0.5430464736790659 - vertex 0.15009435383073877 0.15009435383073877 -0.6358098858659154 + vertex 0.0 0.0 1.2065695672061325 + vertex 0.20787776934539276 -0.6397819884590299 0.7908140285153469 + vertex 0.6727065926127129 0.0 0.7908140285153469 endloop endfacet -facet normal 0.0 -0.0278465288226393 -0.07290315892637336 +facet normal 0.265992905256446 0.19325515781650868 0.43038556147126 outer loop - vertex -0.15009435383073877 -0.15009435383073877 -0.6358098858659154 - vertex 0.15009435383073877 -0.15009435383073877 -0.6358098858659154 - vertex 0.0 -0.3929521198483272 -0.5430464736790659 + vertex 0.0 0.0 1.2065695672061325 + vertex 0.6727065926127129 0.0 0.7908140285153469 + vertex 0.20787776934539276 0.6397819884590299 0.7908140285153469 endloop endfacet -facet normal 0.07290315892637332 -0.0 0.0278465288226393 +facet normal -0.19325515781650865 0.5947782176860742 0.0 outer loop - vertex 0.6358098858659154 -0.15009435383073877 0.15009435383073877 - vertex 0.6358098858659154 0.15009435383073877 0.15009435383073877 - vertex 0.5430464736790659 0.0 0.39295211984832706 + vertex 0.20787776934539276 0.6397819884590299 0.0 + vertex -0.5442310656517493 0.39540701425767344 0.0 + vertex -0.5442310656517493 0.39540701425767344 0.7908140285153469 endloop endfacet -facet normal 0.045056630103734036 0.04505663010373401 -0.045056630103734015 +facet normal -0.19325515781650865 0.5947782176860742 0.0 outer loop - vertex 0.24285776601758832 0.48571553203517664 -0.3929521198483272 - vertex 0.48571553203517664 0.39295211984832706 -0.24285776601758832 - vertex 0.39295211984832706 0.24285776601758832 -0.48571553203517664 + vertex 0.20787776934539276 0.6397819884590299 0.0 + vertex -0.5442310656517493 0.39540701425767344 0.7908140285153469 + vertex 0.20787776934539276 0.6397819884590299 0.7908140285153469 endloop endfacet -facet normal -0.045056630103734036 0.04505663010373402 -0.04505663010373401 +facet normal -0.0 0.0 -0.5947782176860743 outer loop - vertex -0.24285776601758832 0.48571553203517664 -0.3929521198483272 - vertex -0.3929521198483272 0.24285776601758832 -0.48571553203517664 - vertex -0.48571553203517664 0.39295211984832706 -0.24285776601758832 + vertex 0.6727065926127129 0.0 0.0 + vertex 0.20787776934539276 -0.6397819884590299 0.0 + vertex -0.5442310656517493 -0.39540701425767344 0.0 endloop endfacet -facet normal 0.04505663010373402 -0.04505663010373401 -0.045056630103734036 +facet normal -0.0 0.0 -0.9623713719841519 outer loop - vertex 0.24285776601758832 -0.48571553203517664 -0.3929521198483272 - vertex 0.39295211984832706 -0.24285776601758832 -0.48571553203517664 - vertex 0.48571553203517664 -0.3929521198483272 -0.24285776601758832 + vertex 0.6727065926127129 0.0 0.0 + vertex -0.5442310656517493 -0.39540701425767344 0.0 + vertex -0.5442310656517493 0.39540701425767344 0.0 endloop endfacet -facet normal -0.04505663010373402 -0.04505663010373402 -0.04505663010373402 +facet normal 0.0 0.0 -0.5947782176860742 outer loop - vertex -0.24285776601758832 -0.48571553203517664 -0.3929521198483272 - vertex -0.48571553203517664 -0.3929521198483272 -0.24285776601758832 - vertex -0.3929521198483272 -0.24285776601758832 -0.48571553203517664 + vertex 0.6727065926127129 0.0 0.0 + vertex -0.5442310656517493 0.39540701425767344 0.0 + vertex 0.20787776934539276 0.6397819884590299 0.0 endloop endfacet -facet normal -0.07290315892637333 0.02784652882263931 0.04505663010373398 +facet normal -0.19325515781650865 -0.5947782176860742 0.0 outer loop - vertex -0.5430464736790659 0.0 0.39295211984832706 - vertex -0.3929521198483272 0.24285776601758832 0.48571553203517664 - vertex -0.48571553203517664 0.39295211984832706 0.24285776601758832 + vertex 0.20787776934539276 -0.6397819884590299 0.0 + vertex 0.20787776934539276 -0.6397819884590299 0.7908140285153469 + vertex -0.5442310656517493 -0.39540701425767344 0.7908140285153469 endloop endfacet -facet normal -0.07290315892637332 0.02784652882263931 0.04505663010373399 +facet normal -0.19325515781650865 -0.5947782176860742 -0.0 outer loop - vertex -0.5430464736790659 0.0 0.39295211984832706 - vertex -0.48571553203517664 0.39295211984832706 0.24285776601758832 - vertex -0.6358098858659154 0.15009435383073877 0.15009435383073877 + vertex 0.20787776934539276 -0.6397819884590299 0.0 + vertex -0.5442310656517493 -0.39540701425767344 0.7908140285153469 + vertex -0.5442310656517493 -0.39540701425767344 0.0 endloop endfacet -facet normal 0.07290315892637335 0.027846528822639327 -0.04505663010373398 +facet normal -0.6253868276966719 0.0 0.0 outer loop - vertex 0.48571553203517664 0.39295211984832706 -0.24285776601758832 - vertex 0.6358098858659154 0.15009435383073877 -0.15009435383073877 - vertex 0.5430464736790659 0.0 -0.3929521198483272 + vertex -0.5442310656517493 -0.39540701425767344 0.0 + vertex -0.5442310656517493 -0.39540701425767344 0.7908140285153469 + vertex -0.5442310656517493 0.39540701425767344 0.7908140285153469 endloop endfacet -facet normal 0.07290315892637333 0.02784652882263934 -0.04505663010373403 +facet normal -0.6253868276966719 0.0 0.0 outer loop - vertex 0.48571553203517664 0.39295211984832706 -0.24285776601758832 - vertex 0.5430464736790659 0.0 -0.3929521198483272 - vertex 0.39295211984832706 0.24285776601758832 -0.48571553203517664 + vertex -0.5442310656517493 -0.39540701425767344 0.0 + vertex -0.5442310656517493 0.39540701425767344 0.7908140285153469 + vertex -0.5442310656517493 0.39540701425767344 0.0 endloop endfacet -facet normal -0.045056630103733994 0.0 0.07290315892637336 +facet normal 0.5059485716648446 -0.36759315429807765 0.0 outer loop - vertex -0.15009435383073877 -0.15009435383073877 0.6358098858659154 - vertex -0.15009435383073877 0.15009435383073877 0.6358098858659154 - vertex -0.3929521198483272 0.24285776601758832 0.48571553203517664 + vertex 0.6727065926127129 0.0 0.0 + vertex 0.6727065926127129 0.0 0.7908140285153469 + vertex 0.20787776934539276 -0.6397819884590299 0.7908140285153469 endloop endfacet -facet normal -0.07290315892637333 -3.469446951953614e-17 0.11795978903010736 +facet normal 0.5059485716648446 -0.36759315429807765 0.0 outer loop - vertex -0.15009435383073877 -0.15009435383073877 0.6358098858659154 - vertex -0.3929521198483272 0.24285776601758832 0.48571553203517664 - vertex -0.5430464736790659 0.0 0.39295211984832706 + vertex 0.6727065926127129 0.0 0.0 + vertex 0.20787776934539276 -0.6397819884590299 0.7908140285153469 + vertex 0.20787776934539276 -0.6397819884590299 0.0 endloop endfacet -facet normal -0.04505663010373401 4.163336342344337e-17 0.07290315892637336 +facet normal 0.5059485716648446 0.36759315429807765 -0.0 outer loop - vertex -0.15009435383073877 -0.15009435383073877 0.6358098858659154 - vertex -0.5430464736790659 0.0 0.39295211984832706 - vertex -0.3929521198483272 -0.24285776601758832 0.48571553203517664 + vertex 0.6727065926127129 0.0 0.0 + vertex 0.20787776934539276 0.6397819884590299 0.0 + vertex 0.20787776934539276 0.6397819884590299 0.7908140285153469 endloop endfacet -facet normal -0.09011326020746803 0.0 0.0 +facet normal 0.5059485716648446 0.36759315429807765 0.0 outer loop - vertex -0.6358098858659154 -0.15009435383073877 -0.15009435383073877 - vertex -0.6358098858659154 -0.15009435383073877 0.15009435383073877 - vertex -0.6358098858659154 0.15009435383073877 0.15009435383073877 - endloop -endfacet -facet normal -0.09011326020746803 0.0 0.0 - outer loop - vertex -0.6358098858659154 -0.15009435383073877 -0.15009435383073877 - vertex -0.6358098858659154 0.15009435383073877 0.15009435383073877 - vertex -0.6358098858659154 0.15009435383073877 -0.15009435383073877 - endloop -endfacet -facet normal -0.07290315892637335 -0.027846528822639306 0.045056630103733994 - outer loop - vertex -0.5430464736790659 0.0 0.39295211984832706 - vertex -0.6358098858659154 -0.15009435383073877 0.15009435383073877 - vertex -0.48571553203517664 -0.3929521198483272 0.24285776601758832 - endloop -endfacet -facet normal -0.07290315892637335 -0.027846528822639313 0.045056630103734 - outer loop - vertex -0.5430464736790659 0.0 0.39295211984832706 - vertex -0.48571553203517664 -0.3929521198483272 0.24285776601758832 - vertex -0.3929521198483272 -0.24285776601758832 0.48571553203517664 - endloop -endfacet -facet normal 0.07290315892637333 -0.027846528822639337 -0.04505663010373405 - outer loop - vertex 0.48571553203517664 -0.3929521198483272 -0.24285776601758832 - vertex 0.39295211984832706 -0.24285776601758832 -0.48571553203517664 - vertex 0.5430464736790659 0.0 -0.3929521198483272 - endloop -endfacet -facet normal 0.07290315892637338 -0.027846528822639327 -0.045056630103733994 - outer loop - vertex 0.48571553203517664 -0.3929521198483272 -0.24285776601758832 - vertex 0.5430464736790659 0.0 -0.3929521198483272 - vertex 0.6358098858659154 -0.15009435383073877 -0.15009435383073877 - endloop -endfacet -facet normal 0.0 0.0 0.09011326020746803 - outer loop - vertex -0.15009435383073877 -0.15009435383073877 0.6358098858659154 - vertex 0.15009435383073877 -0.15009435383073877 0.6358098858659154 - vertex 0.15009435383073877 0.15009435383073877 0.6358098858659154 - endloop -endfacet -facet normal 0.0 -0.0 0.09011326020746803 - outer loop - vertex -0.15009435383073877 -0.15009435383073877 0.6358098858659154 - vertex 0.15009435383073877 0.15009435383073877 0.6358098858659154 - vertex -0.15009435383073877 0.15009435383073877 0.6358098858659154 - endloop -endfacet -facet normal -0.07290315892637333 -0.02784652882263932 -0.045056630103734 - outer loop - vertex -0.5430464736790659 0.0 -0.3929521198483272 - vertex -0.3929521198483272 -0.24285776601758832 -0.48571553203517664 - vertex -0.48571553203517664 -0.3929521198483272 -0.24285776601758832 - endloop -endfacet -facet normal -0.07290315892637339 -0.027846528822639327 -0.045056630103733994 - outer loop - vertex -0.5430464736790659 0.0 -0.3929521198483272 - vertex -0.48571553203517664 -0.3929521198483272 -0.24285776601758832 - vertex -0.6358098858659154 -0.15009435383073877 -0.15009435383073877 - endloop -endfacet -facet normal -0.07290315892637331 -0.04505663010373398 0.0 - outer loop - vertex -0.48571553203517664 -0.3929521198483272 -0.24285776601758832 - vertex -0.3929521198483272 -0.5430464736790659 0.0 - vertex -0.48571553203517664 -0.3929521198483272 0.24285776601758832 - endloop -endfacet -facet normal -0.1179597890301074 -0.07290315892637331 0.0 - outer loop - vertex -0.48571553203517664 -0.3929521198483272 -0.24285776601758832 - vertex -0.48571553203517664 -0.3929521198483272 0.24285776601758832 - vertex -0.6358098858659154 -0.15009435383073877 0.15009435383073877 - endloop -endfacet -facet normal -0.07290315892637336 -0.045056630103733994 -0.0 - outer loop - vertex -0.48571553203517664 -0.3929521198483272 -0.24285776601758832 - vertex -0.6358098858659154 -0.15009435383073877 0.15009435383073877 - vertex -0.6358098858659154 -0.15009435383073877 -0.15009435383073877 - endloop -endfacet -facet normal -0.027846528822639313 0.04505663010373401 -0.07290315892637336 - outer loop - vertex -0.15009435383073877 0.15009435383073877 -0.6358098858659154 - vertex -0.3929521198483272 0.24285776601758832 -0.48571553203517664 - vertex -0.24285776601758832 0.48571553203517664 -0.3929521198483272 - endloop -endfacet -facet normal -0.027846528822639306 0.04505663010373399 -0.07290315892637333 - outer loop - vertex -0.15009435383073877 0.15009435383073877 -0.6358098858659154 - vertex -0.24285776601758832 0.48571553203517664 -0.3929521198483272 - vertex 0.0 0.39295211984832706 -0.5430464736790659 - endloop -endfacet -facet normal -0.045056630103733994 6.938893903907228e-18 -0.07290315892637336 - outer loop - vertex -0.15009435383073877 -0.15009435383073877 -0.6358098858659154 - vertex -0.3929521198483272 -0.24285776601758832 -0.48571553203517664 - vertex -0.5430464736790659 0.0 -0.3929521198483272 - endloop -endfacet -facet normal -0.0729031589263733 -6.938893903907228e-18 -0.11795978903010734 - outer loop - vertex -0.15009435383073877 -0.15009435383073877 -0.6358098858659154 - vertex -0.5430464736790659 0.0 -0.3929521198483272 - vertex -0.3929521198483272 0.24285776601758832 -0.48571553203517664 - endloop -endfacet -facet normal -0.045056630103734 0.0 -0.07290315892637336 - outer loop - vertex -0.15009435383073877 -0.15009435383073877 -0.6358098858659154 - vertex -0.3929521198483272 0.24285776601758832 -0.48571553203517664 - vertex -0.15009435383073877 0.15009435383073877 -0.6358098858659154 - endloop -endfacet -facet normal 0.0 0.0 -0.09011326020746803 - outer loop - vertex -0.15009435383073877 -0.15009435383073877 -0.6358098858659154 - vertex -0.15009435383073877 0.15009435383073877 -0.6358098858659154 - vertex 0.15009435383073877 0.15009435383073877 -0.6358098858659154 - endloop -endfacet -facet normal 0.0 0.0 -0.09011326020746803 - outer loop - vertex -0.15009435383073877 -0.15009435383073877 -0.6358098858659154 - vertex 0.15009435383073877 0.15009435383073877 -0.6358098858659154 - vertex 0.15009435383073877 -0.15009435383073877 -0.6358098858659154 - endloop -endfacet -facet normal 0.045056630103733994 0.0 -0.07290315892637332 - outer loop - vertex 0.15009435383073877 -0.15009435383073877 -0.6358098858659154 - vertex 0.15009435383073877 0.15009435383073877 -0.6358098858659154 - vertex 0.39295211984832706 0.24285776601758832 -0.48571553203517664 - endloop -endfacet -facet normal 0.0729031589263733 2.0816681711721685e-17 -0.11795978903010737 - outer loop - vertex 0.15009435383073877 -0.15009435383073877 -0.6358098858659154 - vertex 0.39295211984832706 0.24285776601758832 -0.48571553203517664 - vertex 0.5430464736790659 0.0 -0.3929521198483272 - endloop -endfacet -facet normal 0.045056630103733994 -2.0816681711721685e-17 -0.07290315892637333 - outer loop - vertex 0.15009435383073877 -0.15009435383073877 -0.6358098858659154 - vertex 0.5430464736790659 0.0 -0.3929521198483272 - vertex 0.39295211984832706 -0.24285776601758832 -0.48571553203517664 - endloop -endfacet -facet normal 0.07290315892637335 -0.027846528822639306 0.045056630103733994 - outer loop - vertex 0.48571553203517664 -0.3929521198483272 0.24285776601758832 - vertex 0.6358098858659154 -0.15009435383073877 0.15009435383073877 - vertex 0.5430464736790659 0.0 0.39295211984832706 - endloop -endfacet -facet normal 0.07290315892637335 -0.027846528822639327 0.04505663010373404 - outer loop - vertex 0.48571553203517664 -0.3929521198483272 0.24285776601758832 - vertex 0.5430464736790659 0.0 0.39295211984832706 - vertex 0.39295211984832706 -0.24285776601758832 0.48571553203517664 - endloop -endfacet -facet normal 0.09011326020746803 0.0 0.0 - outer loop - vertex 0.6358098858659154 -0.15009435383073877 -0.15009435383073877 - vertex 0.6358098858659154 0.15009435383073877 -0.15009435383073877 - vertex 0.6358098858659154 0.15009435383073877 0.15009435383073877 - endloop -endfacet -facet normal 0.09011326020746803 0.0 -0.0 - outer loop - vertex 0.6358098858659154 -0.15009435383073877 -0.15009435383073877 - vertex 0.6358098858659154 0.15009435383073877 0.15009435383073877 - vertex 0.6358098858659154 -0.15009435383073877 0.15009435383073877 - endloop -endfacet -facet normal 0.07290315892637336 0.045056630103734036 0.0 - outer loop - vertex 0.48571553203517664 0.39295211984832706 -0.24285776601758832 - vertex 0.39295211984832706 0.5430464736790659 0.0 - vertex 0.48571553203517664 0.39295211984832706 0.24285776601758832 - endloop -endfacet -facet normal 0.11795978903010734 0.07290315892637331 -0.0 - outer loop - vertex 0.48571553203517664 0.39295211984832706 -0.24285776601758832 - vertex 0.48571553203517664 0.39295211984832706 0.24285776601758832 - vertex 0.6358098858659154 0.15009435383073877 0.15009435383073877 - endloop -endfacet -facet normal 0.07290315892637332 0.045056630103733994 0.0 - outer loop - vertex 0.48571553203517664 0.39295211984832706 -0.24285776601758832 - vertex 0.6358098858659154 0.15009435383073877 0.15009435383073877 - vertex 0.6358098858659154 0.15009435383073877 -0.15009435383073877 - endloop -endfacet -facet normal 0.02784652882263931 0.04505663010373398 -0.07290315892637333 - outer loop - vertex 0.0 0.39295211984832706 -0.5430464736790659 - vertex 0.24285776601758832 0.48571553203517664 -0.3929521198483272 - vertex 0.39295211984832706 0.24285776601758832 -0.48571553203517664 - endloop -endfacet -facet normal 0.02784652882263931 0.04505663010373399 -0.07290315892637332 - outer loop - vertex 0.0 0.39295211984832706 -0.5430464736790659 - vertex 0.39295211984832706 0.24285776601758832 -0.48571553203517664 - vertex 0.15009435383073877 0.15009435383073877 -0.6358098858659154 - endloop -endfacet -facet normal 0.0 0.07290315892637336 -0.045056630103733994 - outer loop - vertex -0.15009435383073877 0.6358098858659154 -0.15009435383073877 - vertex 0.15009435383073877 0.6358098858659154 -0.15009435383073877 - vertex 0.24285776601758832 0.48571553203517664 -0.3929521198483272 - endloop -endfacet -facet normal -3.469446951953614e-17 0.11795978903010736 -0.07290315892637333 - outer loop - vertex -0.15009435383073877 0.6358098858659154 -0.15009435383073877 - vertex 0.24285776601758832 0.48571553203517664 -0.3929521198483272 - vertex 0.0 0.39295211984832706 -0.5430464736790659 - endloop -endfacet -facet normal 4.163336342344337e-17 0.07290315892637336 -0.04505663010373401 - outer loop - vertex -0.15009435383073877 0.6358098858659154 -0.15009435383073877 - vertex 0.0 0.39295211984832706 -0.5430464736790659 - vertex -0.24285776601758832 0.48571553203517664 -0.3929521198483272 - endloop -endfacet -facet normal 0.04505663010373401 0.07290315892637333 -0.02784652882263933 - outer loop - vertex 0.15009435383073877 0.6358098858659154 -0.15009435383073877 - vertex 0.39295211984832706 0.5430464736790659 0.0 - vertex 0.48571553203517664 0.39295211984832706 -0.24285776601758832 - endloop -endfacet -facet normal 0.045056630103734036 0.07290315892637336 -0.027846528822639303 - outer loop - vertex 0.15009435383073877 0.6358098858659154 -0.15009435383073877 - vertex 0.48571553203517664 0.39295211984832706 -0.24285776601758832 - vertex 0.24285776601758832 0.48571553203517664 -0.3929521198483272 - endloop -endfacet -facet normal -0.07290315892637335 0.027846528822639327 -0.04505663010373398 - outer loop - vertex -0.5430464736790659 0.0 -0.3929521198483272 - vertex -0.6358098858659154 0.15009435383073877 -0.15009435383073877 - vertex -0.48571553203517664 0.39295211984832706 -0.24285776601758832 - endloop -endfacet -facet normal -0.07290315892637332 0.02784652882263932 -0.04505663010373399 - outer loop - vertex -0.5430464736790659 0.0 -0.3929521198483272 - vertex -0.48571553203517664 0.39295211984832706 -0.24285776601758832 - vertex -0.3929521198483272 0.24285776601758832 -0.48571553203517664 - endloop -endfacet -facet normal 0.07290315892637336 -0.045056630103733994 0.0 - outer loop - vertex 0.48571553203517664 -0.3929521198483272 -0.24285776601758832 - vertex 0.6358098858659154 -0.15009435383073877 -0.15009435383073877 - vertex 0.6358098858659154 -0.15009435383073877 0.15009435383073877 - endloop -endfacet -facet normal 0.1179597890301074 -0.07290315892637331 0.0 - outer loop - vertex 0.48571553203517664 -0.3929521198483272 -0.24285776601758832 - vertex 0.6358098858659154 -0.15009435383073877 0.15009435383073877 - vertex 0.48571553203517664 -0.3929521198483272 0.24285776601758832 - endloop -endfacet -facet normal 0.07290315892637331 -0.045056630103734036 0.0 - outer loop - vertex 0.48571553203517664 -0.3929521198483272 -0.24285776601758832 - vertex 0.48571553203517664 -0.3929521198483272 0.24285776601758832 - vertex 0.39295211984832706 -0.5430464736790659 0.0 - endloop -endfacet -facet normal 0.027846528822639327 -0.04505663010373398 -0.07290315892637335 - outer loop - vertex 0.0 -0.3929521198483272 -0.5430464736790659 - vertex 0.15009435383073877 -0.15009435383073877 -0.6358098858659154 - vertex 0.39295211984832706 -0.24285776601758832 -0.48571553203517664 - endloop -endfacet -facet normal 0.02784652882263932 -0.04505663010373399 -0.07290315892637332 - outer loop - vertex 0.0 -0.3929521198483272 -0.5430464736790659 - vertex 0.39295211984832706 -0.24285776601758832 -0.48571553203517664 - vertex 0.24285776601758832 -0.48571553203517664 -0.3929521198483272 - endloop -endfacet -facet normal 0.04505663010373401 6.938893903907228e-18 0.07290315892637333 - outer loop - vertex 0.15009435383073877 -0.15009435383073877 0.6358098858659154 - vertex 0.39295211984832706 -0.24285776601758832 0.48571553203517664 - vertex 0.5430464736790659 0.0 0.39295211984832706 - endloop -endfacet -facet normal 0.07290315892637333 -1.3877787807814457e-17 0.11795978903010737 - outer loop - vertex 0.15009435383073877 -0.15009435383073877 0.6358098858659154 - vertex 0.5430464736790659 0.0 0.39295211984832706 - vertex 0.39295211984832706 0.24285776601758832 0.48571553203517664 - endloop -endfacet -facet normal 0.045056630103734 0.0 0.07290315892637333 - outer loop - vertex 0.15009435383073877 -0.15009435383073877 0.6358098858659154 - vertex 0.39295211984832706 0.24285776601758832 0.48571553203517664 - vertex 0.15009435383073877 0.15009435383073877 0.6358098858659154 - endloop -endfacet -facet normal 0.07290315892637333 0.027846528822639327 0.04505663010373403 - outer loop - vertex 0.48571553203517664 0.39295211984832706 0.24285776601758832 - vertex 0.39295211984832706 0.24285776601758832 0.48571553203517664 - vertex 0.5430464736790659 0.0 0.39295211984832706 - endloop -endfacet -facet normal 0.07290315892637332 0.02784652882263931 0.04505663010373399 - outer loop - vertex 0.48571553203517664 0.39295211984832706 0.24285776601758832 - vertex 0.5430464736790659 0.0 0.39295211984832706 - vertex 0.6358098858659154 0.15009435383073877 0.15009435383073877 - endloop -endfacet -facet normal -0.04505663010373399 -0.07290315892637335 -0.027846528822639334 - outer loop - vertex -0.15009435383073877 -0.6358098858659154 -0.15009435383073877 - vertex -0.3929521198483272 -0.5430464736790659 0.0 - vertex -0.48571553203517664 -0.3929521198483272 -0.24285776601758832 - endloop -endfacet -facet normal -0.04505663010373401 -0.07290315892637336 -0.027846528822639313 - outer loop - vertex -0.15009435383073877 -0.6358098858659154 -0.15009435383073877 - vertex -0.48571553203517664 -0.3929521198483272 -0.24285776601758832 - vertex -0.24285776601758832 -0.48571553203517664 -0.3929521198483272 - endloop -endfacet -facet normal -0.027846528822639334 -0.04505663010373399 -0.07290315892637335 - outer loop - vertex -0.15009435383073877 -0.15009435383073877 -0.6358098858659154 - vertex 0.0 -0.3929521198483272 -0.5430464736790659 - vertex -0.24285776601758832 -0.48571553203517664 -0.3929521198483272 - endloop -endfacet -facet normal -0.027846528822639313 -0.04505663010373401 -0.07290315892637336 - outer loop - vertex -0.15009435383073877 -0.15009435383073877 -0.6358098858659154 - vertex -0.24285776601758832 -0.48571553203517664 -0.3929521198483272 - vertex -0.3929521198483272 -0.24285776601758832 -0.48571553203517664 - endloop -endfacet -facet normal -0.0 0.045056630103733994 0.027846528822639324 - outer loop - vertex -0.15009435383073877 0.15009435383073877 0.6358098858659154 - vertex 0.15009435383073877 0.15009435383073877 0.6358098858659154 - vertex 0.39295211984832706 0.24285776601758832 0.48571553203517664 - endloop -endfacet -facet normal -1.734723475976807e-17 0.11795978903010734 0.07290315892637332 - outer loop - vertex -0.15009435383073877 0.15009435383073877 0.6358098858659154 - vertex 0.39295211984832706 0.24285776601758832 0.48571553203517664 - vertex 0.48571553203517664 0.39295211984832706 0.24285776601758832 - endloop -endfacet -facet normal 1.3877787807814457e-17 0.19086294795648068 0.11795978903010738 - outer loop - vertex -0.15009435383073877 0.15009435383073877 0.6358098858659154 - vertex 0.48571553203517664 0.39295211984832706 0.24285776601758832 - vertex 0.39295211984832706 0.5430464736790659 0.0 - endloop -endfacet -facet normal -5.551115123125783e-17 0.23591957806021469 0.14580631785274661 - outer loop - vertex -0.15009435383073877 0.15009435383073877 0.6358098858659154 - vertex 0.39295211984832706 0.5430464736790659 0.0 - vertex 0.15009435383073877 0.6358098858659154 -0.15009435383073877 - endloop -endfacet -facet normal 0.0 0.23591957806021469 0.14580631785274664 - outer loop - vertex -0.15009435383073877 0.15009435383073877 0.6358098858659154 - vertex 0.15009435383073877 0.6358098858659154 -0.15009435383073877 - vertex -0.15009435383073877 0.6358098858659154 -0.15009435383073877 - endloop -endfacet -facet normal 4.163336342344337e-17 0.19086294795648073 0.11795978903010738 - outer loop - vertex -0.15009435383073877 0.15009435383073877 0.6358098858659154 - vertex -0.15009435383073877 0.6358098858659154 -0.15009435383073877 - vertex -0.3929521198483272 0.5430464736790659 0.0 - endloop -endfacet -facet normal -1.3877787807814457e-17 0.11795978903010731 0.07290315892637333 - outer loop - vertex -0.15009435383073877 0.15009435383073877 0.6358098858659154 - vertex -0.3929521198483272 0.5430464736790659 0.0 - vertex -0.48571553203517664 0.39295211984832706 0.24285776601758832 - endloop -endfacet -facet normal 2.0816681711721685e-17 0.045056630103734056 0.02784652882263933 - outer loop - vertex -0.15009435383073877 0.15009435383073877 0.6358098858659154 - vertex -0.48571553203517664 0.39295211984832706 0.24285776601758832 - vertex -0.3929521198483272 0.24285776601758832 0.48571553203517664 - endloop -endfacet -facet normal -0.07290315892637332 0.045056630103733994 0.0 - outer loop - vertex -0.48571553203517664 0.39295211984832706 -0.24285776601758832 - vertex -0.6358098858659154 0.15009435383073877 -0.15009435383073877 - vertex -0.6358098858659154 0.15009435383073877 0.15009435383073877 - endloop -endfacet -facet normal -0.11795978903010734 0.07290315892637331 0.0 - outer loop - vertex -0.48571553203517664 0.39295211984832706 -0.24285776601758832 - vertex -0.6358098858659154 0.15009435383073877 0.15009435383073877 - vertex -0.48571553203517664 0.39295211984832706 0.24285776601758832 - endloop -endfacet -facet normal -0.07290315892637336 0.04505663010373398 0.0 - outer loop - vertex -0.48571553203517664 0.39295211984832706 -0.24285776601758832 - vertex -0.48571553203517664 0.39295211984832706 0.24285776601758832 - vertex -0.3929521198483272 0.5430464736790659 0.0 - endloop -endfacet -facet normal -0.045056630103734036 0.07290315892637336 -0.027846528822639303 - outer loop - vertex -0.15009435383073877 0.6358098858659154 -0.15009435383073877 - vertex -0.24285776601758832 0.48571553203517664 -0.3929521198483272 - vertex -0.48571553203517664 0.39295211984832706 -0.24285776601758832 - endloop -endfacet -facet normal -0.04505663010373401 0.07290315892637335 -0.02784652882263936 - outer loop - vertex -0.15009435383073877 0.6358098858659154 -0.15009435383073877 - vertex -0.48571553203517664 0.39295211984832706 -0.24285776601758832 - vertex -0.3929521198483272 0.5430464736790659 0.0 - endloop -endfacet -facet normal 0.0 -0.045056630103734056 0.027846528822639362 - outer loop - vertex -0.15009435383073877 -0.15009435383073877 0.6358098858659154 - vertex -0.3929521198483272 -0.24285776601758832 0.48571553203517664 - vertex -0.48571553203517664 -0.3929521198483272 0.24285776601758832 - endloop -endfacet -facet normal 6.245004513516506e-17 -0.11795978903010731 0.07290315892637331 - outer loop - vertex -0.15009435383073877 -0.15009435383073877 0.6358098858659154 - vertex -0.48571553203517664 -0.3929521198483272 0.24285776601758832 - vertex -0.3929521198483272 -0.5430464736790659 0.0 - endloop -endfacet -facet normal 5.551115123125783e-17 -0.19086294795648073 0.11795978903010737 - outer loop - vertex -0.15009435383073877 -0.15009435383073877 0.6358098858659154 - vertex -0.3929521198483272 -0.5430464736790659 0.0 - vertex -0.15009435383073877 -0.6358098858659154 -0.15009435383073877 - endloop -endfacet -facet normal 0.0 -0.23591957806021469 0.14580631785274664 - outer loop - vertex -0.15009435383073877 -0.15009435383073877 0.6358098858659154 - vertex -0.15009435383073877 -0.6358098858659154 -0.15009435383073877 - vertex 0.15009435383073877 -0.6358098858659154 -0.15009435383073877 - endloop -endfacet -facet normal -4.163336342344337e-17 -0.23591957806021466 0.14580631785274661 - outer loop - vertex -0.15009435383073877 -0.15009435383073877 0.6358098858659154 - vertex 0.15009435383073877 -0.6358098858659154 -0.15009435383073877 - vertex 0.39295211984832706 -0.5430464736790659 0.0 - endloop -endfacet -facet normal -5.551115123125783e-17 -0.1908629479564807 0.11795978903010734 - outer loop - vertex -0.15009435383073877 -0.15009435383073877 0.6358098858659154 - vertex 0.39295211984832706 -0.5430464736790659 0.0 - vertex 0.48571553203517664 -0.3929521198483272 0.24285776601758832 - endloop -endfacet -facet normal -6.938893903907228e-18 -0.11795978903010734 0.07290315892637336 - outer loop - vertex -0.15009435383073877 -0.15009435383073877 0.6358098858659154 - vertex 0.48571553203517664 -0.3929521198483272 0.24285776601758832 - vertex 0.39295211984832706 -0.24285776601758832 0.48571553203517664 - endloop -endfacet -facet normal 0.0 -0.045056630103734 0.02784652882263933 - outer loop - vertex -0.15009435383073877 -0.15009435383073877 0.6358098858659154 - vertex 0.39295211984832706 -0.24285776601758832 0.48571553203517664 - vertex 0.15009435383073877 -0.15009435383073877 0.6358098858659154 - endloop -endfacet -facet normal 6.938893903907228e-18 -0.07290315892637336 -0.045056630103733994 - outer loop - vertex -0.15009435383073877 -0.6358098858659154 -0.15009435383073877 - vertex -0.24285776601758832 -0.48571553203517664 -0.3929521198483272 - vertex 0.0 -0.3929521198483272 -0.5430464736790659 - endloop -endfacet -facet normal -6.938893903907228e-18 -0.11795978903010734 -0.0729031589263733 - outer loop - vertex -0.15009435383073877 -0.6358098858659154 -0.15009435383073877 - vertex 0.0 -0.3929521198483272 -0.5430464736790659 - vertex 0.24285776601758832 -0.48571553203517664 -0.3929521198483272 - endloop -endfacet -facet normal 0.0 -0.07290315892637336 -0.045056630103734 - outer loop - vertex -0.15009435383073877 -0.6358098858659154 -0.15009435383073877 - vertex 0.24285776601758832 -0.48571553203517664 -0.3929521198483272 - vertex 0.15009435383073877 -0.6358098858659154 -0.15009435383073877 - endloop -endfacet -facet normal 0.04505663010373401 -0.07290315892637336 -0.027846528822639313 - outer loop - vertex 0.15009435383073877 -0.6358098858659154 -0.15009435383073877 - vertex 0.24285776601758832 -0.48571553203517664 -0.3929521198483272 - vertex 0.48571553203517664 -0.3929521198483272 -0.24285776601758832 - endloop -endfacet -facet normal 0.04505663010373399 -0.07290315892637333 -0.027846528822639306 - outer loop - vertex 0.15009435383073877 -0.6358098858659154 -0.15009435383073877 - vertex 0.48571553203517664 -0.3929521198483272 -0.24285776601758832 - vertex 0.39295211984832706 -0.5430464736790659 0.0 + vertex 0.6727065926127129 0.0 0.0 + vertex 0.20787776934539276 0.6397819884590299 0.7908140285153469 + vertex 0.6727065926127129 0.0 0.7908140285153469 endloop endfacet endsolid ConvexPolyhedron \ No newline at end of file diff --git a/tests/control/convex_polyhedron.vtk b/tests/control/convex_polyhedron.vtk index d72da8d3..6abecc9f 100644 --- a/tests/control/convex_polyhedron.vtk +++ b/tests/control/convex_polyhedron.vtk @@ -2,97 +2,27 @@ ConvexPolyhedron created by Coxeter version 0.8.0 ASCII DATASET POLYDATA -POINTS 50 float --0.15009435383073877 -0.15009435383073877 -0.6358098858659154 --0.15009435383073877 -0.15009435383073877 0.6358098858659154 --0.15009435383073877 0.15009435383073877 -0.6358098858659154 --0.15009435383073877 0.15009435383073877 0.6358098858659154 --0.15009435383073877 -0.6358098858659154 -0.15009435383073877 --0.15009435383073877 0.6358098858659154 -0.15009435383073877 -0.0 -0.3929521198483272 -0.5430464736790659 -0.0 0.39295211984832706 -0.5430464736790659 -0.15009435383073877 -0.15009435383073877 -0.6358098858659154 -0.15009435383073877 -0.15009435383073877 0.6358098858659154 -0.15009435383073877 0.15009435383073877 -0.6358098858659154 -0.15009435383073877 0.15009435383073877 0.6358098858659154 -0.15009435383073877 -0.6358098858659154 -0.15009435383073877 -0.15009435383073877 0.6358098858659154 -0.15009435383073877 --0.5430464736790659 0.0 -0.3929521198483272 --0.5430464736790659 0.0 0.39295211984832706 --0.24285776601758832 -0.48571553203517664 -0.3929521198483272 --0.24285776601758832 0.48571553203517664 -0.3929521198483272 --0.48571553203517664 -0.3929521198483272 -0.24285776601758832 --0.48571553203517664 -0.3929521198483272 0.24285776601758832 --0.48571553203517664 0.39295211984832706 -0.24285776601758832 --0.48571553203517664 0.39295211984832706 0.24285776601758832 --0.6358098858659154 -0.15009435383073877 -0.15009435383073877 --0.6358098858659154 -0.15009435383073877 0.15009435383073877 --0.6358098858659154 0.15009435383073877 -0.15009435383073877 --0.6358098858659154 0.15009435383073877 0.15009435383073877 --0.3929521198483272 -0.5430464736790659 0.0 --0.3929521198483272 -0.24285776601758832 -0.48571553203517664 --0.3929521198483272 -0.24285776601758832 0.48571553203517664 --0.3929521198483272 0.24285776601758832 -0.48571553203517664 --0.3929521198483272 0.24285776601758832 0.48571553203517664 --0.3929521198483272 0.5430464736790659 0.0 -0.24285776601758832 -0.48571553203517664 -0.3929521198483272 -0.24285776601758832 0.48571553203517664 -0.3929521198483272 -0.48571553203517664 -0.3929521198483272 -0.24285776601758832 -0.48571553203517664 -0.3929521198483272 0.24285776601758832 -0.48571553203517664 0.39295211984832706 -0.24285776601758832 -0.48571553203517664 0.39295211984832706 0.24285776601758832 -0.6358098858659154 -0.15009435383073877 -0.15009435383073877 -0.6358098858659154 -0.15009435383073877 0.15009435383073877 -0.6358098858659154 0.15009435383073877 -0.15009435383073877 -0.6358098858659154 0.15009435383073877 0.15009435383073877 -0.39295211984832706 -0.5430464736790659 0.0 -0.39295211984832706 -0.24285776601758832 -0.48571553203517664 -0.39295211984832706 -0.24285776601758832 0.48571553203517664 -0.39295211984832706 0.24285776601758832 -0.48571553203517664 -0.39295211984832706 0.24285776601758832 0.48571553203517664 -0.39295211984832706 0.5430464736790659 0.0 -0.5430464736790659 0.0 -0.3929521198483272 -0.5430464736790659 0.0 0.39295211984832706 -POLYGONS 42 222 -3 38 48 40 -3 14 22 24 -3 15 25 23 -3 2 7 10 -3 0 8 6 -3 39 41 49 -3 33 36 45 -3 17 29 20 -3 32 43 34 -3 16 18 27 -4 15 30 21 25 -4 36 40 48 45 -5 1 3 30 15 28 -4 22 23 25 24 -4 15 23 19 28 -4 34 43 48 38 -4 1 9 11 3 -4 14 27 18 22 -5 18 26 19 23 22 -4 2 29 17 7 -5 0 27 14 29 2 -4 0 2 10 8 -5 8 10 45 48 43 -4 35 39 49 44 -4 38 40 41 39 -5 36 47 37 41 40 -4 7 33 45 10 -5 5 13 33 7 17 -4 13 47 36 33 -4 14 24 20 29 -5 34 38 39 35 42 -4 6 8 43 32 -5 9 44 49 46 11 -4 37 46 49 41 -4 4 26 18 16 -4 0 6 16 27 -10 3 11 46 37 47 13 5 31 21 30 -5 20 24 25 21 31 -4 5 17 20 31 -10 1 28 19 26 4 12 42 35 44 9 -5 4 16 6 32 12 -4 12 32 34 42 \ No newline at end of file +POINTS 11 float +0.0 0.0 1.2065695672061325 +0.6727065926127129 0.0 0.0 +0.6727065926127129 0.0 0.7908140285153469 +0.20787776934539276 -0.6397819884590299 0.0 +0.20787776934539276 -0.6397819884590299 0.7908140285153469 +0.20787776934539276 0.6397819884590299 0.0 +0.20787776934539276 0.6397819884590299 0.7908140285153469 +-0.5442310656517493 -0.39540701425767344 0.0 +-0.5442310656517493 -0.39540701425767344 0.7908140285153469 +-0.5442310656517493 0.39540701425767344 0.0 +-0.5442310656517493 0.39540701425767344 0.7908140285153469 +POLYGONS 11 51 +3 0 6 10 +3 0 8 4 +3 0 10 8 +3 0 4 2 +3 0 2 6 +4 5 9 10 6 +5 1 3 7 9 5 +4 3 4 8 7 +4 7 8 10 9 +4 1 2 4 3 +4 1 5 6 2 \ No newline at end of file diff --git a/tests/control/convex_polyhedron.x3d b/tests/control/convex_polyhedron.x3d index 721b822d..27d03324 100644 --- a/tests/control/convex_polyhedron.x3d +++ b/tests/control/convex_polyhedron.x3d @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/tests/control/polyhedron.html b/tests/control/polyhedron.html index ea5dafae..f120a572 100644 --- a/tests/control/polyhedron.html +++ b/tests/control/polyhedron.html @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/tests/control/polyhedron.obj b/tests/control/polyhedron.obj index 0a002455..9a814946 100644 --- a/tests/control/polyhedron.obj +++ b/tests/control/polyhedron.obj @@ -1,96 +1,26 @@ # wavefront obj file written by Coxeter version 0.8.0 # Polyhedron -v -0.15009435383073877 -0.15009435383073877 -0.6358098858659154 -v -0.15009435383073877 -0.15009435383073877 0.6358098858659154 -v -0.15009435383073877 0.15009435383073877 -0.6358098858659154 -v -0.15009435383073877 0.15009435383073877 0.6358098858659154 -v -0.15009435383073877 -0.6358098858659154 -0.15009435383073877 -v -0.15009435383073877 0.6358098858659154 -0.15009435383073877 -v 0.0 -0.3929521198483272 -0.5430464736790659 -v 0.0 0.39295211984832706 -0.5430464736790659 -v 0.15009435383073877 -0.15009435383073877 -0.6358098858659154 -v 0.15009435383073877 -0.15009435383073877 0.6358098858659154 -v 0.15009435383073877 0.15009435383073877 -0.6358098858659154 -v 0.15009435383073877 0.15009435383073877 0.6358098858659154 -v 0.15009435383073877 -0.6358098858659154 -0.15009435383073877 -v 0.15009435383073877 0.6358098858659154 -0.15009435383073877 -v -0.5430464736790659 0.0 -0.3929521198483272 -v -0.5430464736790659 0.0 0.39295211984832706 -v -0.24285776601758832 -0.48571553203517664 -0.3929521198483272 -v -0.24285776601758832 0.48571553203517664 -0.3929521198483272 -v -0.48571553203517664 -0.3929521198483272 -0.24285776601758832 -v -0.48571553203517664 -0.3929521198483272 0.24285776601758832 -v -0.48571553203517664 0.39295211984832706 -0.24285776601758832 -v -0.48571553203517664 0.39295211984832706 0.24285776601758832 -v -0.6358098858659154 -0.15009435383073877 -0.15009435383073877 -v -0.6358098858659154 -0.15009435383073877 0.15009435383073877 -v -0.6358098858659154 0.15009435383073877 -0.15009435383073877 -v -0.6358098858659154 0.15009435383073877 0.15009435383073877 -v -0.3929521198483272 -0.5430464736790659 0.0 -v -0.3929521198483272 -0.24285776601758832 -0.48571553203517664 -v -0.3929521198483272 -0.24285776601758832 0.48571553203517664 -v -0.3929521198483272 0.24285776601758832 -0.48571553203517664 -v -0.3929521198483272 0.24285776601758832 0.48571553203517664 -v -0.3929521198483272 0.5430464736790659 0.0 -v 0.24285776601758832 -0.48571553203517664 -0.3929521198483272 -v 0.24285776601758832 0.48571553203517664 -0.3929521198483272 -v 0.48571553203517664 -0.3929521198483272 -0.24285776601758832 -v 0.48571553203517664 -0.3929521198483272 0.24285776601758832 -v 0.48571553203517664 0.39295211984832706 -0.24285776601758832 -v 0.48571553203517664 0.39295211984832706 0.24285776601758832 -v 0.6358098858659154 -0.15009435383073877 -0.15009435383073877 -v 0.6358098858659154 -0.15009435383073877 0.15009435383073877 -v 0.6358098858659154 0.15009435383073877 -0.15009435383073877 -v 0.6358098858659154 0.15009435383073877 0.15009435383073877 -v 0.39295211984832706 -0.5430464736790659 0.0 -v 0.39295211984832706 -0.24285776601758832 -0.48571553203517664 -v 0.39295211984832706 -0.24285776601758832 0.48571553203517664 -v 0.39295211984832706 0.24285776601758832 -0.48571553203517664 -v 0.39295211984832706 0.24285776601758832 0.48571553203517664 -v 0.39295211984832706 0.5430464736790659 0.0 -v 0.5430464736790659 0.0 -0.3929521198483272 -v 0.5430464736790659 0.0 0.39295211984832706 +v 0.0 0.0 1.2065695672061325 +v 0.6727065926127129 0.0 0.0 +v 0.6727065926127129 0.0 0.7908140285153469 +v 0.20787776934539276 -0.6397819884590299 0.0 +v 0.20787776934539276 -0.6397819884590299 0.7908140285153469 +v 0.20787776934539276 0.6397819884590299 0.0 +v 0.20787776934539276 0.6397819884590299 0.7908140285153469 +v -0.5442310656517493 -0.39540701425767344 0.0 +v -0.5442310656517493 -0.39540701425767344 0.7908140285153469 +v -0.5442310656517493 0.39540701425767344 0.0 +v -0.5442310656517493 0.39540701425767344 0.7908140285153469 -f 39 49 41 -f 15 23 25 -f 16 26 24 -f 3 8 11 -f 1 9 7 -f 40 42 50 -f 34 37 46 -f 18 30 21 -f 33 44 35 -f 17 19 28 -f 16 31 22 26 -f 37 41 49 46 -f 2 4 31 16 29 -f 23 24 26 25 -f 16 24 20 29 -f 35 44 49 39 -f 2 10 12 4 -f 15 28 19 23 -f 19 27 20 24 23 -f 3 30 18 8 -f 1 28 15 30 3 -f 1 3 11 9 -f 9 11 46 49 44 -f 36 40 50 45 -f 39 41 42 40 -f 37 48 38 42 41 -f 8 34 46 11 -f 6 14 34 8 18 -f 14 48 37 34 -f 15 25 21 30 -f 35 39 40 36 43 -f 7 9 44 33 -f 10 45 50 47 12 -f 38 47 50 42 -f 5 27 19 17 -f 1 7 17 28 -f 4 12 47 38 48 14 6 32 22 31 -f 21 25 26 22 32 -f 6 18 21 32 -f 2 29 20 27 5 13 43 36 45 10 -f 5 17 7 33 13 -f 13 33 35 43 \ No newline at end of file +f 1 7 11 +f 1 9 5 +f 1 11 9 +f 1 5 3 +f 1 3 7 +f 6 10 11 7 +f 2 4 8 10 6 +f 4 5 9 8 +f 8 9 11 10 +f 2 3 5 4 +f 2 6 7 3 \ No newline at end of file diff --git a/tests/control/polyhedron.off b/tests/control/polyhedron.off index 9fa54829..5456db93 100644 --- a/tests/control/polyhedron.off +++ b/tests/control/polyhedron.off @@ -1,96 +1,26 @@ OFF # OFF file written by Coxeter version 0.8.0 # Polyhedron -50 f42 90 --0.15009435383073877 -0.15009435383073877 -0.6358098858659154 --0.15009435383073877 -0.15009435383073877 0.6358098858659154 --0.15009435383073877 0.15009435383073877 -0.6358098858659154 --0.15009435383073877 0.15009435383073877 0.6358098858659154 --0.15009435383073877 -0.6358098858659154 -0.15009435383073877 --0.15009435383073877 0.6358098858659154 -0.15009435383073877 -0.0 -0.3929521198483272 -0.5430464736790659 -0.0 0.39295211984832706 -0.5430464736790659 -0.15009435383073877 -0.15009435383073877 -0.6358098858659154 -0.15009435383073877 -0.15009435383073877 0.6358098858659154 -0.15009435383073877 0.15009435383073877 -0.6358098858659154 -0.15009435383073877 0.15009435383073877 0.6358098858659154 -0.15009435383073877 -0.6358098858659154 -0.15009435383073877 -0.15009435383073877 0.6358098858659154 -0.15009435383073877 --0.5430464736790659 0.0 -0.3929521198483272 --0.5430464736790659 0.0 0.39295211984832706 --0.24285776601758832 -0.48571553203517664 -0.3929521198483272 --0.24285776601758832 0.48571553203517664 -0.3929521198483272 --0.48571553203517664 -0.3929521198483272 -0.24285776601758832 --0.48571553203517664 -0.3929521198483272 0.24285776601758832 --0.48571553203517664 0.39295211984832706 -0.24285776601758832 --0.48571553203517664 0.39295211984832706 0.24285776601758832 --0.6358098858659154 -0.15009435383073877 -0.15009435383073877 --0.6358098858659154 -0.15009435383073877 0.15009435383073877 --0.6358098858659154 0.15009435383073877 -0.15009435383073877 --0.6358098858659154 0.15009435383073877 0.15009435383073877 --0.3929521198483272 -0.5430464736790659 0.0 --0.3929521198483272 -0.24285776601758832 -0.48571553203517664 --0.3929521198483272 -0.24285776601758832 0.48571553203517664 --0.3929521198483272 0.24285776601758832 -0.48571553203517664 --0.3929521198483272 0.24285776601758832 0.48571553203517664 --0.3929521198483272 0.5430464736790659 0.0 -0.24285776601758832 -0.48571553203517664 -0.3929521198483272 -0.24285776601758832 0.48571553203517664 -0.3929521198483272 -0.48571553203517664 -0.3929521198483272 -0.24285776601758832 -0.48571553203517664 -0.3929521198483272 0.24285776601758832 -0.48571553203517664 0.39295211984832706 -0.24285776601758832 -0.48571553203517664 0.39295211984832706 0.24285776601758832 -0.6358098858659154 -0.15009435383073877 -0.15009435383073877 -0.6358098858659154 -0.15009435383073877 0.15009435383073877 -0.6358098858659154 0.15009435383073877 -0.15009435383073877 -0.6358098858659154 0.15009435383073877 0.15009435383073877 -0.39295211984832706 -0.5430464736790659 0.0 -0.39295211984832706 -0.24285776601758832 -0.48571553203517664 -0.39295211984832706 -0.24285776601758832 0.48571553203517664 -0.39295211984832706 0.24285776601758832 -0.48571553203517664 -0.39295211984832706 0.24285776601758832 0.48571553203517664 -0.39295211984832706 0.5430464736790659 0.0 -0.5430464736790659 0.0 -0.3929521198483272 -0.5430464736790659 0.0 0.39295211984832706 -3 38 48 40 -3 14 22 24 -3 15 25 23 -3 2 7 10 -3 0 8 6 -3 39 41 49 -3 33 36 45 -3 17 29 20 -3 32 43 34 -3 16 18 27 -4 15 30 21 25 -4 36 40 48 45 -5 1 3 30 15 28 -4 22 23 25 24 -4 15 23 19 28 -4 34 43 48 38 -4 1 9 11 3 -4 14 27 18 22 -5 18 26 19 23 22 -4 2 29 17 7 -5 0 27 14 29 2 -4 0 2 10 8 -5 8 10 45 48 43 -4 35 39 49 44 -4 38 40 41 39 -5 36 47 37 41 40 -4 7 33 45 10 -5 5 13 33 7 17 -4 13 47 36 33 -4 14 24 20 29 -5 34 38 39 35 42 -4 6 8 43 32 -5 9 44 49 46 11 -4 37 46 49 41 -4 4 26 18 16 -4 0 6 16 27 -10 3 11 46 37 47 13 5 31 21 30 -5 20 24 25 21 31 -4 5 17 20 31 -10 1 28 19 26 4 12 42 35 44 9 -5 4 16 6 32 12 -4 12 32 34 42 \ No newline at end of file +11 f11 20 +0.0 0.0 1.2065695672061325 +0.6727065926127129 0.0 0.0 +0.6727065926127129 0.0 0.7908140285153469 +0.20787776934539276 -0.6397819884590299 0.0 +0.20787776934539276 -0.6397819884590299 0.7908140285153469 +0.20787776934539276 0.6397819884590299 0.0 +0.20787776934539276 0.6397819884590299 0.7908140285153469 +-0.5442310656517493 -0.39540701425767344 0.0 +-0.5442310656517493 -0.39540701425767344 0.7908140285153469 +-0.5442310656517493 0.39540701425767344 0.0 +-0.5442310656517493 0.39540701425767344 0.7908140285153469 +3 0 6 10 +3 0 8 4 +3 0 10 8 +3 0 4 2 +3 0 2 6 +4 5 9 10 6 +5 1 3 7 9 5 +4 3 4 8 7 +4 7 8 10 9 +4 1 2 4 3 +4 1 5 6 2 \ No newline at end of file diff --git a/tests/control/polyhedron.ply b/tests/control/polyhedron.ply index 29238975..571cdaa9 100644 --- a/tests/control/polyhedron.ply +++ b/tests/control/polyhedron.ply @@ -2,102 +2,32 @@ ply format ascii 1.0 comment PLY file written by Coxeter version 0.8.0 comment Polyhedron -element vertex 50 +element vertex 11 property float x property float y property float z -element face 42 +element face 11 property list uchar uint vertex_indices end_header --0.15009435383073877 -0.15009435383073877 -0.6358098858659154 --0.15009435383073877 -0.15009435383073877 0.6358098858659154 --0.15009435383073877 0.15009435383073877 -0.6358098858659154 --0.15009435383073877 0.15009435383073877 0.6358098858659154 --0.15009435383073877 -0.6358098858659154 -0.15009435383073877 --0.15009435383073877 0.6358098858659154 -0.15009435383073877 -0.0 -0.3929521198483272 -0.5430464736790659 -0.0 0.39295211984832706 -0.5430464736790659 -0.15009435383073877 -0.15009435383073877 -0.6358098858659154 -0.15009435383073877 -0.15009435383073877 0.6358098858659154 -0.15009435383073877 0.15009435383073877 -0.6358098858659154 -0.15009435383073877 0.15009435383073877 0.6358098858659154 -0.15009435383073877 -0.6358098858659154 -0.15009435383073877 -0.15009435383073877 0.6358098858659154 -0.15009435383073877 --0.5430464736790659 0.0 -0.3929521198483272 --0.5430464736790659 0.0 0.39295211984832706 --0.24285776601758832 -0.48571553203517664 -0.3929521198483272 --0.24285776601758832 0.48571553203517664 -0.3929521198483272 --0.48571553203517664 -0.3929521198483272 -0.24285776601758832 --0.48571553203517664 -0.3929521198483272 0.24285776601758832 --0.48571553203517664 0.39295211984832706 -0.24285776601758832 --0.48571553203517664 0.39295211984832706 0.24285776601758832 --0.6358098858659154 -0.15009435383073877 -0.15009435383073877 --0.6358098858659154 -0.15009435383073877 0.15009435383073877 --0.6358098858659154 0.15009435383073877 -0.15009435383073877 --0.6358098858659154 0.15009435383073877 0.15009435383073877 --0.3929521198483272 -0.5430464736790659 0.0 --0.3929521198483272 -0.24285776601758832 -0.48571553203517664 --0.3929521198483272 -0.24285776601758832 0.48571553203517664 --0.3929521198483272 0.24285776601758832 -0.48571553203517664 --0.3929521198483272 0.24285776601758832 0.48571553203517664 --0.3929521198483272 0.5430464736790659 0.0 -0.24285776601758832 -0.48571553203517664 -0.3929521198483272 -0.24285776601758832 0.48571553203517664 -0.3929521198483272 -0.48571553203517664 -0.3929521198483272 -0.24285776601758832 -0.48571553203517664 -0.3929521198483272 0.24285776601758832 -0.48571553203517664 0.39295211984832706 -0.24285776601758832 -0.48571553203517664 0.39295211984832706 0.24285776601758832 -0.6358098858659154 -0.15009435383073877 -0.15009435383073877 -0.6358098858659154 -0.15009435383073877 0.15009435383073877 -0.6358098858659154 0.15009435383073877 -0.15009435383073877 -0.6358098858659154 0.15009435383073877 0.15009435383073877 -0.39295211984832706 -0.5430464736790659 0.0 -0.39295211984832706 -0.24285776601758832 -0.48571553203517664 -0.39295211984832706 -0.24285776601758832 0.48571553203517664 -0.39295211984832706 0.24285776601758832 -0.48571553203517664 -0.39295211984832706 0.24285776601758832 0.48571553203517664 -0.39295211984832706 0.5430464736790659 0.0 -0.5430464736790659 0.0 -0.3929521198483272 -0.5430464736790659 0.0 0.39295211984832706 -3 38 48 40 -3 14 22 24 -3 15 25 23 -3 2 7 10 -3 0 8 6 -3 39 41 49 -3 33 36 45 -3 17 29 20 -3 32 43 34 -3 16 18 27 -4 15 30 21 25 -4 36 40 48 45 -5 1 3 30 15 28 -4 22 23 25 24 -4 15 23 19 28 -4 34 43 48 38 -4 1 9 11 3 -4 14 27 18 22 -5 18 26 19 23 22 -4 2 29 17 7 -5 0 27 14 29 2 -4 0 2 10 8 -5 8 10 45 48 43 -4 35 39 49 44 -4 38 40 41 39 -5 36 47 37 41 40 -4 7 33 45 10 -5 5 13 33 7 17 -4 13 47 36 33 -4 14 24 20 29 -5 34 38 39 35 42 -4 6 8 43 32 -5 9 44 49 46 11 -4 37 46 49 41 -4 4 26 18 16 -4 0 6 16 27 -10 3 11 46 37 47 13 5 31 21 30 -5 20 24 25 21 31 -4 5 17 20 31 -10 1 28 19 26 4 12 42 35 44 9 -5 4 16 6 32 12 -4 12 32 34 42 \ No newline at end of file +0.0 0.0 1.2065695672061325 +0.6727065926127129 0.0 0.0 +0.6727065926127129 0.0 0.7908140285153469 +0.20787776934539276 -0.6397819884590299 0.0 +0.20787776934539276 -0.6397819884590299 0.7908140285153469 +0.20787776934539276 0.6397819884590299 0.0 +0.20787776934539276 0.6397819884590299 0.7908140285153469 +-0.5442310656517493 -0.39540701425767344 0.0 +-0.5442310656517493 -0.39540701425767344 0.7908140285153469 +-0.5442310656517493 0.39540701425767344 0.0 +-0.5442310656517493 0.39540701425767344 0.7908140285153469 +3 0 6 10 +3 0 8 4 +3 0 10 8 +3 0 4 2 +3 0 2 6 +4 5 9 10 6 +5 1 3 7 9 5 +4 3 4 8 7 +4 7 8 10 9 +4 1 2 4 3 +4 1 5 6 2 \ No newline at end of file diff --git a/tests/control/polyhedron.stl b/tests/control/polyhedron.stl index 565ff493..9322ec3b 100644 --- a/tests/control/polyhedron.stl +++ b/tests/control/polyhedron.stl @@ -1,674 +1,128 @@ solid Polyhedron -facet normal 0.07290315892637336 0.0 -0.0278465288226393 +facet normal -0.1016002490416318 0.31269341384833604 0.4303855614712601 outer loop - vertex 0.6358098858659154 -0.15009435383073877 -0.15009435383073877 - vertex 0.5430464736790659 0.0 -0.3929521198483272 - vertex 0.6358098858659154 0.15009435383073877 -0.15009435383073877 + vertex 0.0 0.0 1.2065695672061325 + vertex 0.20787776934539276 0.6397819884590299 0.7908140285153469 + vertex -0.5442310656517493 0.39540701425767344 0.7908140285153469 endloop endfacet -facet normal -0.07290315892637336 0.0 -0.0278465288226393 +facet normal -0.1016002490416318 -0.31269341384833604 0.43038556147126006 outer loop - vertex -0.5430464736790659 0.0 -0.3929521198483272 - vertex -0.6358098858659154 -0.15009435383073877 -0.15009435383073877 - vertex -0.6358098858659154 0.15009435383073877 -0.15009435383073877 + vertex 0.0 0.0 1.2065695672061325 + vertex -0.5442310656517493 -0.39540701425767344 0.7908140285153469 + vertex 0.20787776934539276 -0.6397819884590299 0.7908140285153469 endloop endfacet -facet normal -0.07290315892637332 0.0 0.0278465288226393 +facet normal -0.32878531242962833 0.0 0.43038556147126006 outer loop - vertex -0.5430464736790659 0.0 0.39295211984832706 - vertex -0.6358098858659154 0.15009435383073877 0.15009435383073877 - vertex -0.6358098858659154 -0.15009435383073877 0.15009435383073877 + vertex 0.0 0.0 1.2065695672061325 + vertex -0.5442310656517493 0.39540701425767344 0.7908140285153469 + vertex -0.5442310656517493 -0.39540701425767344 0.7908140285153469 endloop endfacet -facet normal 0.0 0.0278465288226393 -0.07290315892637332 +facet normal 0.265992905256446 -0.19325515781650868 0.43038556147126006 outer loop - vertex -0.15009435383073877 0.15009435383073877 -0.6358098858659154 - vertex 0.0 0.39295211984832706 -0.5430464736790659 - vertex 0.15009435383073877 0.15009435383073877 -0.6358098858659154 + vertex 0.0 0.0 1.2065695672061325 + vertex 0.20787776934539276 -0.6397819884590299 0.7908140285153469 + vertex 0.6727065926127129 0.0 0.7908140285153469 endloop endfacet -facet normal 0.0 -0.0278465288226393 -0.07290315892637336 +facet normal 0.265992905256446 0.19325515781650868 0.43038556147126 outer loop - vertex -0.15009435383073877 -0.15009435383073877 -0.6358098858659154 - vertex 0.15009435383073877 -0.15009435383073877 -0.6358098858659154 - vertex 0.0 -0.3929521198483272 -0.5430464736790659 + vertex 0.0 0.0 1.2065695672061325 + vertex 0.6727065926127129 0.0 0.7908140285153469 + vertex 0.20787776934539276 0.6397819884590299 0.7908140285153469 endloop endfacet -facet normal 0.07290315892637332 -0.0 0.0278465288226393 +facet normal -0.19325515781650865 0.5947782176860742 0.0 outer loop - vertex 0.6358098858659154 -0.15009435383073877 0.15009435383073877 - vertex 0.6358098858659154 0.15009435383073877 0.15009435383073877 - vertex 0.5430464736790659 0.0 0.39295211984832706 + vertex 0.20787776934539276 0.6397819884590299 0.0 + vertex -0.5442310656517493 0.39540701425767344 0.0 + vertex -0.5442310656517493 0.39540701425767344 0.7908140285153469 endloop endfacet -facet normal 0.045056630103734036 0.04505663010373401 -0.045056630103734015 +facet normal -0.19325515781650865 0.5947782176860742 0.0 outer loop - vertex 0.24285776601758832 0.48571553203517664 -0.3929521198483272 - vertex 0.48571553203517664 0.39295211984832706 -0.24285776601758832 - vertex 0.39295211984832706 0.24285776601758832 -0.48571553203517664 + vertex 0.20787776934539276 0.6397819884590299 0.0 + vertex -0.5442310656517493 0.39540701425767344 0.7908140285153469 + vertex 0.20787776934539276 0.6397819884590299 0.7908140285153469 endloop endfacet -facet normal -0.045056630103734036 0.04505663010373402 -0.04505663010373401 +facet normal -0.0 0.0 -0.5947782176860743 outer loop - vertex -0.24285776601758832 0.48571553203517664 -0.3929521198483272 - vertex -0.3929521198483272 0.24285776601758832 -0.48571553203517664 - vertex -0.48571553203517664 0.39295211984832706 -0.24285776601758832 + vertex 0.6727065926127129 0.0 0.0 + vertex 0.20787776934539276 -0.6397819884590299 0.0 + vertex -0.5442310656517493 -0.39540701425767344 0.0 endloop endfacet -facet normal 0.04505663010373402 -0.04505663010373401 -0.045056630103734036 +facet normal -0.0 0.0 -0.9623713719841519 outer loop - vertex 0.24285776601758832 -0.48571553203517664 -0.3929521198483272 - vertex 0.39295211984832706 -0.24285776601758832 -0.48571553203517664 - vertex 0.48571553203517664 -0.3929521198483272 -0.24285776601758832 + vertex 0.6727065926127129 0.0 0.0 + vertex -0.5442310656517493 -0.39540701425767344 0.0 + vertex -0.5442310656517493 0.39540701425767344 0.0 endloop endfacet -facet normal -0.04505663010373402 -0.04505663010373402 -0.04505663010373402 +facet normal 0.0 0.0 -0.5947782176860742 outer loop - vertex -0.24285776601758832 -0.48571553203517664 -0.3929521198483272 - vertex -0.48571553203517664 -0.3929521198483272 -0.24285776601758832 - vertex -0.3929521198483272 -0.24285776601758832 -0.48571553203517664 + vertex 0.6727065926127129 0.0 0.0 + vertex -0.5442310656517493 0.39540701425767344 0.0 + vertex 0.20787776934539276 0.6397819884590299 0.0 endloop endfacet -facet normal -0.07290315892637333 0.02784652882263931 0.04505663010373398 +facet normal -0.19325515781650865 -0.5947782176860742 0.0 outer loop - vertex -0.5430464736790659 0.0 0.39295211984832706 - vertex -0.3929521198483272 0.24285776601758832 0.48571553203517664 - vertex -0.48571553203517664 0.39295211984832706 0.24285776601758832 + vertex 0.20787776934539276 -0.6397819884590299 0.0 + vertex 0.20787776934539276 -0.6397819884590299 0.7908140285153469 + vertex -0.5442310656517493 -0.39540701425767344 0.7908140285153469 endloop endfacet -facet normal -0.07290315892637332 0.02784652882263931 0.04505663010373399 +facet normal -0.19325515781650865 -0.5947782176860742 -0.0 outer loop - vertex -0.5430464736790659 0.0 0.39295211984832706 - vertex -0.48571553203517664 0.39295211984832706 0.24285776601758832 - vertex -0.6358098858659154 0.15009435383073877 0.15009435383073877 + vertex 0.20787776934539276 -0.6397819884590299 0.0 + vertex -0.5442310656517493 -0.39540701425767344 0.7908140285153469 + vertex -0.5442310656517493 -0.39540701425767344 0.0 endloop endfacet -facet normal 0.07290315892637335 0.027846528822639327 -0.04505663010373398 +facet normal -0.6253868276966719 0.0 0.0 outer loop - vertex 0.48571553203517664 0.39295211984832706 -0.24285776601758832 - vertex 0.6358098858659154 0.15009435383073877 -0.15009435383073877 - vertex 0.5430464736790659 0.0 -0.3929521198483272 + vertex -0.5442310656517493 -0.39540701425767344 0.0 + vertex -0.5442310656517493 -0.39540701425767344 0.7908140285153469 + vertex -0.5442310656517493 0.39540701425767344 0.7908140285153469 endloop endfacet -facet normal 0.07290315892637333 0.02784652882263934 -0.04505663010373403 +facet normal -0.6253868276966719 0.0 0.0 outer loop - vertex 0.48571553203517664 0.39295211984832706 -0.24285776601758832 - vertex 0.5430464736790659 0.0 -0.3929521198483272 - vertex 0.39295211984832706 0.24285776601758832 -0.48571553203517664 + vertex -0.5442310656517493 -0.39540701425767344 0.0 + vertex -0.5442310656517493 0.39540701425767344 0.7908140285153469 + vertex -0.5442310656517493 0.39540701425767344 0.0 endloop endfacet -facet normal -0.045056630103733994 0.0 0.07290315892637336 +facet normal 0.5059485716648446 -0.36759315429807765 0.0 outer loop - vertex -0.15009435383073877 -0.15009435383073877 0.6358098858659154 - vertex -0.15009435383073877 0.15009435383073877 0.6358098858659154 - vertex -0.3929521198483272 0.24285776601758832 0.48571553203517664 + vertex 0.6727065926127129 0.0 0.0 + vertex 0.6727065926127129 0.0 0.7908140285153469 + vertex 0.20787776934539276 -0.6397819884590299 0.7908140285153469 endloop endfacet -facet normal -0.07290315892637333 -3.469446951953614e-17 0.11795978903010736 +facet normal 0.5059485716648446 -0.36759315429807765 0.0 outer loop - vertex -0.15009435383073877 -0.15009435383073877 0.6358098858659154 - vertex -0.3929521198483272 0.24285776601758832 0.48571553203517664 - vertex -0.5430464736790659 0.0 0.39295211984832706 + vertex 0.6727065926127129 0.0 0.0 + vertex 0.20787776934539276 -0.6397819884590299 0.7908140285153469 + vertex 0.20787776934539276 -0.6397819884590299 0.0 endloop endfacet -facet normal -0.04505663010373401 4.163336342344337e-17 0.07290315892637336 +facet normal 0.5059485716648446 0.36759315429807765 -0.0 outer loop - vertex -0.15009435383073877 -0.15009435383073877 0.6358098858659154 - vertex -0.5430464736790659 0.0 0.39295211984832706 - vertex -0.3929521198483272 -0.24285776601758832 0.48571553203517664 + vertex 0.6727065926127129 0.0 0.0 + vertex 0.20787776934539276 0.6397819884590299 0.0 + vertex 0.20787776934539276 0.6397819884590299 0.7908140285153469 endloop endfacet -facet normal -0.09011326020746803 0.0 0.0 +facet normal 0.5059485716648446 0.36759315429807765 0.0 outer loop - vertex -0.6358098858659154 -0.15009435383073877 -0.15009435383073877 - vertex -0.6358098858659154 -0.15009435383073877 0.15009435383073877 - vertex -0.6358098858659154 0.15009435383073877 0.15009435383073877 - endloop -endfacet -facet normal -0.09011326020746803 0.0 0.0 - outer loop - vertex -0.6358098858659154 -0.15009435383073877 -0.15009435383073877 - vertex -0.6358098858659154 0.15009435383073877 0.15009435383073877 - vertex -0.6358098858659154 0.15009435383073877 -0.15009435383073877 - endloop -endfacet -facet normal -0.07290315892637335 -0.027846528822639306 0.045056630103733994 - outer loop - vertex -0.5430464736790659 0.0 0.39295211984832706 - vertex -0.6358098858659154 -0.15009435383073877 0.15009435383073877 - vertex -0.48571553203517664 -0.3929521198483272 0.24285776601758832 - endloop -endfacet -facet normal -0.07290315892637335 -0.027846528822639313 0.045056630103734 - outer loop - vertex -0.5430464736790659 0.0 0.39295211984832706 - vertex -0.48571553203517664 -0.3929521198483272 0.24285776601758832 - vertex -0.3929521198483272 -0.24285776601758832 0.48571553203517664 - endloop -endfacet -facet normal 0.07290315892637333 -0.027846528822639337 -0.04505663010373405 - outer loop - vertex 0.48571553203517664 -0.3929521198483272 -0.24285776601758832 - vertex 0.39295211984832706 -0.24285776601758832 -0.48571553203517664 - vertex 0.5430464736790659 0.0 -0.3929521198483272 - endloop -endfacet -facet normal 0.07290315892637338 -0.027846528822639327 -0.045056630103733994 - outer loop - vertex 0.48571553203517664 -0.3929521198483272 -0.24285776601758832 - vertex 0.5430464736790659 0.0 -0.3929521198483272 - vertex 0.6358098858659154 -0.15009435383073877 -0.15009435383073877 - endloop -endfacet -facet normal 0.0 0.0 0.09011326020746803 - outer loop - vertex -0.15009435383073877 -0.15009435383073877 0.6358098858659154 - vertex 0.15009435383073877 -0.15009435383073877 0.6358098858659154 - vertex 0.15009435383073877 0.15009435383073877 0.6358098858659154 - endloop -endfacet -facet normal 0.0 -0.0 0.09011326020746803 - outer loop - vertex -0.15009435383073877 -0.15009435383073877 0.6358098858659154 - vertex 0.15009435383073877 0.15009435383073877 0.6358098858659154 - vertex -0.15009435383073877 0.15009435383073877 0.6358098858659154 - endloop -endfacet -facet normal -0.07290315892637333 -0.02784652882263932 -0.045056630103734 - outer loop - vertex -0.5430464736790659 0.0 -0.3929521198483272 - vertex -0.3929521198483272 -0.24285776601758832 -0.48571553203517664 - vertex -0.48571553203517664 -0.3929521198483272 -0.24285776601758832 - endloop -endfacet -facet normal -0.07290315892637339 -0.027846528822639327 -0.045056630103733994 - outer loop - vertex -0.5430464736790659 0.0 -0.3929521198483272 - vertex -0.48571553203517664 -0.3929521198483272 -0.24285776601758832 - vertex -0.6358098858659154 -0.15009435383073877 -0.15009435383073877 - endloop -endfacet -facet normal -0.07290315892637331 -0.04505663010373398 0.0 - outer loop - vertex -0.48571553203517664 -0.3929521198483272 -0.24285776601758832 - vertex -0.3929521198483272 -0.5430464736790659 0.0 - vertex -0.48571553203517664 -0.3929521198483272 0.24285776601758832 - endloop -endfacet -facet normal -0.1179597890301074 -0.07290315892637331 0.0 - outer loop - vertex -0.48571553203517664 -0.3929521198483272 -0.24285776601758832 - vertex -0.48571553203517664 -0.3929521198483272 0.24285776601758832 - vertex -0.6358098858659154 -0.15009435383073877 0.15009435383073877 - endloop -endfacet -facet normal -0.07290315892637336 -0.045056630103733994 -0.0 - outer loop - vertex -0.48571553203517664 -0.3929521198483272 -0.24285776601758832 - vertex -0.6358098858659154 -0.15009435383073877 0.15009435383073877 - vertex -0.6358098858659154 -0.15009435383073877 -0.15009435383073877 - endloop -endfacet -facet normal -0.027846528822639313 0.04505663010373401 -0.07290315892637336 - outer loop - vertex -0.15009435383073877 0.15009435383073877 -0.6358098858659154 - vertex -0.3929521198483272 0.24285776601758832 -0.48571553203517664 - vertex -0.24285776601758832 0.48571553203517664 -0.3929521198483272 - endloop -endfacet -facet normal -0.027846528822639306 0.04505663010373399 -0.07290315892637333 - outer loop - vertex -0.15009435383073877 0.15009435383073877 -0.6358098858659154 - vertex -0.24285776601758832 0.48571553203517664 -0.3929521198483272 - vertex 0.0 0.39295211984832706 -0.5430464736790659 - endloop -endfacet -facet normal -0.045056630103733994 6.938893903907228e-18 -0.07290315892637336 - outer loop - vertex -0.15009435383073877 -0.15009435383073877 -0.6358098858659154 - vertex -0.3929521198483272 -0.24285776601758832 -0.48571553203517664 - vertex -0.5430464736790659 0.0 -0.3929521198483272 - endloop -endfacet -facet normal -0.0729031589263733 -6.938893903907228e-18 -0.11795978903010734 - outer loop - vertex -0.15009435383073877 -0.15009435383073877 -0.6358098858659154 - vertex -0.5430464736790659 0.0 -0.3929521198483272 - vertex -0.3929521198483272 0.24285776601758832 -0.48571553203517664 - endloop -endfacet -facet normal -0.045056630103734 0.0 -0.07290315892637336 - outer loop - vertex -0.15009435383073877 -0.15009435383073877 -0.6358098858659154 - vertex -0.3929521198483272 0.24285776601758832 -0.48571553203517664 - vertex -0.15009435383073877 0.15009435383073877 -0.6358098858659154 - endloop -endfacet -facet normal 0.0 0.0 -0.09011326020746803 - outer loop - vertex -0.15009435383073877 -0.15009435383073877 -0.6358098858659154 - vertex -0.15009435383073877 0.15009435383073877 -0.6358098858659154 - vertex 0.15009435383073877 0.15009435383073877 -0.6358098858659154 - endloop -endfacet -facet normal 0.0 0.0 -0.09011326020746803 - outer loop - vertex -0.15009435383073877 -0.15009435383073877 -0.6358098858659154 - vertex 0.15009435383073877 0.15009435383073877 -0.6358098858659154 - vertex 0.15009435383073877 -0.15009435383073877 -0.6358098858659154 - endloop -endfacet -facet normal 0.045056630103733994 0.0 -0.07290315892637332 - outer loop - vertex 0.15009435383073877 -0.15009435383073877 -0.6358098858659154 - vertex 0.15009435383073877 0.15009435383073877 -0.6358098858659154 - vertex 0.39295211984832706 0.24285776601758832 -0.48571553203517664 - endloop -endfacet -facet normal 0.0729031589263733 2.0816681711721685e-17 -0.11795978903010737 - outer loop - vertex 0.15009435383073877 -0.15009435383073877 -0.6358098858659154 - vertex 0.39295211984832706 0.24285776601758832 -0.48571553203517664 - vertex 0.5430464736790659 0.0 -0.3929521198483272 - endloop -endfacet -facet normal 0.045056630103733994 -2.0816681711721685e-17 -0.07290315892637333 - outer loop - vertex 0.15009435383073877 -0.15009435383073877 -0.6358098858659154 - vertex 0.5430464736790659 0.0 -0.3929521198483272 - vertex 0.39295211984832706 -0.24285776601758832 -0.48571553203517664 - endloop -endfacet -facet normal 0.07290315892637335 -0.027846528822639306 0.045056630103733994 - outer loop - vertex 0.48571553203517664 -0.3929521198483272 0.24285776601758832 - vertex 0.6358098858659154 -0.15009435383073877 0.15009435383073877 - vertex 0.5430464736790659 0.0 0.39295211984832706 - endloop -endfacet -facet normal 0.07290315892637335 -0.027846528822639327 0.04505663010373404 - outer loop - vertex 0.48571553203517664 -0.3929521198483272 0.24285776601758832 - vertex 0.5430464736790659 0.0 0.39295211984832706 - vertex 0.39295211984832706 -0.24285776601758832 0.48571553203517664 - endloop -endfacet -facet normal 0.09011326020746803 0.0 0.0 - outer loop - vertex 0.6358098858659154 -0.15009435383073877 -0.15009435383073877 - vertex 0.6358098858659154 0.15009435383073877 -0.15009435383073877 - vertex 0.6358098858659154 0.15009435383073877 0.15009435383073877 - endloop -endfacet -facet normal 0.09011326020746803 0.0 -0.0 - outer loop - vertex 0.6358098858659154 -0.15009435383073877 -0.15009435383073877 - vertex 0.6358098858659154 0.15009435383073877 0.15009435383073877 - vertex 0.6358098858659154 -0.15009435383073877 0.15009435383073877 - endloop -endfacet -facet normal 0.07290315892637336 0.045056630103734036 0.0 - outer loop - vertex 0.48571553203517664 0.39295211984832706 -0.24285776601758832 - vertex 0.39295211984832706 0.5430464736790659 0.0 - vertex 0.48571553203517664 0.39295211984832706 0.24285776601758832 - endloop -endfacet -facet normal 0.11795978903010734 0.07290315892637331 -0.0 - outer loop - vertex 0.48571553203517664 0.39295211984832706 -0.24285776601758832 - vertex 0.48571553203517664 0.39295211984832706 0.24285776601758832 - vertex 0.6358098858659154 0.15009435383073877 0.15009435383073877 - endloop -endfacet -facet normal 0.07290315892637332 0.045056630103733994 0.0 - outer loop - vertex 0.48571553203517664 0.39295211984832706 -0.24285776601758832 - vertex 0.6358098858659154 0.15009435383073877 0.15009435383073877 - vertex 0.6358098858659154 0.15009435383073877 -0.15009435383073877 - endloop -endfacet -facet normal 0.02784652882263931 0.04505663010373398 -0.07290315892637333 - outer loop - vertex 0.0 0.39295211984832706 -0.5430464736790659 - vertex 0.24285776601758832 0.48571553203517664 -0.3929521198483272 - vertex 0.39295211984832706 0.24285776601758832 -0.48571553203517664 - endloop -endfacet -facet normal 0.02784652882263931 0.04505663010373399 -0.07290315892637332 - outer loop - vertex 0.0 0.39295211984832706 -0.5430464736790659 - vertex 0.39295211984832706 0.24285776601758832 -0.48571553203517664 - vertex 0.15009435383073877 0.15009435383073877 -0.6358098858659154 - endloop -endfacet -facet normal 0.0 0.07290315892637336 -0.045056630103733994 - outer loop - vertex -0.15009435383073877 0.6358098858659154 -0.15009435383073877 - vertex 0.15009435383073877 0.6358098858659154 -0.15009435383073877 - vertex 0.24285776601758832 0.48571553203517664 -0.3929521198483272 - endloop -endfacet -facet normal -3.469446951953614e-17 0.11795978903010736 -0.07290315892637333 - outer loop - vertex -0.15009435383073877 0.6358098858659154 -0.15009435383073877 - vertex 0.24285776601758832 0.48571553203517664 -0.3929521198483272 - vertex 0.0 0.39295211984832706 -0.5430464736790659 - endloop -endfacet -facet normal 4.163336342344337e-17 0.07290315892637336 -0.04505663010373401 - outer loop - vertex -0.15009435383073877 0.6358098858659154 -0.15009435383073877 - vertex 0.0 0.39295211984832706 -0.5430464736790659 - vertex -0.24285776601758832 0.48571553203517664 -0.3929521198483272 - endloop -endfacet -facet normal 0.04505663010373401 0.07290315892637333 -0.02784652882263933 - outer loop - vertex 0.15009435383073877 0.6358098858659154 -0.15009435383073877 - vertex 0.39295211984832706 0.5430464736790659 0.0 - vertex 0.48571553203517664 0.39295211984832706 -0.24285776601758832 - endloop -endfacet -facet normal 0.045056630103734036 0.07290315892637336 -0.027846528822639303 - outer loop - vertex 0.15009435383073877 0.6358098858659154 -0.15009435383073877 - vertex 0.48571553203517664 0.39295211984832706 -0.24285776601758832 - vertex 0.24285776601758832 0.48571553203517664 -0.3929521198483272 - endloop -endfacet -facet normal -0.07290315892637335 0.027846528822639327 -0.04505663010373398 - outer loop - vertex -0.5430464736790659 0.0 -0.3929521198483272 - vertex -0.6358098858659154 0.15009435383073877 -0.15009435383073877 - vertex -0.48571553203517664 0.39295211984832706 -0.24285776601758832 - endloop -endfacet -facet normal -0.07290315892637332 0.02784652882263932 -0.04505663010373399 - outer loop - vertex -0.5430464736790659 0.0 -0.3929521198483272 - vertex -0.48571553203517664 0.39295211984832706 -0.24285776601758832 - vertex -0.3929521198483272 0.24285776601758832 -0.48571553203517664 - endloop -endfacet -facet normal 0.07290315892637336 -0.045056630103733994 0.0 - outer loop - vertex 0.48571553203517664 -0.3929521198483272 -0.24285776601758832 - vertex 0.6358098858659154 -0.15009435383073877 -0.15009435383073877 - vertex 0.6358098858659154 -0.15009435383073877 0.15009435383073877 - endloop -endfacet -facet normal 0.1179597890301074 -0.07290315892637331 0.0 - outer loop - vertex 0.48571553203517664 -0.3929521198483272 -0.24285776601758832 - vertex 0.6358098858659154 -0.15009435383073877 0.15009435383073877 - vertex 0.48571553203517664 -0.3929521198483272 0.24285776601758832 - endloop -endfacet -facet normal 0.07290315892637331 -0.045056630103734036 0.0 - outer loop - vertex 0.48571553203517664 -0.3929521198483272 -0.24285776601758832 - vertex 0.48571553203517664 -0.3929521198483272 0.24285776601758832 - vertex 0.39295211984832706 -0.5430464736790659 0.0 - endloop -endfacet -facet normal 0.027846528822639327 -0.04505663010373398 -0.07290315892637335 - outer loop - vertex 0.0 -0.3929521198483272 -0.5430464736790659 - vertex 0.15009435383073877 -0.15009435383073877 -0.6358098858659154 - vertex 0.39295211984832706 -0.24285776601758832 -0.48571553203517664 - endloop -endfacet -facet normal 0.02784652882263932 -0.04505663010373399 -0.07290315892637332 - outer loop - vertex 0.0 -0.3929521198483272 -0.5430464736790659 - vertex 0.39295211984832706 -0.24285776601758832 -0.48571553203517664 - vertex 0.24285776601758832 -0.48571553203517664 -0.3929521198483272 - endloop -endfacet -facet normal 0.04505663010373401 6.938893903907228e-18 0.07290315892637333 - outer loop - vertex 0.15009435383073877 -0.15009435383073877 0.6358098858659154 - vertex 0.39295211984832706 -0.24285776601758832 0.48571553203517664 - vertex 0.5430464736790659 0.0 0.39295211984832706 - endloop -endfacet -facet normal 0.07290315892637333 -1.3877787807814457e-17 0.11795978903010737 - outer loop - vertex 0.15009435383073877 -0.15009435383073877 0.6358098858659154 - vertex 0.5430464736790659 0.0 0.39295211984832706 - vertex 0.39295211984832706 0.24285776601758832 0.48571553203517664 - endloop -endfacet -facet normal 0.045056630103734 0.0 0.07290315892637333 - outer loop - vertex 0.15009435383073877 -0.15009435383073877 0.6358098858659154 - vertex 0.39295211984832706 0.24285776601758832 0.48571553203517664 - vertex 0.15009435383073877 0.15009435383073877 0.6358098858659154 - endloop -endfacet -facet normal 0.07290315892637333 0.027846528822639327 0.04505663010373403 - outer loop - vertex 0.48571553203517664 0.39295211984832706 0.24285776601758832 - vertex 0.39295211984832706 0.24285776601758832 0.48571553203517664 - vertex 0.5430464736790659 0.0 0.39295211984832706 - endloop -endfacet -facet normal 0.07290315892637332 0.02784652882263931 0.04505663010373399 - outer loop - vertex 0.48571553203517664 0.39295211984832706 0.24285776601758832 - vertex 0.5430464736790659 0.0 0.39295211984832706 - vertex 0.6358098858659154 0.15009435383073877 0.15009435383073877 - endloop -endfacet -facet normal -0.04505663010373399 -0.07290315892637335 -0.027846528822639334 - outer loop - vertex -0.15009435383073877 -0.6358098858659154 -0.15009435383073877 - vertex -0.3929521198483272 -0.5430464736790659 0.0 - vertex -0.48571553203517664 -0.3929521198483272 -0.24285776601758832 - endloop -endfacet -facet normal -0.04505663010373401 -0.07290315892637336 -0.027846528822639313 - outer loop - vertex -0.15009435383073877 -0.6358098858659154 -0.15009435383073877 - vertex -0.48571553203517664 -0.3929521198483272 -0.24285776601758832 - vertex -0.24285776601758832 -0.48571553203517664 -0.3929521198483272 - endloop -endfacet -facet normal -0.027846528822639334 -0.04505663010373399 -0.07290315892637335 - outer loop - vertex -0.15009435383073877 -0.15009435383073877 -0.6358098858659154 - vertex 0.0 -0.3929521198483272 -0.5430464736790659 - vertex -0.24285776601758832 -0.48571553203517664 -0.3929521198483272 - endloop -endfacet -facet normal -0.027846528822639313 -0.04505663010373401 -0.07290315892637336 - outer loop - vertex -0.15009435383073877 -0.15009435383073877 -0.6358098858659154 - vertex -0.24285776601758832 -0.48571553203517664 -0.3929521198483272 - vertex -0.3929521198483272 -0.24285776601758832 -0.48571553203517664 - endloop -endfacet -facet normal -0.0 0.045056630103733994 0.027846528822639324 - outer loop - vertex -0.15009435383073877 0.15009435383073877 0.6358098858659154 - vertex 0.15009435383073877 0.15009435383073877 0.6358098858659154 - vertex 0.39295211984832706 0.24285776601758832 0.48571553203517664 - endloop -endfacet -facet normal -1.734723475976807e-17 0.11795978903010734 0.07290315892637332 - outer loop - vertex -0.15009435383073877 0.15009435383073877 0.6358098858659154 - vertex 0.39295211984832706 0.24285776601758832 0.48571553203517664 - vertex 0.48571553203517664 0.39295211984832706 0.24285776601758832 - endloop -endfacet -facet normal 1.3877787807814457e-17 0.19086294795648068 0.11795978903010738 - outer loop - vertex -0.15009435383073877 0.15009435383073877 0.6358098858659154 - vertex 0.48571553203517664 0.39295211984832706 0.24285776601758832 - vertex 0.39295211984832706 0.5430464736790659 0.0 - endloop -endfacet -facet normal -5.551115123125783e-17 0.23591957806021469 0.14580631785274661 - outer loop - vertex -0.15009435383073877 0.15009435383073877 0.6358098858659154 - vertex 0.39295211984832706 0.5430464736790659 0.0 - vertex 0.15009435383073877 0.6358098858659154 -0.15009435383073877 - endloop -endfacet -facet normal 0.0 0.23591957806021469 0.14580631785274664 - outer loop - vertex -0.15009435383073877 0.15009435383073877 0.6358098858659154 - vertex 0.15009435383073877 0.6358098858659154 -0.15009435383073877 - vertex -0.15009435383073877 0.6358098858659154 -0.15009435383073877 - endloop -endfacet -facet normal 4.163336342344337e-17 0.19086294795648073 0.11795978903010738 - outer loop - vertex -0.15009435383073877 0.15009435383073877 0.6358098858659154 - vertex -0.15009435383073877 0.6358098858659154 -0.15009435383073877 - vertex -0.3929521198483272 0.5430464736790659 0.0 - endloop -endfacet -facet normal -1.3877787807814457e-17 0.11795978903010731 0.07290315892637333 - outer loop - vertex -0.15009435383073877 0.15009435383073877 0.6358098858659154 - vertex -0.3929521198483272 0.5430464736790659 0.0 - vertex -0.48571553203517664 0.39295211984832706 0.24285776601758832 - endloop -endfacet -facet normal 2.0816681711721685e-17 0.045056630103734056 0.02784652882263933 - outer loop - vertex -0.15009435383073877 0.15009435383073877 0.6358098858659154 - vertex -0.48571553203517664 0.39295211984832706 0.24285776601758832 - vertex -0.3929521198483272 0.24285776601758832 0.48571553203517664 - endloop -endfacet -facet normal -0.07290315892637332 0.045056630103733994 0.0 - outer loop - vertex -0.48571553203517664 0.39295211984832706 -0.24285776601758832 - vertex -0.6358098858659154 0.15009435383073877 -0.15009435383073877 - vertex -0.6358098858659154 0.15009435383073877 0.15009435383073877 - endloop -endfacet -facet normal -0.11795978903010734 0.07290315892637331 0.0 - outer loop - vertex -0.48571553203517664 0.39295211984832706 -0.24285776601758832 - vertex -0.6358098858659154 0.15009435383073877 0.15009435383073877 - vertex -0.48571553203517664 0.39295211984832706 0.24285776601758832 - endloop -endfacet -facet normal -0.07290315892637336 0.04505663010373398 0.0 - outer loop - vertex -0.48571553203517664 0.39295211984832706 -0.24285776601758832 - vertex -0.48571553203517664 0.39295211984832706 0.24285776601758832 - vertex -0.3929521198483272 0.5430464736790659 0.0 - endloop -endfacet -facet normal -0.045056630103734036 0.07290315892637336 -0.027846528822639303 - outer loop - vertex -0.15009435383073877 0.6358098858659154 -0.15009435383073877 - vertex -0.24285776601758832 0.48571553203517664 -0.3929521198483272 - vertex -0.48571553203517664 0.39295211984832706 -0.24285776601758832 - endloop -endfacet -facet normal -0.04505663010373401 0.07290315892637335 -0.02784652882263936 - outer loop - vertex -0.15009435383073877 0.6358098858659154 -0.15009435383073877 - vertex -0.48571553203517664 0.39295211984832706 -0.24285776601758832 - vertex -0.3929521198483272 0.5430464736790659 0.0 - endloop -endfacet -facet normal 0.0 -0.045056630103734056 0.027846528822639362 - outer loop - vertex -0.15009435383073877 -0.15009435383073877 0.6358098858659154 - vertex -0.3929521198483272 -0.24285776601758832 0.48571553203517664 - vertex -0.48571553203517664 -0.3929521198483272 0.24285776601758832 - endloop -endfacet -facet normal 6.245004513516506e-17 -0.11795978903010731 0.07290315892637331 - outer loop - vertex -0.15009435383073877 -0.15009435383073877 0.6358098858659154 - vertex -0.48571553203517664 -0.3929521198483272 0.24285776601758832 - vertex -0.3929521198483272 -0.5430464736790659 0.0 - endloop -endfacet -facet normal 5.551115123125783e-17 -0.19086294795648073 0.11795978903010737 - outer loop - vertex -0.15009435383073877 -0.15009435383073877 0.6358098858659154 - vertex -0.3929521198483272 -0.5430464736790659 0.0 - vertex -0.15009435383073877 -0.6358098858659154 -0.15009435383073877 - endloop -endfacet -facet normal 0.0 -0.23591957806021469 0.14580631785274664 - outer loop - vertex -0.15009435383073877 -0.15009435383073877 0.6358098858659154 - vertex -0.15009435383073877 -0.6358098858659154 -0.15009435383073877 - vertex 0.15009435383073877 -0.6358098858659154 -0.15009435383073877 - endloop -endfacet -facet normal -4.163336342344337e-17 -0.23591957806021466 0.14580631785274661 - outer loop - vertex -0.15009435383073877 -0.15009435383073877 0.6358098858659154 - vertex 0.15009435383073877 -0.6358098858659154 -0.15009435383073877 - vertex 0.39295211984832706 -0.5430464736790659 0.0 - endloop -endfacet -facet normal -5.551115123125783e-17 -0.1908629479564807 0.11795978903010734 - outer loop - vertex -0.15009435383073877 -0.15009435383073877 0.6358098858659154 - vertex 0.39295211984832706 -0.5430464736790659 0.0 - vertex 0.48571553203517664 -0.3929521198483272 0.24285776601758832 - endloop -endfacet -facet normal -6.938893903907228e-18 -0.11795978903010734 0.07290315892637336 - outer loop - vertex -0.15009435383073877 -0.15009435383073877 0.6358098858659154 - vertex 0.48571553203517664 -0.3929521198483272 0.24285776601758832 - vertex 0.39295211984832706 -0.24285776601758832 0.48571553203517664 - endloop -endfacet -facet normal 0.0 -0.045056630103734 0.02784652882263933 - outer loop - vertex -0.15009435383073877 -0.15009435383073877 0.6358098858659154 - vertex 0.39295211984832706 -0.24285776601758832 0.48571553203517664 - vertex 0.15009435383073877 -0.15009435383073877 0.6358098858659154 - endloop -endfacet -facet normal 6.938893903907228e-18 -0.07290315892637336 -0.045056630103733994 - outer loop - vertex -0.15009435383073877 -0.6358098858659154 -0.15009435383073877 - vertex -0.24285776601758832 -0.48571553203517664 -0.3929521198483272 - vertex 0.0 -0.3929521198483272 -0.5430464736790659 - endloop -endfacet -facet normal -6.938893903907228e-18 -0.11795978903010734 -0.0729031589263733 - outer loop - vertex -0.15009435383073877 -0.6358098858659154 -0.15009435383073877 - vertex 0.0 -0.3929521198483272 -0.5430464736790659 - vertex 0.24285776601758832 -0.48571553203517664 -0.3929521198483272 - endloop -endfacet -facet normal 0.0 -0.07290315892637336 -0.045056630103734 - outer loop - vertex -0.15009435383073877 -0.6358098858659154 -0.15009435383073877 - vertex 0.24285776601758832 -0.48571553203517664 -0.3929521198483272 - vertex 0.15009435383073877 -0.6358098858659154 -0.15009435383073877 - endloop -endfacet -facet normal 0.04505663010373401 -0.07290315892637336 -0.027846528822639313 - outer loop - vertex 0.15009435383073877 -0.6358098858659154 -0.15009435383073877 - vertex 0.24285776601758832 -0.48571553203517664 -0.3929521198483272 - vertex 0.48571553203517664 -0.3929521198483272 -0.24285776601758832 - endloop -endfacet -facet normal 0.04505663010373399 -0.07290315892637333 -0.027846528822639306 - outer loop - vertex 0.15009435383073877 -0.6358098858659154 -0.15009435383073877 - vertex 0.48571553203517664 -0.3929521198483272 -0.24285776601758832 - vertex 0.39295211984832706 -0.5430464736790659 0.0 + vertex 0.6727065926127129 0.0 0.0 + vertex 0.20787776934539276 0.6397819884590299 0.7908140285153469 + vertex 0.6727065926127129 0.0 0.7908140285153469 endloop endfacet endsolid Polyhedron \ No newline at end of file diff --git a/tests/control/polyhedron.vtk b/tests/control/polyhedron.vtk index 5401381b..a71c67d1 100644 --- a/tests/control/polyhedron.vtk +++ b/tests/control/polyhedron.vtk @@ -2,97 +2,27 @@ Polyhedron created by Coxeter version 0.8.0 ASCII DATASET POLYDATA -POINTS 50 float --0.15009435383073877 -0.15009435383073877 -0.6358098858659154 --0.15009435383073877 -0.15009435383073877 0.6358098858659154 --0.15009435383073877 0.15009435383073877 -0.6358098858659154 --0.15009435383073877 0.15009435383073877 0.6358098858659154 --0.15009435383073877 -0.6358098858659154 -0.15009435383073877 --0.15009435383073877 0.6358098858659154 -0.15009435383073877 -0.0 -0.3929521198483272 -0.5430464736790659 -0.0 0.39295211984832706 -0.5430464736790659 -0.15009435383073877 -0.15009435383073877 -0.6358098858659154 -0.15009435383073877 -0.15009435383073877 0.6358098858659154 -0.15009435383073877 0.15009435383073877 -0.6358098858659154 -0.15009435383073877 0.15009435383073877 0.6358098858659154 -0.15009435383073877 -0.6358098858659154 -0.15009435383073877 -0.15009435383073877 0.6358098858659154 -0.15009435383073877 --0.5430464736790659 0.0 -0.3929521198483272 --0.5430464736790659 0.0 0.39295211984832706 --0.24285776601758832 -0.48571553203517664 -0.3929521198483272 --0.24285776601758832 0.48571553203517664 -0.3929521198483272 --0.48571553203517664 -0.3929521198483272 -0.24285776601758832 --0.48571553203517664 -0.3929521198483272 0.24285776601758832 --0.48571553203517664 0.39295211984832706 -0.24285776601758832 --0.48571553203517664 0.39295211984832706 0.24285776601758832 --0.6358098858659154 -0.15009435383073877 -0.15009435383073877 --0.6358098858659154 -0.15009435383073877 0.15009435383073877 --0.6358098858659154 0.15009435383073877 -0.15009435383073877 --0.6358098858659154 0.15009435383073877 0.15009435383073877 --0.3929521198483272 -0.5430464736790659 0.0 --0.3929521198483272 -0.24285776601758832 -0.48571553203517664 --0.3929521198483272 -0.24285776601758832 0.48571553203517664 --0.3929521198483272 0.24285776601758832 -0.48571553203517664 --0.3929521198483272 0.24285776601758832 0.48571553203517664 --0.3929521198483272 0.5430464736790659 0.0 -0.24285776601758832 -0.48571553203517664 -0.3929521198483272 -0.24285776601758832 0.48571553203517664 -0.3929521198483272 -0.48571553203517664 -0.3929521198483272 -0.24285776601758832 -0.48571553203517664 -0.3929521198483272 0.24285776601758832 -0.48571553203517664 0.39295211984832706 -0.24285776601758832 -0.48571553203517664 0.39295211984832706 0.24285776601758832 -0.6358098858659154 -0.15009435383073877 -0.15009435383073877 -0.6358098858659154 -0.15009435383073877 0.15009435383073877 -0.6358098858659154 0.15009435383073877 -0.15009435383073877 -0.6358098858659154 0.15009435383073877 0.15009435383073877 -0.39295211984832706 -0.5430464736790659 0.0 -0.39295211984832706 -0.24285776601758832 -0.48571553203517664 -0.39295211984832706 -0.24285776601758832 0.48571553203517664 -0.39295211984832706 0.24285776601758832 -0.48571553203517664 -0.39295211984832706 0.24285776601758832 0.48571553203517664 -0.39295211984832706 0.5430464736790659 0.0 -0.5430464736790659 0.0 -0.3929521198483272 -0.5430464736790659 0.0 0.39295211984832706 -POLYGONS 42 222 -3 38 48 40 -3 14 22 24 -3 15 25 23 -3 2 7 10 -3 0 8 6 -3 39 41 49 -3 33 36 45 -3 17 29 20 -3 32 43 34 -3 16 18 27 -4 15 30 21 25 -4 36 40 48 45 -5 1 3 30 15 28 -4 22 23 25 24 -4 15 23 19 28 -4 34 43 48 38 -4 1 9 11 3 -4 14 27 18 22 -5 18 26 19 23 22 -4 2 29 17 7 -5 0 27 14 29 2 -4 0 2 10 8 -5 8 10 45 48 43 -4 35 39 49 44 -4 38 40 41 39 -5 36 47 37 41 40 -4 7 33 45 10 -5 5 13 33 7 17 -4 13 47 36 33 -4 14 24 20 29 -5 34 38 39 35 42 -4 6 8 43 32 -5 9 44 49 46 11 -4 37 46 49 41 -4 4 26 18 16 -4 0 6 16 27 -10 3 11 46 37 47 13 5 31 21 30 -5 20 24 25 21 31 -4 5 17 20 31 -10 1 28 19 26 4 12 42 35 44 9 -5 4 16 6 32 12 -4 12 32 34 42 \ No newline at end of file +POINTS 11 float +0.0 0.0 1.2065695672061325 +0.6727065926127129 0.0 0.0 +0.6727065926127129 0.0 0.7908140285153469 +0.20787776934539276 -0.6397819884590299 0.0 +0.20787776934539276 -0.6397819884590299 0.7908140285153469 +0.20787776934539276 0.6397819884590299 0.0 +0.20787776934539276 0.6397819884590299 0.7908140285153469 +-0.5442310656517493 -0.39540701425767344 0.0 +-0.5442310656517493 -0.39540701425767344 0.7908140285153469 +-0.5442310656517493 0.39540701425767344 0.0 +-0.5442310656517493 0.39540701425767344 0.7908140285153469 +POLYGONS 11 51 +3 0 6 10 +3 0 8 4 +3 0 10 8 +3 0 4 2 +3 0 2 6 +4 5 9 10 6 +5 1 3 7 9 5 +4 3 4 8 7 +4 7 8 10 9 +4 1 2 4 3 +4 1 5 6 2 \ No newline at end of file diff --git a/tests/control/polyhedron.x3d b/tests/control/polyhedron.x3d index 47e39a1b..0dca581b 100644 --- a/tests/control/polyhedron.x3d +++ b/tests/control/polyhedron.x3d @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/tests/test_io.py b/tests/test_io.py index 4e5e416d..6789dec2 100644 --- a/tests/test_io.py +++ b/tests/test_io.py @@ -34,11 +34,11 @@ def compare_text_files(file_path_1, file_path_2): "html": io.to_html, } -mbri = JohnsonFamily.get_shape("Metabidiminished Rhombicosidodecahedron") +epyr5 = JohnsonFamily.get_shape("Elongated Pentagonal Pyramid") SHAPES_BY_NAME = { - "polyhedron": Polyhedron(mbri.vertices, mbri.faces), - "convex_polyhedron": mbri, + "polyhedron": Polyhedron(epyr5.vertices, epyr5.faces), + "convex_polyhedron": epyr5, } CONTROL_DIR = Path("tests/control")