vcglib/vcg/simplex
ganovelli 9fc476b130 added type traits to support the mod below:
[ Changes in definition of  TriMesh: PART II ]

Note: No changes to existing code need be the done, this mod
should be fully backward compatible

Old way to define a TriMesh ==============
struct MyMesh: public vcg::tri::TriMesh< vector<MyVertex> , vector <MyFace> >{};

new  ways to define a TriMesh ==============

struct MyMesh: public vcg::tri::TriMesh< CONT1 >{};
struct MyMesh: public vcg::tri::TriMesh< CONT1 , CONT2>{};
struct MyMesh: public vcg::tri::TriMesh< CONT1 , CONT2, CONT3>{};

where CONT[i] can be vector< [MyVertex | MyEdge | MyFace ] > 
(the order is unimportant)
2010-03-19 17:18:00 +00:00
..
edge [ Changes in definition of TriMesh: PART I ] 2010-03-15 10:42:52 +00:00
face Doh! Forgot a const in the getbbox of Face Base 2010-03-18 10:28:10 +00:00
tetrahedron [SIMPLEXplus promotion] 2009-01-14 17:45:18 +00:00
vertex added type traits to support the mod below: 2010-03-19 17:18:00 +00:00