/** * tetrahedron.hh * * Created on: 12 jul. 2022 * Author: Alexandre Schulz - BRE */ #ifndef TETRAHEDRON_HH_ #define TETRAHEDRON_HH_ #include using Vector = std::vector; using Matrix = std::vector; void compute_tetrahedron(Vector p1, Vector p2, Vector p3, Vector p4, double& elongation, double& planarity); template void compute_tetrahedron_(std::vector p1, std::vector p2, std::vector p3, std::vector p4, double& elongation, double& planarity) { std::vector d_p1(p1.begin(), p1.end()); std::vector d_p2(p2.begin(), p2.end()); std::vector d_p3(p3.begin(), p3.end()); std::vector d_p4(p4.begin(), p4.end()); compute_tetrahedron(d_p1, d_p2, d_p3, d_p4, elongation, planarity); } #endif /* TETRAHEDRON_HH_ */