Skip to content

Commit

Permalink
Create new control files
Browse files Browse the repository at this point in the history
  • Loading branch information
josephburkhart committed Sep 12, 2024
1 parent 8955118 commit f956ddc
Show file tree
Hide file tree
Showing 14 changed files with 338 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/control/convex_polyhedron.html
Original file line number Diff line number Diff line change
@@ -0,0 +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 3 -1 4 5 6 7 -1 8 9 10 11 -1 12 13 14 15 -1 16 17 18 19 -1 20 21 22 23 -1"><Coordinate point="-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 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 -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" /></IndexedFaceSet></shape></Scene></x3d></body></html>
18 changes: 18 additions & 0 deletions tests/control/convex_polyhedron.obj
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# wavefront obj file written by Coxeter version 0.7.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

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
18 changes: 18 additions & 0 deletions tests/control/convex_polyhedron.off
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
OFF
# OFF file written by Coxeter version 0.7.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
25 changes: 25 additions & 0 deletions tests/control/convex_polyhedron.ply
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
ply
format ascii 1.0
comment PLY file written by Coxeter version 0.7.0
comment ConvexPolyhedron
element vertex 8
property float x
property float y
property float z
element face 6
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
86 changes: 86 additions & 0 deletions tests/control/convex_polyhedron.stl
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
solid ConvexPolyhedron
facet normal 0.0 0.0 -4.0
outer loop
vertex -1.0 -1.0 -1.0
vertex -1.0 1.0 -1.0
vertex 1.0 1.0 -1.0
endloop
endfacet
facet normal 0.0 0.0 -4.0
outer loop
vertex -1.0 -1.0 -1.0
vertex 1.0 1.0 -1.0
vertex 1.0 -1.0 -1.0
endloop
endfacet
facet normal 0.0 -4.0 0.0
outer loop
vertex -1.0 -1.0 -1.0
vertex 1.0 -1.0 -1.0
vertex 1.0 -1.0 1.0
endloop
endfacet
facet normal 0.0 -4.0 0.0
outer loop
vertex -1.0 -1.0 -1.0
vertex 1.0 -1.0 1.0
vertex -1.0 -1.0 1.0
endloop
endfacet
facet normal 4.0 0.0 0.0
outer loop
vertex 1.0 -1.0 -1.0
vertex 1.0 1.0 -1.0
vertex 1.0 1.0 1.0
endloop
endfacet
facet normal 4.0 0.0 -0.0
outer loop
vertex 1.0 -1.0 -1.0
vertex 1.0 1.0 1.0
vertex 1.0 -1.0 1.0
endloop
endfacet
facet normal -4.0 0.0 0.0
outer loop
vertex -1.0 -1.0 -1.0
vertex -1.0 -1.0 1.0
vertex -1.0 1.0 1.0
endloop
endfacet
facet normal -4.0 0.0 0.0
outer loop
vertex -1.0 -1.0 -1.0
vertex -1.0 1.0 1.0
vertex -1.0 1.0 -1.0
endloop
endfacet
facet normal 0.0 4.0 0.0
outer loop
vertex -1.0 1.0 -1.0
vertex -1.0 1.0 1.0
vertex 1.0 1.0 1.0
endloop
endfacet
facet normal -0.0 4.0 0.0
outer loop
vertex -1.0 1.0 -1.0
vertex 1.0 1.0 1.0
vertex 1.0 1.0 -1.0
endloop
endfacet
facet normal 0.0 0.0 4.0
outer loop
vertex -1.0 -1.0 1.0
vertex 1.0 -1.0 1.0
vertex 1.0 1.0 1.0
endloop
endfacet
facet normal 0.0 -0.0 4.0
outer loop
vertex -1.0 -1.0 1.0
vertex 1.0 1.0 1.0
vertex -1.0 1.0 1.0
endloop
endfacet
endsolid ConvexPolyhedron
20 changes: 20 additions & 0 deletions tests/control/convex_polyhedron.vtk
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# vtk DataFile Version 3.0
ConvexPolyhedron created by Coxeter version 0.7.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
1 change: 1 addition & 0 deletions tests/control/convex_polyhedron.x3d
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<x3d profile="Interchange" version="4.0" xmlns:xsd="http://www.w3.org/2001/XMLSchema-instance" xsd:schemaLocation="http://www.web3d.org/specifications/x3d-4.0.xsd"><Scene><shape DEF="ConvexPolyhedron"><Appearance><Material diffuseColor="#6495ED" /></Appearance><IndexedFaceSet coordIndex="0 1 2 3 -1 4 5 6 7 -1 8 9 10 11 -1 12 13 14 15 -1 16 17 18 19 -1 20 21 22 23 -1"><Coordinate point="-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 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 -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" /></IndexedFaceSet></shape></Scene></x3d>
1 change: 1 addition & 0 deletions tests/control/polyhedron.html
Original file line number Diff line number Diff line change
@@ -0,0 +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="Polyhedron"><Appearance><Material diffuseColor="#6495ED" /></Appearance><IndexedFaceSet coordIndex="0 1 2 3 -1 4 5 6 7 -1 8 9 10 11 -1 12 13 14 15 -1 16 17 18 19 -1 20 21 22 23 -1"><Coordinate point="-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 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 -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" /></IndexedFaceSet></shape></Scene></x3d></body></html>
18 changes: 18 additions & 0 deletions tests/control/polyhedron.obj
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# wavefront obj file written by Coxeter version 0.7.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

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
18 changes: 18 additions & 0 deletions tests/control/polyhedron.off
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
OFF
# OFF file written by Coxeter version 0.7.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
25 changes: 25 additions & 0 deletions tests/control/polyhedron.ply
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
ply
format ascii 1.0
comment PLY file written by Coxeter version 0.7.0
comment Polyhedron
element vertex 8
property float x
property float y
property float z
element face 6
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
86 changes: 86 additions & 0 deletions tests/control/polyhedron.stl
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
solid Polyhedron
facet normal -4.0 0.0 0.0
outer loop
vertex -1.0 -1.0 -1.0
vertex -1.0 -1.0 1.0
vertex -1.0 1.0 1.0
endloop
endfacet
facet normal -4.0 0.0 0.0
outer loop
vertex -1.0 -1.0 -1.0
vertex -1.0 1.0 1.0
vertex -1.0 1.0 -1.0
endloop
endfacet
facet normal 0.0 0.0 -4.0
outer loop
vertex -1.0 -1.0 -1.0
vertex -1.0 1.0 -1.0
vertex 1.0 1.0 -1.0
endloop
endfacet
facet normal 0.0 0.0 -4.0
outer loop
vertex -1.0 -1.0 -1.0
vertex 1.0 1.0 -1.0
vertex 1.0 -1.0 -1.0
endloop
endfacet
facet normal 4.0 0.0 0.0
outer loop
vertex 1.0 -1.0 -1.0
vertex 1.0 1.0 -1.0
vertex 1.0 1.0 1.0
endloop
endfacet
facet normal 4.0 0.0 -0.0
outer loop
vertex 1.0 -1.0 -1.0
vertex 1.0 1.0 1.0
vertex 1.0 -1.0 1.0
endloop
endfacet
facet normal 0.0 0.0 4.0
outer loop
vertex -1.0 -1.0 1.0
vertex 1.0 -1.0 1.0
vertex 1.0 1.0 1.0
endloop
endfacet
facet normal 0.0 -0.0 4.0
outer loop
vertex -1.0 -1.0 1.0
vertex 1.0 1.0 1.0
vertex -1.0 1.0 1.0
endloop
endfacet
facet normal 0.0 -4.0 0.0
outer loop
vertex -1.0 -1.0 -1.0
vertex 1.0 -1.0 -1.0
vertex 1.0 -1.0 1.0
endloop
endfacet
facet normal 0.0 -4.0 0.0
outer loop
vertex -1.0 -1.0 -1.0
vertex 1.0 -1.0 1.0
vertex -1.0 -1.0 1.0
endloop
endfacet
facet normal 0.0 4.0 -0.0
outer loop
vertex 1.0 1.0 -1.0
vertex -1.0 1.0 -1.0
vertex -1.0 1.0 1.0
endloop
endfacet
facet normal 0.0 4.0 -0.0
outer loop
vertex 1.0 1.0 -1.0
vertex -1.0 1.0 1.0
vertex 1.0 1.0 1.0
endloop
endfacet
endsolid Polyhedron
20 changes: 20 additions & 0 deletions tests/control/polyhedron.vtk
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# vtk DataFile Version 3.0
Polyhedron created by Coxeter version 0.7.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
1 change: 1 addition & 0 deletions tests/control/polyhedron.x3d
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<x3d profile="Interchange" version="4.0" xmlns:xsd="http://www.w3.org/2001/XMLSchema-instance" xsd:schemaLocation="http://www.web3d.org/specifications/x3d-4.0.xsd"><Scene><shape DEF="Polyhedron"><Appearance><Material diffuseColor="#6495ED" /></Appearance><IndexedFaceSet coordIndex="0 1 2 3 -1 4 5 6 7 -1 8 9 10 11 -1 12 13 14 15 -1 16 17 18 19 -1 20 21 22 23 -1"><Coordinate point="-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 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 -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" /></IndexedFaceSet></shape></Scene></x3d>

0 comments on commit f956ddc

Please sign in to comment.