00001 #ifndef DEF_MAPPING_345 00002 #define DEF_MAPPING_345 00003 00004 #include <math.h> 00005 #include <complex> 00006 00007 #include "Common.hh" 00008 00009 00010 00017 static unsigned int mapping_parameter_h = 0; 00018 00019 00020 bool test_in_triangle(const OriginalMesh::Point& s, const OriginalMesh::Point& b1, const OriginalMesh::Point& b2, const OriginalMesh::Point& b3 ); 00021 00022 OriginalMesh::Point planar_mapping(const OriginalMesh& base_mesh, const Vertex& v1, const OriginalMesh::FaceHandle& face, const OriginalMesh::Point &s); 00023 00024 00025 #endif