#include #include TEST_CASE("doublearea: VF_vs_ABC", "[igl]" "[slow]") { auto test_case = [](const std::string ¶m) { Eigen::MatrixXd V; Eigen::MatrixXi F; igl::read_triangle_mesh(test_common::data_path(param), V, F); // Check that computing double area with (V,F) is the same as computing // double area with (V1,V2,V2) Eigen::VectorXd A1,A2; igl::doublearea(V,F,A1); Eigen::MatrixXd A(F.rows(),3); Eigen::MatrixXd B(F.rows(),3); Eigen::MatrixXd C(F.rows(),3); for(int f = 0;f