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
bbcb8dc26b
Removed a bug in the managment of non triangular faces
2006-12-21 00:36:17 +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
02f23020fc
added a function to approximate a far plane value given a shot and the mesh bbox
2006-12-18 15:26:24 +00:00
matteodelle
5360cc0977
*** empty log message ***
2006-12-18 14:28:07 +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
ganovelli
e0dc9fc1c7
partyl rewritten, added optional type explained
2006-12-17 10:41:55 +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
Paolo Cignoni
1cb21d78f1
Slightly changed the colormaterial mode for the flatwire
2006-12-12 11:06:58 +00:00
Paolo Cignoni
6d5f52174b
Removed use of tellg that is broken in current version of mingw
2006-12-12 02:47:12 +00:00
ganovelli
f07128960f
half way new version
2006-12-12 00:12:03 +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
ganovelli
b88a447671
added VFIterator (Pos is disabled in this version)
2006-12-10 23:29:57 +00:00
ganovelli
cbe27a6f0e
cvs problem during frist committ. repeated
2006-12-10 22:17:18 +00:00
ganovelli
ebfacd2db3
first draft of the class the draw a Pos
2006-12-10 19:59:28 +00:00
ganovelli
812ce8a9b1
first draft. Working but ugly interface. right mouse of the button to place a pos, then prss buttons.
2006-12-10 19:55:09 +00:00
Paolo Cignoni
f57a022c06
Added many this-> for gcc compiling
2006-12-07 00:40:18 +00:00
Paolo Cignoni
67007b3691
Added a class prototype for avoiding the inclusion of tetra.h
2006-12-07 00:39:22 +00:00
Paolo Cignoni
c88392e13b
Corrected bug in the management of deleted vertices
2006-12-07 00:37:58 +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
8e4a9f2011
Added flipping optimization, it compiles but does not work well...
2006-12-06 00:14:33 +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