Skip to content

Commit

Permalink
Switch io test case again
Browse files Browse the repository at this point in the history
  • Loading branch information
janbridley committed Sep 14, 2024
1 parent 37427c4 commit 9e75ec2
Show file tree
Hide file tree
Showing 15 changed files with 337 additions and 1,989 deletions.
2 changes: 1 addition & 1 deletion tests/control/convex_polyhedron.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!DOCTYPE html><html xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.w3.org/1999/xhtml"><head><script type="text/javascript" src="http://x3dom.org/release/x3dom.js"> </script><link rel="stylesheet" type="text/css" href="http://x3dom.org/release/x3dom.css" /></head><body><x3d profile="Interchange" version="4.0" xsi:schemaLocation="http://www.web3d.org/specifications/x3d-4.0.xsd"><Scene><shape DEF="ConvexPolyhedron"><Appearance><Material diffuseColor="#6495ED" /></Appearance><IndexedFaceSet coordIndex="0 1 2 -1 3 4 5 -1 6 7 8 -1 9 10 11 -1 12 13 14 -1 15 16 17 -1 18 19 20 -1 21 22 23 -1 24 25 26 -1 27 28 29 -1 30 31 32 33 -1 34 35 36 37 -1 38 39 40 41 42 -1 43 44 45 46 -1 47 48 49 50 -1 51 52 53 54 -1 55 56 57 58 -1 59 60 61 62 -1 63 64 65 66 67 -1 68 69 70 71 -1 72 73 74 75 76 -1 77 78 79 80 -1 81 82 83 84 85 -1 86 87 88 89 -1 90 91 92 93 -1 94 95 96 97 98 -1 99 100 101 102 -1 103 104 105 106 107 -1 108 109 110 111 -1 112 113 114 115 -1 116 117 118 119 120 -1 121 122 123 124 -1 125 126 127 128 129 -1 130 131 132 133 -1 134 135 136 137 -1 138 139 140 141 -1 142 143 144 145 146 147 148 149 150 151 -1 152 153 154 155 156 -1 157 158 159 160 -1 161 162 163 164 165 166 167 168 169 170 -1 171 172 173 174 175 -1 176 177 178 179 -1"><Coordinate point="0.6358098858659154 -0.15009435383073877 -0.15009435383073877 0.5430464736790659 0.0 -0.3929521198483272 0.6358098858659154 0.15009435383073877 -0.15009435383073877 -0.5430464736790659 0.0 -0.3929521198483272 -0.6358098858659154 -0.15009435383073877 -0.15009435383073877 -0.6358098858659154 0.15009435383073877 -0.15009435383073877 -0.5430464736790659 0.0 0.39295211984832706 -0.6358098858659154 0.15009435383073877 0.15009435383073877 -0.6358098858659154 -0.15009435383073877 0.15009435383073877 -0.15009435383073877 0.15009435383073877 -0.6358098858659154 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.0 -0.3929521198483272 -0.5430464736790659 0.6358098858659154 -0.15009435383073877 0.15009435383073877 0.6358098858659154 0.15009435383073877 0.15009435383073877 0.5430464736790659 0.0 0.39295211984832706 0.24285776601758832 0.48571553203517664 -0.3929521198483272 0.48571553203517664 0.39295211984832706 -0.24285776601758832 0.39295211984832706 0.24285776601758832 -0.48571553203517664 -0.24285776601758832 0.48571553203517664 -0.3929521198483272 -0.3929521198483272 0.24285776601758832 -0.48571553203517664 -0.48571553203517664 0.39295211984832706 -0.24285776601758832 0.24285776601758832 -0.48571553203517664 -0.3929521198483272 0.39295211984832706 -0.24285776601758832 -0.48571553203517664 0.48571553203517664 -0.3929521198483272 -0.24285776601758832 -0.24285776601758832 -0.48571553203517664 -0.3929521198483272 -0.48571553203517664 -0.3929521198483272 -0.24285776601758832 -0.3929521198483272 -0.24285776601758832 -0.48571553203517664 -0.5430464736790659 0.0 0.39295211984832706 -0.3929521198483272 0.24285776601758832 0.48571553203517664 -0.48571553203517664 0.39295211984832706 0.24285776601758832 -0.6358098858659154 0.15009435383073877 0.15009435383073877 0.48571553203517664 0.39295211984832706 -0.24285776601758832 0.6358098858659154 0.15009435383073877 -0.15009435383073877 0.5430464736790659 0.0 -0.3929521198483272 0.39295211984832706 0.24285776601758832 -0.48571553203517664 -0.15009435383073877 -0.15009435383073877 0.6358098858659154 -0.15009435383073877 0.15009435383073877 0.6358098858659154 -0.3929521198483272 0.24285776601758832 0.48571553203517664 -0.5430464736790659 0.0 0.39295211984832706 -0.3929521198483272 -0.24285776601758832 0.48571553203517664 -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.5430464736790659 0.0 0.39295211984832706 -0.6358098858659154 -0.15009435383073877 0.15009435383073877 -0.48571553203517664 -0.3929521198483272 0.24285776601758832 -0.3929521198483272 -0.24285776601758832 0.48571553203517664 0.48571553203517664 -0.3929521198483272 -0.24285776601758832 0.39295211984832706 -0.24285776601758832 -0.48571553203517664 0.5430464736790659 0.0 -0.3929521198483272 0.6358098858659154 -0.15009435383073877 -0.15009435383073877 -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.5430464736790659 0.0 -0.3929521198483272 -0.3929521198483272 -0.24285776601758832 -0.48571553203517664 -0.48571553203517664 -0.3929521198483272 -0.24285776601758832 -0.6358098858659154 -0.15009435383073877 -0.15009435383073877 -0.48571553203517664 -0.3929521198483272 -0.24285776601758832 -0.3929521198483272 -0.5430464736790659 0.0 -0.48571553203517664 -0.3929521198483272 0.24285776601758832 -0.6358098858659154 -0.15009435383073877 0.15009435383073877 -0.6358098858659154 -0.15009435383073877 -0.15009435383073877 -0.15009435383073877 0.15009435383073877 -0.6358098858659154 -0.3929521198483272 0.24285776601758832 -0.48571553203517664 -0.24285776601758832 0.48571553203517664 -0.3929521198483272 0.0 0.39295211984832706 -0.5430464736790659 -0.15009435383073877 -0.15009435383073877 -0.6358098858659154 -0.3929521198483272 -0.24285776601758832 -0.48571553203517664 -0.5430464736790659 0.0 -0.3929521198483272 -0.3929521198483272 0.24285776601758832 -0.48571553203517664 -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.15009435383073877 -0.6358098858659154 0.15009435383073877 -0.15009435383073877 -0.6358098858659154 0.15009435383073877 0.15009435383073877 -0.6358098858659154 0.39295211984832706 0.24285776601758832 -0.48571553203517664 0.5430464736790659 0.0 -0.3929521198483272 0.39295211984832706 -0.24285776601758832 -0.48571553203517664 0.48571553203517664 -0.3929521198483272 0.24285776601758832 0.6358098858659154 -0.15009435383073877 0.15009435383073877 0.5430464736790659 0.0 0.39295211984832706 0.39295211984832706 -0.24285776601758832 0.48571553203517664 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.48571553203517664 0.39295211984832706 -0.24285776601758832 0.39295211984832706 0.5430464736790659 0.0 0.48571553203517664 0.39295211984832706 0.24285776601758832 0.6358098858659154 0.15009435383073877 0.15009435383073877 0.6358098858659154 0.15009435383073877 -0.15009435383073877 0.0 0.39295211984832706 -0.5430464736790659 0.24285776601758832 0.48571553203517664 -0.3929521198483272 0.39295211984832706 0.24285776601758832 -0.48571553203517664 0.15009435383073877 0.15009435383073877 -0.6358098858659154 -0.15009435383073877 0.6358098858659154 -0.15009435383073877 0.15009435383073877 0.6358098858659154 -0.15009435383073877 0.24285776601758832 0.48571553203517664 -0.3929521198483272 0.0 0.39295211984832706 -0.5430464736790659 -0.24285776601758832 0.48571553203517664 -0.3929521198483272 0.15009435383073877 0.6358098858659154 -0.15009435383073877 0.39295211984832706 0.5430464736790659 0.0 0.48571553203517664 0.39295211984832706 -0.24285776601758832 0.24285776601758832 0.48571553203517664 -0.3929521198483272 -0.5430464736790659 0.0 -0.3929521198483272 -0.6358098858659154 0.15009435383073877 -0.15009435383073877 -0.48571553203517664 0.39295211984832706 -0.24285776601758832 -0.3929521198483272 0.24285776601758832 -0.48571553203517664 0.48571553203517664 -0.3929521198483272 -0.24285776601758832 0.6358098858659154 -0.15009435383073877 -0.15009435383073877 0.6358098858659154 -0.15009435383073877 0.15009435383073877 0.48571553203517664 -0.3929521198483272 0.24285776601758832 0.39295211984832706 -0.5430464736790659 0.0 0.0 -0.3929521198483272 -0.5430464736790659 0.15009435383073877 -0.15009435383073877 -0.6358098858659154 0.39295211984832706 -0.24285776601758832 -0.48571553203517664 0.24285776601758832 -0.48571553203517664 -0.3929521198483272 0.15009435383073877 -0.15009435383073877 0.6358098858659154 0.39295211984832706 -0.24285776601758832 0.48571553203517664 0.5430464736790659 0.0 0.39295211984832706 0.39295211984832706 0.24285776601758832 0.48571553203517664 0.15009435383073877 0.15009435383073877 0.6358098858659154 0.48571553203517664 0.39295211984832706 0.24285776601758832 0.39295211984832706 0.24285776601758832 0.48571553203517664 0.5430464736790659 0.0 0.39295211984832706 0.6358098858659154 0.15009435383073877 0.15009435383073877 -0.15009435383073877 -0.6358098858659154 -0.15009435383073877 -0.3929521198483272 -0.5430464736790659 0.0 -0.48571553203517664 -0.3929521198483272 -0.24285776601758832 -0.24285776601758832 -0.48571553203517664 -0.3929521198483272 -0.15009435383073877 -0.15009435383073877 -0.6358098858659154 0.0 -0.3929521198483272 -0.5430464736790659 -0.24285776601758832 -0.48571553203517664 -0.3929521198483272 -0.3929521198483272 -0.24285776601758832 -0.48571553203517664 -0.15009435383073877 0.15009435383073877 0.6358098858659154 0.15009435383073877 0.15009435383073877 0.6358098858659154 0.39295211984832706 0.24285776601758832 0.48571553203517664 0.48571553203517664 0.39295211984832706 0.24285776601758832 0.39295211984832706 0.5430464736790659 0.0 0.15009435383073877 0.6358098858659154 -0.15009435383073877 -0.15009435383073877 0.6358098858659154 -0.15009435383073877 -0.3929521198483272 0.5430464736790659 0.0 -0.48571553203517664 0.39295211984832706 0.24285776601758832 -0.3929521198483272 0.24285776601758832 0.48571553203517664 -0.48571553203517664 0.39295211984832706 -0.24285776601758832 -0.6358098858659154 0.15009435383073877 -0.15009435383073877 -0.6358098858659154 0.15009435383073877 0.15009435383073877 -0.48571553203517664 0.39295211984832706 0.24285776601758832 -0.3929521198483272 0.5430464736790659 0.0 -0.15009435383073877 0.6358098858659154 -0.15009435383073877 -0.24285776601758832 0.48571553203517664 -0.3929521198483272 -0.48571553203517664 0.39295211984832706 -0.24285776601758832 -0.3929521198483272 0.5430464736790659 0.0 -0.15009435383073877 -0.15009435383073877 0.6358098858659154 -0.3929521198483272 -0.24285776601758832 0.48571553203517664 -0.48571553203517664 -0.3929521198483272 0.24285776601758832 -0.3929521198483272 -0.5430464736790659 0.0 -0.15009435383073877 -0.6358098858659154 -0.15009435383073877 0.15009435383073877 -0.6358098858659154 -0.15009435383073877 0.39295211984832706 -0.5430464736790659 0.0 0.48571553203517664 -0.3929521198483272 0.24285776601758832 0.39295211984832706 -0.24285776601758832 0.48571553203517664 0.15009435383073877 -0.15009435383073877 0.6358098858659154 -0.15009435383073877 -0.6358098858659154 -0.15009435383073877 -0.24285776601758832 -0.48571553203517664 -0.3929521198483272 0.0 -0.3929521198483272 -0.5430464736790659 0.24285776601758832 -0.48571553203517664 -0.3929521198483272 0.15009435383073877 -0.6358098858659154 -0.15009435383073877 0.15009435383073877 -0.6358098858659154 -0.15009435383073877 0.24285776601758832 -0.48571553203517664 -0.3929521198483272 0.48571553203517664 -0.3929521198483272 -0.24285776601758832 0.39295211984832706 -0.5430464736790659 0.0" /></IndexedFaceSet></shape></Scene></x3d></body></html>
<!DOCTYPE html><html xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.w3.org/1999/xhtml"><head><script type="text/javascript" src="http://x3dom.org/release/x3dom.js"> </script><link rel="stylesheet" type="text/css" href="http://x3dom.org/release/x3dom.css" /></head><body><x3d profile="Interchange" version="4.0" xsi:schemaLocation="http://www.web3d.org/specifications/x3d-4.0.xsd"><Scene><shape DEF="ConvexPolyhedron"><Appearance><Material diffuseColor="#6495ED" /></Appearance><IndexedFaceSet coordIndex="0 1 2 -1 3 4 5 -1 6 7 8 -1 9 10 11 -1 12 13 14 -1 15 16 17 18 -1 19 20 21 22 23 -1 24 25 26 27 -1 28 29 30 31 -1 32 33 34 35 -1 36 37 38 39 -1"><Coordinate point="0.0 0.0 1.2065695672061325 0.20787776934539276 0.6397819884590299 0.7908140285153469 -0.5442310656517493 0.39540701425767344 0.7908140285153469 0.0 0.0 1.2065695672061325 -0.5442310656517493 -0.39540701425767344 0.7908140285153469 0.20787776934539276 -0.6397819884590299 0.7908140285153469 0.0 0.0 1.2065695672061325 -0.5442310656517493 0.39540701425767344 0.7908140285153469 -0.5442310656517493 -0.39540701425767344 0.7908140285153469 0.0 0.0 1.2065695672061325 0.20787776934539276 -0.6397819884590299 0.7908140285153469 0.6727065926127129 0.0 0.7908140285153469 0.0 0.0 1.2065695672061325 0.6727065926127129 0.0 0.7908140285153469 0.20787776934539276 0.6397819884590299 0.7908140285153469 0.20787776934539276 0.6397819884590299 0.0 -0.5442310656517493 0.39540701425767344 0.0 -0.5442310656517493 0.39540701425767344 0.7908140285153469 0.20787776934539276 0.6397819884590299 0.7908140285153469 0.6727065926127129 0.0 0.0 0.20787776934539276 -0.6397819884590299 0.0 -0.5442310656517493 -0.39540701425767344 0.0 -0.5442310656517493 0.39540701425767344 0.0 0.20787776934539276 0.6397819884590299 0.0 0.20787776934539276 -0.6397819884590299 0.0 0.20787776934539276 -0.6397819884590299 0.7908140285153469 -0.5442310656517493 -0.39540701425767344 0.7908140285153469 -0.5442310656517493 -0.39540701425767344 0.0 -0.5442310656517493 -0.39540701425767344 0.0 -0.5442310656517493 -0.39540701425767344 0.7908140285153469 -0.5442310656517493 0.39540701425767344 0.7908140285153469 -0.5442310656517493 0.39540701425767344 0.0 0.6727065926127129 0.0 0.0 0.6727065926127129 0.0 0.7908140285153469 0.20787776934539276 -0.6397819884590299 0.7908140285153469 0.20787776934539276 -0.6397819884590299 0.0 0.6727065926127129 0.0 0.0 0.20787776934539276 0.6397819884590299 0.0 0.20787776934539276 0.6397819884590299 0.7908140285153469 0.6727065926127129 0.0 0.7908140285153469" /></IndexedFaceSet></shape></Scene></x3d></body></html>
114 changes: 22 additions & 92 deletions tests/control/convex_polyhedron.obj
Original file line number Diff line number Diff line change
@@ -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
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
Loading

0 comments on commit 9e75ec2

Please sign in to comment.