Revert "Revert "Marching Tetrahedra (#716)" (#924)" (#925)

This reverts commit 65aa93e9ef [formerly 47634615ce].

Former-commit-id: fd8d66156c
This commit is contained in:
Alec Jacobson
2018-10-14 19:17:01 -04:00
committed by GitHub
parent 65aa93e9ef
commit 1fe4eb190f
17 changed files with 462 additions and 467 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ def update(viewer):
F_vis = igl.eigen.MatrixXi()
J = igl.eigen.MatrixXi()
bary = igl.eigen.SparseMatrixd()
igl.slice_tets(V, T, plane, V_vis, F_vis, J, bary)
igl.marching_tets(V, T, plane, V_vis, F_vis, J, bary)
W_vis = igl.eigen.MatrixXd()
igl.slice(W, J, W_vis)
C_vis = igl.eigen.MatrixXd()
+1 -1
View File
@@ -55,7 +55,7 @@ def update_visualization(viewer):
# Extract triangle mesh slice through volume mesh and subdivide nasty triangles
J = igl.eigen.MatrixXi()
bary = igl.eigen.SparseMatrixd()
igl.slice_tets(V, T, plane, V_vis, F_vis, J, bary)
igl.marching_tets(V, T, plane, V_vis, F_vis, J, bary)
max_l = 0.03
while True:
l = igl.eigen.MatrixXd()