|
11 | 11 | #import igl.embree |
12 | 12 | #import igl.triangle |
13 | 13 |
|
14 | | -def test_nothing(): |
| 14 | +def test_version(): |
| 15 | + version = igl.__version__ |
15 | 16 | pass |
16 | 17 |
|
17 | 18 |
|
@@ -61,16 +62,16 @@ def test_nothing(): |
61 | 62 |
|
62 | 63 | # seed numpy's random number generator |
63 | 64 | # |
64 | | -def triangulated_square(): |
65 | | - V = np.array([[0,0,0],[1,0,0],[1,1,0],[0,1,0]],dtype=np.float64) |
66 | | - F = np.array([[0,1,2],[0,2,3]],dtype=np.int64) |
67 | | - return V,F |
68 | | - |
69 | | -def single_tet(): |
70 | | - V = np.array([[0,0,0],[1,0,0],[0,1,0],[0,0,1]],dtype=np.float64) |
71 | | - F = np.array([[2,1,0],[1,3,0],[3,2,0],[2,3,1]],dtype=np.int64) |
72 | | - T = np.array([[0,1,2,3]],dtype=np.int64) |
73 | | - return V,F,T |
| 65 | +#def triangulated_square(): |
| 66 | +# V = np.array([[0,0,0],[1,0,0],[1,1,0],[0,1,0]],dtype=np.float64) |
| 67 | +# F = np.array([[0,1,2],[0,2,3]],dtype=np.int64) |
| 68 | +# return V,F |
| 69 | +# |
| 70 | +#def single_tet(): |
| 71 | +# V = np.array([[0,0,0],[1,0,0],[0,1,0],[0,0,1]],dtype=np.float64) |
| 72 | +# F = np.array([[2,1,0],[1,3,0],[3,2,0],[2,3,1]],dtype=np.int64) |
| 73 | +# T = np.array([[0,1,2,3]],dtype=np.int64) |
| 74 | +# return V,F,T |
74 | 75 |
|
75 | 76 | #def test_edges(): |
76 | 77 | # F = np.array([[0,1,2],[0,2,3]],dtype=np.int64) |
@@ -168,11 +169,11 @@ def single_tet(): |
168 | 169 | # V,T,F = igl.readMESH("out.mesh") |
169 | 170 | # igl.writeMSH("out.msh",V,F,T) |
170 | 171 | # V,F,T,_,_,_,_,_,_,_ = igl.readMSH("out.msh") |
171 | | - |
172 | | -def test_bvh(): |
173 | | - V,F,T = single_tet() |
174 | | - tree = igl.AABB() |
175 | | - tree.init(V,T) |
| 172 | +# |
| 173 | +#def test_bvh(): |
| 174 | +# V,F,T = single_tet() |
| 175 | +# tree = igl.AABB() |
| 176 | +# tree.init(V,T) |
176 | 177 |
|
177 | 178 | # P = np.array([[0.5,0.5,0.0],[0.5,0.5,0.5]],dtype=np.float64) |
178 | 179 | # # first row of P |
|
0 commit comments