Commit Graph

22 Commits

Author SHA1 Message Date
Luigi Malomo 2c1279f880 static assert for Eigen type conversion 2021-11-17 15:37:07 +01:00
Luigi Malomo ba3e4370bb added scalar * point operators + added correct normalize/normalized functions to points + some code cleaning 2021-11-12 19:27:30 +01:00
alemuntoni 179b9360c5 Point3::normalized() is const and does not modify components 2021-11-11 11:37:57 +01:00
alemuntoni ade2c49443 some cleanups 2021-03-25 18:13:41 +01:00
alemuntoni c7fd93063e default copy constructor and assignment operator in Point2 and Point3 2020-11-17 19:19:54 +01:00
Luigi Malomo 4f5a0b7257 added ToEigenVector function to Point3 with templated return type 2020-02-07 15:25:11 +01:00
Luigi Malomo 59ccf586c4 static functions zero() an one() added to points 2017-07-27 14:47:49 +02:00
Gianpaolo Palma 680d903ad5 Indentation 2016-10-21 11:06:11 +02:00
Paolo Cignoni 32333eba24 Huge copyright sanitization of the header files of vcg folder. 2016-06-13 05:29:25 +00:00
Luigi Malomo d9f3b34498 reverted 2015-09-01 09:04:14 +00:00
Luigi Malomo 32ffe51cde added missing include 2015-09-01 09:02:23 +00:00
Paolo Cignoni 35d099384f added a MaxCoeffId utility function that was missing... 2014-08-09 00:01:41 +00:00
Luigi Malomo 6ac9919471 added static member Zero() to point3 2014-05-28 22:44:08 +00:00
Paolo Cignoni 6efdd91ecc Many small changes to remove useless annoying warnings. 2014-02-13 15:52:17 +00:00
Paolo Cignoni b26b406f8f Added a ToEigenVector method 2012-10-22 18:43:24 +00:00
Paolo Cignoni 19675a4e33 Deprecating the use of old dangerous linear algebra code. Please use Eigen!
Now attempting to include lin_algebra will block your compilation...
2012-10-11 10:48:55 +00:00
Paolo Cignoni f631d88c90 changed the comment of the function Convert from polar coordinates to cartesian coordinates ** it uses RADIANS and not degree...** 2011-11-15 11:07:49 +00:00
Paolo Cignoni 2fe129645b Rolled back 2011-10-05 15:04:40 +00:00
Paolo Cignoni 2e9d5c0936 removed some old surviving math:Max and changed to std::max 2010-10-15 09:13:58 +00:00
Paolo Cignoni c41e4d2e04 IMPORTANT CHANGE;
the rarely used frompolar and topolar returns angles in RADIANTS
changed the function names to clarify, avoid stupid bugs, and to adequate to the standard
2010-05-04 08:07:18 +00:00
Marco Di Benedetto ebcbc5f98d fixed implicit cast warning. 2009-11-13 00:52:37 +00:00
Paolo Cignoni ab200fc950 Port to eigen2: state of the mess:
* curently nothing change if you don't define VCG_USE_EIGEN
* make Matrix*, Point3 and Point4 derive Eigen::Matrix (still ugly)
* now catching all the dot products to replace them by .dot()
  note that most of meshlab already compile
2008-10-27 19:35:17 +00:00