vcglib/vcg/simplex
Paolo Cignoni 7befff7bec make point2 derived Eigen's Matrix, and a set of minimal fixes to make meshlab compile
with both old and new version. The fixes include:
- dot product: vec0 * vec1 => vec0.dot(vec1) (I added .dot() to the old Point classes too)
- Transpose: Transpose is an Eigen type, so we cannot keep it if Eigen is used. Therefore
  I added a .tranpose() to old matrix classes, and modified most of the Transpose() to transpose()
  both in vcg and meshlab. In fact, transpose() are free with Eigen, it simply returns a transpose
  expression without copies. On the other be carefull:  m = m.transpose() won't work as expected,
  here me must evaluate to a temporary: m = m.transpose().eval(); However, this operation in very
  rarely needed: you transpose at the same sime you set m, or you use m.transpose() directly.
- the last issue is Normalize which both modifies *this and return a ref to it. This behavior
  don't make sense anymore when using expression template, e.g., in (a+b).Normalize(), the type
  of a+b if not a Point (or whatever Vector types), it an expression of the addition of 2 points,
  so we cannot modify the value of *this, since there is no value. Therefore I've already changed
  all those .Normalize() of expressions to the Eigen's version .normalized().
- Finally I've changed the Zero to SetZero in the old Point classes too.
2008-10-28 00:59:46 +00:00
..
edge added typenames to compile with gcc 2008-09-30 10:38:58 +00:00
edgeplus added edgeSimp definition 2008-09-30 09:47:25 +00:00
face missing (unreachable) return added 2008-10-24 09:49:47 +00:00
faceplus added missing checks in ImportLocal 2008-10-24 09:50:55 +00:00
tetrahedron added include to sphere3.h for SmallestEnclosingSphere() 2006-07-10 10:36:44 +00:00
tetrahedronplus Minor changes in VT Adjacency component. 2007-06-07 10:22:42 +00:00
vertex make point2 derived Eigen's Matrix, and a set of minimal fixes to make meshlab compile 2008-10-28 00:59:46 +00:00
vertexplus added missing functions 2008-10-24 09:54:23 +00:00