Commit Graph

94 Commits

Author SHA1 Message Date
Paolo Cignoni 2376184409 removed uppercase references in include 2004-07-13 06:48:30 +00:00
Paolo Cignoni dd9ebaba8e Initial Commit 2004-07-12 23:46:03 +00:00
Paolo Cignoni 398a5a60cc Added a cast to remove a warning 2004-07-11 22:08:04 +00:00
ganovelli 936850026b ComputeVOlume moved outside the class and other
minor corrections
2004-07-09 10:08:21 +00:00
Paolo Cignoni d8649c92be removed the infamous Inflate. Now only Offset exists 2004-07-07 23:26:25 +00:00
ganovelli 260665c528 added Grid to return all the cells sharing a specified edge 2004-06-25 18:34:23 +00:00
ganovelli 39028e633e minor changes 2004-06-25 18:17:03 +00:00
Paolo Cignoni 71dbb53a60 Now color ramp can do reverse color ramp 2004-06-24 07:55:50 +00:00
Federico Ponchio 956a626273 Added some help and inndentation 2004-06-23 15:49:03 +00:00
Paolo Cignoni 1ca59ac830 Corrected bug in setgrayshade 2004-05-26 15:10:29 +00:00
Federico Ponchio 99b51766f6 Fixed some minor bugs 2004-05-14 03:14:29 +00:00
Federico Ponchio 62bba63f19 Added Distance 2004-05-14 03:14:04 +00:00
Federico Ponchio ee86220f5c minor bug 2004-05-13 23:43:54 +00:00
Federico Ponchio 65c81124dd SegmentType -> Segment3 in constructor (g++ complained) 2004-05-13 23:39:47 +00:00
Paolo Cignoni dc9456a1cc Changed SolidAngle : table EV in table EofV
Changed DiedralAngle : tables FE and FV in tables FofE and FofV
2004-05-13 12:51:00 +00:00
Nico Pietroni 42f85b22f1 the relation between entities functions are in tetra class (don't neeed template argoument) 2004-05-13 08:42:36 +00:00
ganovelli 2739634d38 changed calls to Dist 2004-05-12 18:50:58 +00:00
ganovelli cfbe1314df changed to grid_static_obj to grid_static_ptr 2004-05-11 14:33:46 +00:00
ganovelli 51d36a0451 created 2004-05-10 14:57:23 +00:00
ganovelli d7d6388dbf created 2004-05-10 14:45:46 +00:00
Paolo Cignoni b4d5b219eb missing ending newline 2004-05-10 13:26:53 +00:00
Paolo Cignoni 6a75af2188 small syntax error Math -> math in Angle 2004-05-10 13:22:25 +00:00
Paolo Cignoni b7fb0325c3 missing ending newline 2004-05-10 13:15:54 +00:00
ganovelli 2c75393c45 include assert.h added 2004-05-10 11:16:19 +00:00
ganovelli 9afae94da0 name of the constructor changed from LineType to Line3 2004-05-10 10:58:35 +00:00
ganovelli c69a02d71d return type of length and squaredlength corrected 2004-05-08 14:07:50 +00:00
Paolo Cignoni ff99671468 added ifdef for gcc [Bug c++/14479] 2004-05-07 12:46:55 +00:00
Paolo Cignoni 16f2e7ebd7 Corrected template specialization syntax for gcc compiling 2004-05-07 10:06:55 +00:00
Paolo Cignoni ff948edd54 syntax errors in inersection plane line. 2004-05-05 08:21:55 +00:00
Paolo Cignoni e263653851 syntax error in set and better comment 2004-05-05 08:20:47 +00:00
ganovelli bd4dad797c Triangle3<T> replaced by TRIANGLE
Segment<T> replaced by EDGETYPE
2004-05-04 02:37:58 +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
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
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
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
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
Nico Pietroni cd9f4d323c *** empty log message *** 2004-04-20 16:26:48 +00:00
Nico Pietroni c30060577e *** empty log message *** 2004-04-15 08:54:20 +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
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
Federico Ponchio 18ea5dd5db Untested first draft. 2004-03-31 22:19:24 +00:00