Phase out slice for dense matrices (#2259)

* better documentation, test against eigen slicing

* remove a bunch of slices

* clean up templates; static asserts on vector types

* final purges of slice

* fix templates in debug and ears test

* fix slice mask bug

* fix slice bug

* boo. try to get around windows poor template deduction

* annoying left over bad windows ❄️ template
This commit is contained in:
Alec Jacobson
2023-09-01 11:11:46 -04:00
committed by GitHub
parent f5702f63e7
commit b774e1b31c
79 changed files with 653 additions and 518 deletions
+2 -3
View File
@@ -11,7 +11,6 @@
#include <igl/barycenter.h>
#include <igl/volume.h>
#include <igl/exploded_view.h>
#include <igl/slice.h>
#include <igl/colormap.h>
@@ -43,8 +42,8 @@ int main(int argc, char *argv[])
Eigen::MatrixXi EF;
Eigen::VectorXi I,J;
igl::exploded_view(V,T,s,t,EV,EF,I,J);
Eigen::VectorXd DJ;
igl::slice(D,J,1,DJ);
Eigen::VectorXd DJ = D(J);
static bool first = true;
if(first)
{