Commit Graph

288 Commits

Author SHA1 Message Date
ganovelli f6c416728a created 2004-04-29 12:31:39 +00:00
ganovelli 6524344684 error in plane segment corrected 2004-04-29 10:48:44 +00:00
ganovelli 7263ed4589 some siyntax error corrected 2004-04-29 10:47:06 +00:00
ganovelli 91205e6346 created 2004-04-29 01:00:07 +00:00
ganovelli f8b9c845de created 2004-04-29 00:02:38 +00:00
ganovelli 43b0f7f922 created 2004-04-28 23:33:24 +00:00
Paolo Cignoni 167845dce4 Changed :
in Distance(plane, point) :
return plane.Direction() * point - plane.Offset;
in
return plane.Direction() * point - plane.Offset();
2004-04-28 16:36:55 +00:00
Paolo Cignoni a92bdebe76 Changed :
in SolidAngle(vind) :
double da0=DiedralAngle(EV(vind,0));
double da1=DiedralAngle(EV(vind,1));
double da2=DiedralAngle(EV(vind,2));
in
double da0=DiedralAngle(EofV(vind,0));
double da1=DiedralAngle(EofV(vind,1));
double da2=DiedralAngle(EofV(vind,2));

Changed :
in DiedralAngle(edgeind) :
int f1=FE(edgeind,0);
int f2=FE(edgeind,1);
in
int f1=FofE(edgeind,0);
int f2=FofE(edgeind,1);

Changed :
in DiedralAngle(edgeind) :
Point3d p0=FV(f1,0)->P();
Point3d p1=FV(f1,1)->P();
Point3d p2=FV(f1,2)->P();
in
Point3d p0=_v[FofV(f1,0)];
Point3d p1=_v[FofV(f1,1)];
Point3d p2=_v[FofV(f1,2)];

