Wildmeshing Toolkit
triangle_areas.cpp
Go to the documentation of this file.
1 #include "triangle_areas.hpp"
2 
3 #include <predicates.h>
4 
5 #include <wmtk/TriMesh.hpp>
6 #include <wmtk/Tuple.hpp>
7 
8 namespace wmtk::utils {
9 
10 // Area::Internal& Area::Internal::instance()
11 // {
12 // static Area::Internal singleton;
13 // return singleton;
14 // }
15 
16 // Area::Internal::Internal()
17 // {
18 // exactinit();
19 // }
20 
21 // double Area::Internal::orient2d_aux(double pa[2], double pb[2], double pc[2])
22 // {
23 // return orient2d(pa, pb, pc);
24 // }
25 
26 // double Area::Internal::orient3d_aux(double pa[3], double pb[3], double pc[3], double pd[3])
27 // {
28 // return orient3d(pa, pb, pc, pd);
29 // }
30 // double Area::Internal::incircle_aux(double pa[2], double pb[2], double pc[2], double pd[2])
31 // {
32 // return incircle(pa, pb, pc, pd);
33 // }
34 
35 // double
36 // Area::Internal::insphere_aux(double pa[3], double pb[3], double pc[3], double pd[3], double
37 // pe[3])
38 // {
39 // return insphere(pa, pb, pc, pd, pe);
40 // }
41 } // namespace wmtk::utils