Commit Graph

753 Commits

Author SHA1 Message Date
nico 4e71e28535 added PolygonPointDistance and PolygonBox functions 2017-03-14 12:55:57 +01:00
Paolo Cignoni c4d97c2c03 Huge reordering of header file inclusion order 2017-03-14 07:48:48 +01:00
Paolo Cignoni a597aea988 Corrected harmless Warnings 2017-03-02 10:20:27 +01:00
Paolo Cignoni 4046f82f75 Corrected harmless Warnings 2017-03-02 10:10:18 +01:00
Paolo Cignoni 4529d09e58 Removed hard coded eigenlib path from the include. So you are free to use the version of eigen you prefer.
Note that since this commit in your projects you must add also the
eigen folder to the include path.
2017-01-26 15:31:53 +01:00
Gianpaolo Palma 424b74bfcd Bug fixed in the xyYtoXYZ and XYZtoxyY functions 2017-01-25 20:02:43 +01:00
nico 85ae69d3ba solved minor warnings 2017-01-23 16:23:58 +01:00
nico f5795556ba removed some unused variable 2017-01-23 16:19:19 +01:00
nico bffc61bc7c correct one compile error in TriangleSegmentDistance 2017-01-23 16:18:52 +01:00
Giorgio Marcias 5735102cb7 double specialization of some Color4 methods were missing 2016-12-06 14:50:50 +01:00
Matteo Dellepiane e977c746bd PackInt function made public
In order to make the new Ponchio's nexus work properly
2016-11-29 11:37:19 +01:00
Gianpaolo Palma 82300062f8 Added a new implementation of the kdtree for faces 2016-11-16 11:24:12 +01:00
Gianpaolo Palma 0906212a1f Minor improvements
-Added the possibility to create a balanced tree
-Added methods to get the protected members
-Bug fixed in the size of the stack used in the query methods
2016-11-16 11:12:42 +01:00
Gianpaolo Palma 680d903ad5 Indentation 2016-10-21 11:06:11 +02:00
Paolo Cignoni 73d84303de Translated a number of comments and corrected a small bug (adding a null box does nothing also for transformed box) 2016-10-20 12:40:12 +02:00
Paolo Cignoni 07fe590814 Hue in HSV is wrapped if out of range for sake of robustness 2016-10-07 00:49:34 +02:00
Paolo Cignoni 32333eba24 Huge copyright sanitization of the header files of vcg folder. 2016-06-13 05:29:25 +00:00
Paolo Cignoni 47334c555d Small change to make the bbox function in segment equal to the other vcg object (getbbox instead of bbox) 2016-06-12 21:10:46 +00:00
granzuglia ff360e8cbb removed warning int -> size_t 2016-05-06 02:13:27 +00:00
Nico Pietroni d3bb5d09e0 changed Segment2DSegment2DDistance to return the 2 closest points 2016-05-01 15:35:57 +00:00
Gianpaolo Palma 694ffd7cb0 Bug Fixed in the function doQueryK if the point cloud contains less than k points 2016-04-28 10:48:19 +00:00
Paolo Cignoni c5095c6e1b Added 0-1 clamping to setgray 2016-04-02 05:42:05 +00:00
Paolo Cignoni f4686b3e0f Added Parula-like color map
removed bug on un-clamped set gray
2016-03-31 13:48:45 +00:00
Gianpaolo Palma e3db01f035 Added method "S* V()" 2015-10-26 12:54:19 +00:00
Gianpaolo Palma a7262838f0 Added missing include <cstdint> 2015-10-13 14:06:49 +00:00
Paolo Cignoni 48f65697f0 removed unused var 2015-09-24 16:41:58 +00:00
Paolo Cignoni 874346d211 Removed unused typenames (with latest generation of compilers it become a warning as unused variables) 2015-09-24 16:41:34 +00:00
Nico Pietroni 5aece50e09 erased some unused parameter 2015-09-14 12:02:19 +00:00
Paolo Cignoni ad95129d02 removed old style usage of hash map and substituted with c+11 sytle unordered set and map. 2015-09-13 06:18:26 +00:00
Paolo Cignoni c27a19e3d1 register is deprecated 2015-09-10 15:09:18 +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
granzuglia 1dc8a067ac - removed compiler time errors 2015-07-06 02:38:32 +00:00
Nico Pietroni d8a7e0069f added parameters in GetPolyTemplatePos to force isotropy 2015-07-03 09:54:40 +00:00
Gianpaolo Palma 2eac2ef672 Bug fixed with offset from a base data address bigger than 2GB 2015-05-11 14:41:43 +00:00
ganovelli 8ac85892e3 replaced segmentsegmentintersection implementation 2015-01-19 15:57:44 +00:00
giorgiomarcias 5085477562 Made constant some parameters, where possible. 2015-01-05 14:58:30 +00:00
Nico Pietroni 94d9a3dbdd * fixed several bugs
* added several functions to compute the quality of a polygonal meshing
* added the template polygon computation as in "Static Aware Grid Shells" by Pietroni et Al.
2015-01-05 12:57:16 +00:00
Luigi Malomo ee3177b1d9 included missing header. 2014-12-17 19:11:45 +00:00
Nico Pietroni 48b7365ba4 corrected one error in Interpolationparameters 2014-12-17 17:17:47 +00:00
Luigi Malomo efaabde8d0 Types fixed to avoid clang compiler issues. 2014-12-10 00:54:10 +00:00
Nico Pietroni 472373efbe minor changes for compilation with Clang 2014-12-08 15:11:01 +00:00
Paolo Cignoni 40aedda6b0 Added also a NormalizedTriangleNormal. Too much practical... 2014-11-14 23:00:36 +00:00
Paolo Cignoni 16f4795588 CRITICAL CHANGE: the commonly used function Normal() used to compute the normal of a triangle has been changed into TriangleNormal() 2014-11-12 00:04:26 +00:00
Paolo Cignoni 3bc278c224 renamed polygon.h to polygon3.h for coherence... 2014-11-12 00:03:01 +00:00
Paolo Cignoni 144c3ce295 Added file for containing polygon based functions (just like triangle) 2014-11-12 00:01:32 +00:00
Paolo Cignoni 0a42a15d35 improved documentation, remove extra ';' and useless const 2014-11-03 15:05:34 +00:00
Luigi Malomo 79f4c6ac94 Added VN() function to triangle3. 2014-11-01 16:58:53 +00:00
Massimiliano Corsini 708463311e fix GetBBOx changes 2014-10-13 08:36:01 +00:00
Massimiliano Corsini 0fd22c536b fix include path 2014-10-13 08:35:29 +00:00