vcglib/vcg/space
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
..
index big replacement .Zero => .SetZero, and start of Eigen's compatibilities (currently disabled by default) 2008-10-27 14:48:14 +00:00
intersection added precompiler check if FABS macro is already defined 2008-08-04 10:54:34 +00:00
box.h big replacement .Zero => .SetZero, and start of Eigen's compatibilities (currently disabled by default) 2008-10-27 14:48:14 +00:00
box2.h added DistancePoint2Box2 2008-03-05 11:45:36 +00:00
box3.h corrected 1 warning in DistancePoint3Box3 function 2008-04-07 10:26:10 +00:00
color4.h make point2 derived Eigen's Matrix, and a set of minimal fixes to make meshlab compile 2008-10-28 00:59:46 +00:00
colorspace.h fix all errors and warnings gyven by gcc compiler 2006-11-16 14:48:48 +00:00
deprecated_point2.h make point2 derived Eigen's Matrix, and a set of minimal fixes to make meshlab compile 2008-10-28 00:59:46 +00:00
deprecated_point3.h Port to eigen2: state of the mess: 2008-10-27 19:35:17 +00:00
deprecated_point4.h make point2 derived Eigen's Matrix, and a set of minimal fixes to make meshlab compile 2008-10-28 00:59:46 +00:00
fitting3.h make point2 derived Eigen's Matrix, and a set of minimal fixes to make meshlab compile 2008-10-28 00:59:46 +00:00
intersection2.h corrected error on intersection line-circle 2007-05-08 13:49:08 +00:00
intersection3.h make point2 derived Eigen's Matrix, and a set of minimal fixes to make meshlab compile 2008-10-28 00:59:46 +00:00
line2.h added Mirror function 2007-10-12 10:02:41 +00:00
line3.h Port to eigen2: state of the mess: 2008-10-27 19:35:17 +00:00
normal_extrapolation.h make point2 derived Eigen's Matrix, and a set of minimal fixes to make meshlab compile 2008-10-28 00:59:46 +00:00
obox3.h Added the class oriented bounding box inherited from box3.h 2008-06-23 17:28:30 +00:00
planar_polygon_tessellation.h created as a first working draft. 2008-10-27 16:50:45 +00:00
plane3.h Port to eigen2: state of the mess: 2008-10-27 19:35:17 +00:00
point.h make point2 derived Eigen's Matrix, and a set of minimal fixes to make meshlab compile 2008-10-28 00:59:46 +00:00
point2.h make point2 derived Eigen's Matrix, and a set of minimal fixes to make meshlab compile 2008-10-28 00:59:46 +00:00
point3.h make point2 derived Eigen's Matrix, and a set of minimal fixes to make meshlab compile 2008-10-28 00:59:46 +00:00
point4.h Port to eigen2: state of the mess: 2008-10-27 19:35:17 +00:00
ray2.h first working version 2007-01-25 01:11:10 +00:00
ray3.h Port to eigen2: state of the mess: 2008-10-27 19:35:17 +00:00
segment2.h first release version 2007-01-03 15:49:48 +00:00
segment3.h Added method that computes the minimum distance between a segment and a point 2007-06-12 15:40:41 +00:00
smallest_enclosing.h missing typename 2007-11-20 09:45:51 +00:00
space.h changes necessary for gcc 3.4.5 on linux 64bit. 2006-04-11 08:10:05 +00:00
sphere3.h added a version of CreateTight which takes a std::vector 2008-08-04 10:50:53 +00:00
tetra3.h added missing typenames 2007-10-16 16:45:49 +00:00
texcoord2.h corrected small bug in multitex coord indexing 2008-01-28 08:48:52 +00:00
triangle2.h changed epsilon value on InterpolationParameters function 2008-07-03 10:22:37 +00:00
triangle3.h added inclusion of point3.h, removed useless namespace in InterpolationParameters 2008-08-04 10:53:08 +00:00