Changed :
in DiedralAngle(edgeind) :
p0=FV(f2,0)->P();
p1=FV(f2,1)->P();
p2=FV(f2,2)->P();
in
p0=_v[FofV(f2,0)];
p1=_v[FofV(f2,1)];
p2=_v[FofV(f2,2)];
2004-04-28 16:31:17 +00:00
Nico Pietroni f154f17acd *** empty log message *** 2004-04-28 11:37:15 +00:00
Nico Pietroni 6d04f844de *** empty log message *** 2004-04-28 11:37:14 +00:00
Paolo Cignoni 62e4e8825b Changed :
in Init(p0, norm)   _dist = p0 * _dir;   in   _offset = p0 * _dir;
Changed :
in Init(p0, p1, p2)   _offset = p0 * _dist;   in   _offset = p0 * _dir;
2004-04-28 11:19:52 +00:00
Paolo Cignoni 39ff8b63d7 Added : #include <color4.h> 2004-04-27 14:15:23 +00:00
Paolo Cignoni d74aa98a6d *** empty log message *** 2004-04-27 09:30:44 +00:00
Paolo Cignoni f19537f3f3 *** empty log message *** 2004-04-27 08:49:47 +00:00
ganovelli 13035f61d2 created 2004-04-26 19:10:04 +00:00
ganovelli 0fe71a6e69 created 2004-04-26 19:04:23 +00:00
ganovelli cbbb1cd0ff plane line
plane segment
triangle triangle added
2004-04-26 12:34:50 +00:00
ganovelli faf56a6219 first version 2004-04-26 12:33:59 +00:00
Nico Pietroni adeca3e96f *** empty log message *** 2004-04-26 09:40:15 +00:00
ganovelli 00de9443f0 it changed name to tetra3 2004-04-22 13:20:22 +00:00
ganovelli c115b3c688 first version 2004-04-22 13:19:12 +00:00
Paolo Cignoni f1ea75bbe8 Initial Commit 2004-04-21 14:22:27 +00:00
ganovelli 5903e60ec7 #ifndef added 2004-04-21 14:06:10 +00:00
Nico Pietroni cd9f4d323c *** empty log message *** 2004-04-20 16:26:48 +00:00
Nico Pietroni 7980702bd2 *** empty log message *** 2004-04-20 12:42:51 +00:00
ganovelli 1b3fc69fac Min and Max changed from const members to static class function
Use: Value<float>::Min()
2004-04-15 09:36:59 +00:00
Nico Pietroni c30060577e *** empty log message *** 2004-04-15 08:54:20 +00:00
Paolo Cignoni 5f1450fd62 updated access to matrix44 elements through V() instead simple [] 2004-04-07 10:48:37 +00:00
Paolo Cignoni 7ea2f49da5 Added: [i][j] access, V() for the raw float values, constructor from T[16] 2004-04-07 10:45:54 +00:00
ganovelli 13a9005367 Aggiunto typename
Eliminata bug di ricorsione nell'istanzazione dei template
2004-04-05 18:20:50 +00:00
ganovelli a1a41a9718 Aggiunto typename 2004-04-05 18:20:08 +00:00
ganovelli ad6d5c2bed Aggiunto typename 2004-04-05 13:53:37 +00:00
mtarini 98433b6bfc unified version: PointBase version, with no guards "(N==3)" 2004-04-05 12:36:43 +00:00
mtarini c73064b1fa unified version: PointBase version, with no guards "(N==3)" 2004-04-05 12:35:33 +00:00
Paolo Cignoni c5502d119f Add V() access function 2004-04-05 11:57:32 +00:00
Paolo Cignoni 711c2a00d9 First working version! 2004-04-05 11:56:14 +00:00
Paolo Cignoni a62ad3cc1b addend constant access funcs 2004-04-05 11:53:06 +00:00
Paolo Cignoni ec3c53d1d5 wrong define FACE_N instead of FACE_FN 2004-04-05 11:51:22 +00:00
Paolo Cignoni 2c95c0cd3a minor changes 2004-04-03 14:12:48 +00:00
Paolo Cignoni 03b335b154 minor changes 2004-04-03 14:10:31 +00:00
Paolo Cignoni 75e3df439e minor changes 2004-04-03 13:35:51 +00:00
Paolo Cignoni d11fc2356d Missing include 2004-04-03 13:33:55 +00:00
Federico Ponchio 4f266201df Ehm... a couople of small errors. 2004-04-02 09:49:01 +00:00
Federico Ponchio b7a9093265 Sphere ->Sphere3 2004-04-02 09:44:13 +00:00
ganovelli c3dc8c46e4 First Working Release (with this comment) 2004-03-31 22:36:44 +00:00
ganovelli c121ea989e one bug corrected and other minor changes 2004-03-31 22:33:38 +00:00
ganovelli 0ede25d91c First working release 2004-03-31 22:32:31 +00:00
Federico Ponchio 18ea5dd5db Untested first draft. 2004-03-31 22:19:24 +00:00
Paolo Cignoni e75f79b6ed First working version! 2004-03-31 14:59:14 +00:00
Paolo Cignoni 49691db569 Added Vertex-Face Topology 2004-03-31 14:44:43 +00:00
Paolo Cignoni a6269df8cd bug in update of VF adj 2004-03-31 14:43:56 +00:00
ganovelli 82a897b53e Data structure to handle temporary attributes. First version 2004-03-31 14:16:40 +00:00
Paolo Cignoni d5f924cd26 Added optional cpmponent 2004-03-31 13:15:28 +00:00
Paolo Cignoni 48bf28971c First working version! 2004-03-31 12:46:53 +00:00
mtarini 0002503283 debugged Max and Min const values (to make them linkable) 2004-03-31 12:41:55 +00:00
ganovelli 48d93d6339 Data structure to handle temporary attributes. First version 2004-03-31 12:40:42 +00:00
ganovelli 851c64717e *** empty log message *** 2004-03-31 12:38:20 +00:00
ganovelli 2324d22a95 *** empty log message *** 2004-03-31 12:28:37 +00:00
Paolo Cignoni 0ef532be67 First working version! 2004-03-31 10:24:32 +00:00
Paolo Cignoni 9b763a1643 missing return value in zero() 2004-03-31 10:09:58 +00:00
Paolo Cignoni 0a7cf4514f int64 -> long long for GCC compatibility 2004-03-31 10:09:19 +00:00
ganovelli 6dfbfb3ec8 *** empty log message *** 2004-03-31 03:00:40 +00:00
ganovelli 3ad3628994 *** empty log message *** 2004-03-31 00:26:36 +00:00
ganovelli 733e581689 *** empty log message *** 2004-03-30 22:48:54 +00:00
Paolo Cignoni 9c4727960d First working version! 2004-03-29 14:26:57 +00:00
Paolo Cignoni d7d79a8867 Error in color 2004-03-29 14:26:38 +00:00
Paolo Cignoni 5e8b06d5cd First working version! 2004-03-29 14:05:43 +00:00
Paolo Cignoni 9ddcfd8420 missing include 2004-03-29 08:37:09 +00:00
Paolo Cignoni 6ea584884a First working version! 2004-03-29 08:36:26 +00:00
Federico Ponchio 760a82a416 #include sbagliato. 2004-03-25 17:25:46 +00:00
Federico Ponchio ae639dd45a Microerror. ($LOG$ -> $Log: $ 2004-03-25 14:57:50 +00:00
Federico Ponchio 7f79205b30 Microerror. ($LOG$ -> $Log: $ 2004-03-25 14:57:49 +00:00
Federico Ponchio fcdf344cf6 *** empty log message *** 2004-03-25 13:54:06 +00:00
Federico Ponchio 5a69f4fe30 First version. 2004-03-21 17:51:57 +00:00
Federico Ponchio 7638edc6e1 Added a math:: 2004-03-21 17:14:56 +00:00
Paolo Cignoni ad431fccd3 minor changes 2004-03-18 16:00:10 +00:00
Paolo Cignoni 1a4283c2af Completed Octahedron and Icosahedron 2004-03-18 15:29:07 +00:00
mtarini 68b448da9e first version 2004-03-16 03:08:17 +00:00
mtarini 6e7e008ed3 first commit 2004-03-16 03:08:02 +00:00
mtarini 223902e61c "dimensionally unified" version: first commit 2004-03-16 03:07:38 +00:00
mtarini e4cf5549cd - added VoidType - added "static_assert" 2004-03-16 00:23:50 +00:00
Paolo Cignoni 1416372b32 Corrected bug on the return of a wrong iterator 2004-03-12 15:25:29 +00:00
Paolo Cignoni a341239296 Written some documentation and added to the trimes doxygen module 2004-03-12 15:22:28 +00:00
mtarini 5156f16cf4 prova 2004-03-11 18:14:19 +00:00
mtarini 35d6370a57 added commets (doxy), uniformed with new style, now using math::, ...
added HomoNormalize(), Zero()... remade StableDot() (hand made sort).
2004-03-11 17:17:49 +00:00
mtarini f36d1e007a minor updates, corrections, added documentations, etc. 2004-03-11 11:47:20 +00:00
Paolo Cignoni 49c4d52f70 Written some documentation and added to the face module 2004-03-11 09:02:35 +00:00
Paolo Cignoni 70d23b8bdb Written some documentation and added to the space module 2004-03-11 08:54:12 +00:00
Paolo Cignoni c735627fae Written some documentation and added to the space module 2004-03-10 21:38:40 +00:00
mtarini b84e4c7460 Added comments (Dox) !
Added Import(). Costruct(), ScalarType...  Corrected cross prod (sign). Added Angle. Now using Math:: stuff for trigon. etc.
2004-03-10 17:42:40 +00:00
mtarini bc1fdc913b Added Atan2.
Added common utilities: Max, Min, Swap, Sort(a,b), Sort(a,b,c).
Changed Max values syntax. example:  Value<float>::Max
2004-03-10 17:37:54 +00:00
mtarini eda1533770 Added Atan2.
Added common utilities: Max, Min, Swap, Sort(a,b), Sort(a,b,c).
Changed Max values syntax. example:  Value<float>::Max
2004-03-10 16:54:57 +00:00
mtarini 017afe95d0 added Normalized flag 2004-03-10 15:27:48 +00:00
mtarini 9215ea92e7 first version 2004-03-10 15:27:18 +00:00
Paolo Cignoni f56ea4cc0d Initial commit 2004-03-10 08:32:30 +00:00
Paolo Cignoni 2fb492d90a minor changes 2004-03-10 01:00:21 +00:00
Paolo Cignoni 07267f54f0 Moved geometric stuff to the space/triangle class 2004-03-10 00:52:38 +00:00
Paolo Cignoni d08568913e First working version! 2004-03-10 00:50:41 +00:00
Paolo Cignoni 78e4cccaba changed to the face::IsBorder() style 2004-03-10 00:48:06 +00:00
Paolo Cignoni 68beee8a27 Added gcc required typenames to tetrahedron and octaehedron 2004-03-10 00:37:31 +00:00
Paolo Cignoni b68d85894d added a math namespace reference 2004-03-10 00:35:24 +00:00
Paolo Cignoni 9ec5d86675 Removed a wrong (?) copy constructor 2004-03-10 00:35:01 +00:00
Paolo Cignoni 7d78a93492 Initial commit 2004-03-10 00:30:21 +00:00
Federico Ponchio 499b368150 Double - float conversions. 2004-03-09 20:54:57 +00:00
mtarini 86e23fb5d4 smaller update 2004-03-09 19:29:52 +00:00
mtarini 5ed7bf6aba (CVS did not want to undo update) 2004-03-09 17:55:04 +00:00
mtarini 5f11437fd1 Added "Normalize" flag 2004-03-09 16:47:32 +00:00
Paolo Cignoni c24a286899 cr lf mismatch 2004-03-09 14:17:58 +00:00
Paolo Cignoni 417940a2d5 Initial commit 2004-03-09 14:16:55 +00:00
Federico Ponchio 1fb1bcafd5 Variuos errors and minor changes. 2004-03-09 13:57:29 +00:00
mtarini 43f74f4627 First Version (tarini) 2004-03-08 19:46:47 +00:00
mtarini 7a5b65928b *** empty log message *** 2004-03-08 19:40:48 +00:00
mtarini ed506a2ea5 first version (tarini) 2004-03-08 19:38:29 +00:00
mtarini f179d1caa6 first version (tarini) 2004-03-08 16:15:48 +00:00
Federico Ponchio 745f415f4e Small errors. 2004-03-08 15:33:58 +00:00
Federico Ponchio a9f4159490 Transpose had some errors. 2004-03-08 14:49:58 +00:00
Federico Ponchio a462f2ce71 Aggiunti un po di inline davanti alle funzioni 2004-03-08 14:49:37 +00:00
Paolo Cignoni b91d8334d5 Initial commit 2004-03-08 09:24:59 +00:00
Paolo Cignoni 42e0406b07 Initial commit 2004-03-08 05:25:48 +00:00
Federico Ponchio a7a6bc009e Added header. 2004-03-08 01:48:13 +00:00
Paolo Cignoni 9150fdfb37 Initial commit 2004-03-08 01:13:31 +00:00
Paolo Cignoni 12d0d04898 Moved quality and normal functions to the triangle class. 2004-03-07 22:45:32 +00:00
Paolo Cignoni 5cc5474ad2 some more reflection functions 2004-03-07 21:54:56 +00:00
Federico Ponchio 10e01614a6 Renamed. 2004-03-06 15:48:16 +00:00
Federico Ponchio ae18099281 Added Import. 2004-03-06 15:46:43 +00:00
Federico Ponchio 59d5a521a8 Renamed from similar 2004-03-06 15:45:35 +00:00
Paolo Cignoni c11adb316e First working version for face face 2004-03-05 21:49:21 +00:00
mtarini 1a8c8a6199 errorino: upper case in Zero() 2004-03-05 17:55:01 +00:00
mtarini dc05252eec Errorino "ScalarType" -> "BoxScalarType" 2004-03-05 17:51:28 +00:00
Paolo Cignoni 7ba68001eb Changed name from plural to singular (normals->normal) 2004-03-05 15:56:17 +00:00
Federico Ponchio 02966b735b Created. 2004-03-05 15:15:11 +00:00
Paolo Cignoni 0267a76a42 Changed name from plural to singular (normals->normal) 2004-03-05 11:26:40 +00:00
Paolo Cignoni 3bdaf481ea Initial commit 2004-03-05 11:26:15 +00:00
Paolo Cignoni 5c0b925ef8 Changed name from plural to singular (normals->normal) 2004-03-05 10:59:24 +00:00
Federico Ponchio edb97e9493 Varie correzioni. 2004-03-04 02:10:14 +00:00
Paolo Cignoni 807aec3803 Initial commit 2004-03-04 00:53:24 +00:00
Federico Ponchio 827fcf31b1 Post moltiplication was wrong. 2004-03-04 00:45:51 +00:00
Paolo Cignoni 2181539c6b First working version! 2004-03-04 00:37:56 +00:00
Paolo Cignoni 36829a099d First working version! 2004-03-04 00:29:45 +00:00
Federico Ponchio bace904c2e Added a return in Invert 2004-03-04 00:28:39 +00:00
Federico Ponchio 5a3ae0799c first version 2004-03-04 00:21:33 +00:00
Federico Ponchio e5cde4e163 added Acos e Asin 2004-03-04 00:21:00 +00:00
Paolo Cignoni d52cbb2602 First working version! 2004-03-04 00:08:15 +00:00
Paolo Cignoni 5332b4ac5b changed math from class to template 2004-03-03 22:51:49 +00:00
Paolo Cignoni f657ab9c6c First working version (tetrahedron!) 2004-03-03 16:11:46 +00:00
Paolo Cignoni 71749144a2 First working version 2004-03-03 16:08:38 +00:00
Paolo Cignoni 3b155f73e2 Yet another cr lf mismatch 2004-03-03 16:07:57 +00:00
Paolo Cignoni 0556b33b65 Yet another cr lf mismatch 2004-03-03 15:35:53 +00:00
Paolo Cignoni cd85d6ca7d renamed protected member v -> _v 2004-03-03 15:07:40 +00:00
Paolo Cignoni e6a05ea921 Yet another cr lf mismatch 2004-03-03 14:32:13 +00:00