Commit Graph

1352 Commits

Author SHA1 Message Date
Paolo Cignoni 2797b41cd5 Corrected ClearHeap Bug (thanks to pirosu) 2007-01-26 21:27:05 +00:00
Nico Pietroni aacbec3178 first working version 2007-01-25 01:11:10 +00:00
Nico Pietroni 25b916162d corrected wrong initial define
from:

#ifndef __VCGLIB_VERTEX__VN__TYPE
#define __VCGLIB_VERTEX__VN__TYPE

to:

#ifndef __VCGLIB_VERTEX__VNVT__TYPE
#define __VCGLIB_VERTEX__VNVT__TYPE
2007-01-25 01:08:09 +00:00
Nico Pietroni 9ec0e7b571 added:
- RayLineIntersection
- RaySegmentIntersection
- SegmentSegmentIntersection
2007-01-25 01:04:54 +00:00
Paolo Cignoni 9732b0f8b8 Added Finalize() method to the interface, corrected minor bugs on border preserving and postsimplification cleanup
Avoided double make_heap (it is done only in the local_optimization init)
2007-01-19 09:13:14 +00:00
Paolo Cignoni f991e164a1 Added Finalize() method to the interface 2007-01-19 09:13:09 +00:00
Paolo Cignoni a707c1d217 added missing typenames 2007-01-18 18:15:14 +00:00
Paolo Cignoni 090e33d162 The minimum weight algorithm keep the topology consistent. 2007-01-18 11:17:43 +00:00
Paolo Cignoni ace923ea0f Many small syntax changes for mac compiling 2007-01-18 01:31:12 +00:00
Paolo Cignoni 0ba87a93f0 commented UberP access method (syntax errors) 2007-01-18 01:29:48 +00:00
Paolo Cignoni 97ae6e35ed Corrected a syntax error in stabledot 2007-01-18 01:27:44 +00:00
Paolo Cignoni fdaddf0e79 Added TrSplit function. 2007-01-17 14:31:47 +00:00
Paolo Cignoni 2226163daf First working release. 2007-01-15 11:41:09 +00:00
Paolo Cignoni bcc7bb0c83 Added #ifdefs to guarantee that ComputeNormal would be defined only once 2007-01-13 00:25:36 +00:00
Paolo Cignoni 9ba5050193 Added (Normalized) Normal version templated on three points (instead forcing the creation of a new triangle) 2007-01-13 00:25:23 +00:00
ganovelli d60eb7127a currMetric inizialied to heap.front() (it was heap.back()- wrong) 2007-01-11 11:48:33 +00:00
Paolo Cignoni 5c63b84bf8 Added include assert.h 2007-01-11 10:37:08 +00:00
Paolo Cignoni f4d3561502 Added test in AddVertices to do not update un-initalized vert references (for newly allocated faces) 2007-01-11 10:24:25 +00:00
Paolo Cignoni 7f78cbb1d5 Added intialization of vertexRef to 0. 2007-01-11 10:22:39 +00:00
Paolo Cignoni d72aabbe64 Rewrote the template of ComputeNormal functions to a more readable form. 2007-01-11 10:13:11 +00:00
Paolo Cignoni 349a05f6f1 Removed useless and conflicting inclusion of face.h 2007-01-11 10:12:19 +00:00
matteodelle cd277247cc *** empty log message *** 2007-01-10 17:25:18 +00:00
Paolo Cignoni 0c8a863586 Bugfixed ComputeDihedralAngle function 2007-01-10 12:07:54 +00:00
Nico Pietroni 191896afbb added constructors :
-Triangle2()
     -Triangle2(const CoordType &p0,const CoordType &p1,const CoordType &p2)

added functions:
     - InterpolationParameters
     - PointDistance
2007-01-08 09:29:58 +00:00
Nico Pietroni 9cbf2c1c3c - added easpilon test on convex function.
- renamed Intersection function with  IsInsideTrianglePoint and optimized using bouding boxes
2007-01-08 09:26:33 +00:00
Nico Pietroni f8eeaae81f added explicit cast in function inline float Sqrt(const int v) in order to avoid warnings 2007-01-08 09:23:49 +00:00
Nico Pietroni 60958ee0e1 added initial define and included missing files 2007-01-03 15:51:28 +00:00
Nico Pietroni a2ee98e3e4 first release version 2007-01-03 15:49:48 +00:00
Nico Pietroni 56086c51ae added line-line and line-segment intersection 2007-01-03 15:49:00 +00:00
Paolo Cignoni 07fb3ae2df Added access functions F() 2007-01-02 10:06:53 +00:00
Paolo Cignoni b226ba87ba Corrected wrong assert in V(i) access function 2006-12-29 13:13:00 +00:00
Paolo Cignoni 2581b0015e Bug fix on ComputeDihedralAngle function 2006-12-27 15:09:52 +00:00
Paolo Cignoni 01695ba1d5 Corrected a syntax error detected only by gcc.
Corrected the order of initialization in the constructor to match the declaration order
2006-12-21 00:13:27 +00:00
ganovelli 8403681640 using of locally defined variable removed 2006-12-20 15:23:52 +00:00
matteodelle 17ebec98c6 minor eroor correction on variable names 2006-12-18 16:02:57 +00:00
Marco Callieri a344d59446 camera+shot revamp: changed field names to something with more sense, cleaning of various functions, correction of minor bugs/incongruences, removal of the infamous reference in shot. 2006-12-18 09:46:39 +00:00
mtarini 8b66ea4b94 newline at endoffile 2006-12-14 13:38:10 +00:00
Paolo Cignoni 8547f05f14 Commented some variant of the quality measure of weighted ears 2006-12-12 11:14:51 +00:00
ganovelli d24100b903 bug Index()() instead of Index() 2006-12-11 23:42:00 +00:00
ganovelli 7be5cc63cf Has*Opt migrated to Has*Occ 2006-12-11 23:40:57 +00:00
ganovelli 466ab5840c added missing initialization of currMetric 2006-12-11 14:09:44 +00:00
Paolo Cignoni f57a022c06 Added many this-> for gcc compiling 2006-12-07 00:40:18 +00:00
Paolo Cignoni fb51d1f3f9 end() replaced by pointer lastPlusOne 2006-12-06 17:47:50 +00:00
Paolo Cignoni 38e3e600a9 Corrected bugs on selfintersection 2006-12-06 13:03:59 +00:00
Nico Pietroni d391c5f9f6 added max distance to rayIterator 2006-12-06 12:59:13 +00:00
Nico Pietroni f2706529cf changed 1 wrong comment RayIterator---- Refresh .. was the opposite 2006-12-06 12:53:14 +00:00
Paolo Cignoni b9be8bd5fd Heavily restructured and corrected. Now a single Close ear function
Corrected Hole search function, and management of double non manifold vertex in a hole
Changed priority strategy in the heap, now a mix of quality and dihedral angle.
Changed but still untested IntersectionEar
2006-12-06 00:12:53 +00:00
Paolo Cignoni 588582f470 Added FFp1 and FFp2 shortcuts 2006-12-06 00:08:57 +00:00
Paolo Cignoni efa2743316 Removed Oldstyle uberZ access to FF adjacency 2006-12-06 00:08:21 +00:00
Paolo Cignoni c680da71f9 Added FFlip() and const VFlip() operators 2006-12-04 16:06:12 +00:00