Commit Graph

2222 Commits

Author SHA1 Message Date
mtarini 831310930b added a few typecasts to QualityTypefor vertices and faces (avoids warinings when short int or int is used for Quality). 2007-02-02 00:29:33 +00:00
mtarini 351d7e3e2f overloaded operator "[]" (once more) to make it possible to index the temp. structure with an iterator 2007-02-02 00:01:54 +00:00
Paolo Cignoni cc7146cc86 Added small comment to grid function 2007-02-01 06:38:27 +00:00
Paolo Cignoni 5c9ed4eb3b Added FaceFromBorder 2007-02-01 06:37:05 +00:00
Paolo Cignoni 41dfe83e61 *** empty log message *** 2007-02-01 06:30:11 +00:00
Paolo Cignoni ee9dd66e6f Outdated confusing projects 2007-02-01 06:11:06 +00:00
Paolo Cignoni a2439416b2 Remove some usless code in Minimum Weight Triangulation. 2007-01-31 15:25:49 +00:00
Paolo Cignoni 9cf8cbd534 Bugfix the init function. 2007-01-31 15:24:30 +00:00
Paolo Cignoni 48049d1e4b Added refinment. 2007-01-31 15:17:36 +00:00
Paolo Cignoni 33d860cbb9 Bug fix 2007-01-31 11:46:12 +00:00
mtarini c842c83b77 renamed all methods (now uppercase). Also, the Position of a TCoord is now "P()". Old methods name are left, just for now, for back-compatibility. They will be removed soon. 2007-01-30 19:04:50 +00:00
mtarini 5b54eecefa aggiunta la VertexBorderFromNone (flag bordo per vertici senza richiedere nulla) 2007-01-30 18:49:23 +00:00
Nico Pietroni 385ee8ba62 - 1 warning corrected in InterpolationParameters function 2007-01-29 00:21:46 +00:00
Nico Pietroni 2d7c1bbdd2 -Used scalar type passed as template argument istead of double to prevent warnings.. in Rotate function 2007-01-29 00:20:25 +00:00
Nico Pietroni 09acf65187 -added some explicit CASTs in order to avoid warning if one use float instead of double as ScalarType 2007-01-29 00:18:20 +00:00
Paolo Cignoni ef3acb4fc8 Removed unuseful CoordType test 2007-01-27 13:14:34 +00:00
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 680279143c *** empty log message *** 2007-01-18 11:18:28 +00:00
Paolo Cignoni 090e33d162 The minimum weight algorithm keep the topology consistent. 2007-01-18 11:17:43 +00:00
Paolo Cignoni 237738785b Changed include order and removed syntax errors 2007-01-18 01:35:31 +00:00
Paolo Cignoni 8b2578e208 removed a wrong template specification for mac gcc compiling 2007-01-18 01:34:07 +00:00
Paolo Cignoni 9e847c9ddd Added a missing include allocate.h 2007-01-18 01:32:11 +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 13a26e1b89 Added cast for mac compiling 2007-01-18 01:26:23 +00:00
Paolo Cignoni fdaddf0e79 Added TrSplit function. 2007-01-17 14:31:47 +00:00
mtarini 722bd7a696 added "ToAscii" and "SetFromAscii" methods to load/store current trackball status from/to ascii strings
(intended uses: clipboard operations and comments inside png snapshots!)
2007-01-15 15:04:15 +00:00
Paolo Cignoni a07b6e638a Added relaxation. 2007-01-15 12:46:25 +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