Commit Graph

1388 Commits

Author SHA1 Message Date
Paolo Cignoni b84b47b5f1 Removed reference to IsBorder() member of face and substituted with the face templated function version. 2005-10-13 08:34:19 +00:00
Paolo Cignoni 53f49b4784 Added glscale(scalar) and corrected bug in glscale(point2) 2005-10-13 08:32:26 +00:00
Federico Ponchio 0446646573 another bunch of typenames. 2005-10-12 18:24:30 +00:00
Federico Ponchio 4c140c3bd4 RayType ->Ray3 in a couple of location (not really sure is correct though...) 2005-10-12 17:29:42 +00:00
Federico Ponchio 1723bbf895 cFFp doesn not exist -> FFp (there is the const version...)
same for cVFp.
2005-10-12 17:26:19 +00:00
Federico Ponchio b54c4ce850 Added gazillions typenames, commented out old broken functions,
added unsigned int TextureMapID[128], and unsigned int & TMId(int i).
2005-10-12 17:19:03 +00:00
Federico Ponchio 5008465972 Added IsOrtho... 2005-10-12 16:43:32 +00:00
Paolo Cignoni ead8780772 Removed clearing of flags of added faces. Now the flag component has a constructor that clear it.
FF and VF adjacency are updated only if they are present and consistent (e.g. only if VFp(k) != 0 or FFp(k)!=0)
2005-10-12 10:47:21 +00:00
Paolo Cignoni 6b14910e5f Now creation of new edge use Ordered() constructor to comply the fact that the basic collapse is simmetric. 2005-10-12 10:44:01 +00:00
Paolo Cignoni c12401a795 Removed unused local type Edge. Now it use the standard simplex edge. 2005-10-12 10:36:26 +00:00
Paolo Cignoni 9a78285793 Removed the supposedly wrong first parameter in the three invocation of ClassType::BoundObjects. 2005-10-12 09:59:40 +00:00
Paolo Cignoni 05340422a8 Moved all the main functions inside clean.h 2005-10-11 16:03:41 +00:00
Paolo Cignoni d8e79083e0 Added new functions belonging to triMeshInfo
Started the Self-Intersection routine
2005-10-11 16:03:40 +00:00
Paolo Cignoni 69123d036e updated to the new naming scheme 2005-10-07 15:22:07 +00:00
Paolo Cignoni b166dd19da Initial release 2005-10-07 15:20:52 +00:00
Paolo Cignoni 0bf4c6a185 minor updates to keep it in line with the rest of the library 2005-10-07 15:20:00 +00:00
Paolo Cignoni 08a49f7305 Minor changes in Set method: added use of template scalar type computing BBox. 2005-10-07 13:27:22 +00:00
Nico Pietroni dae0988085 added getBBox method 2005-10-06 14:26:39 +00:00
ganovelli 76617c2a7f *** empty log message *** 2005-10-06 10:08:51 +00:00
Nico Pietroni 644fca68bf minor changes 2005-10-05 17:39:14 +00:00
Nico Pietroni 7580221931 corrected sintax error on singular value decomposition 2005-10-05 17:06:12 +00:00
Nico Pietroni a3d7b98a34 corrected bug on Set Function .... bbox must be exetended in order to have'nt any object on his borde 2005-10-05 17:05:08 +00:00
Nico Pietroni f0724dd9e9 corrected bug on closest Iterator 2005-10-05 17:04:45 +00:00
Nico Pietroni b61d0de3b6 corrected bugs on GEtKClosestVert and GetInSphereVert 2005-10-05 17:02:52 +00:00
Marco Di Benedetto b7d4a5efd6 First Commit, new version. 2005-10-05 01:59:56 +00:00
Marco Di Benedetto 797d8f344f *** empty log message *** 2005-10-05 01:58:21 +00:00
Marco Di Benedetto 2a3744d4d8 Removed "parent" pointer class member in Node class. 2005-10-05 01:43:28 +00:00
Marco Di Benedetto ded83f251f Node children are now tested in ascending ray-T order. 2005-10-05 01:40:56 +00:00
Paolo Cignoni 97c08b13f3 erase wrong assert on boxToIbox function 2005-10-03 16:21:10 +00:00
Paolo Cignoni 5ef378ec5a add define header 2005-10-03 16:19:44 +00:00
Paolo Cignoni 5182d24c7f fixed some bugs 2005-10-03 16:19:07 +00:00
Paolo Cignoni ecdb5c6ad4 add template parameter for spatialindexing struction 2005-10-03 16:18:15 +00:00
Paolo Cignoni f851e3d3d8 used new version of grid query 2005-10-03 16:16:54 +00:00
Federico Ponchio e9583c5020 Changed order of functions intersection_line_box and
intersectuion_ray_box
2005-10-03 16:07:50 +00:00
Paolo Cignoni c37db42415 Minor changes 2005-10-03 16:00:08 +00:00
Paolo Cignoni 11a25b6957 Alligned with TriMeshInfo Code 2005-10-03 15:57:53 +00:00
Nico Pietroni de125d7f59 first release version 2005-10-03 14:13:13 +00:00
Nico Pietroni 805b84bf43 added GetInSphere and GetInBox functions
rensmed Functions respectively with Face suffix or Vertex suffix for query on vertex or faces
2005-10-03 13:59:39 +00:00
Nico Pietroni 3a54e6d7c3 added GetInSphere and GetInBox functions 2005-10-03 13:58:21 +00:00
Nico Pietroni 3fd167568f added GridGetInSphere and GridGetInBox functions 2005-10-03 13:57:32 +00:00
Nico Pietroni bccc1ad129 optimized Closest iterator
added possibility to pass a point p that is outside the bbox of the indexing structure
2005-10-03 10:06:53 +00:00
Nico Pietroni 418bf58a24 changed Set functions, added possibility to pass the bbox as parameter 2005-10-03 10:05:26 +00:00
Paolo Cignoni ab2aa78c54 Cleaned up the code, added missing options, still with some bugs (optimal placement)
Still some issue on the heap size and on the safe update options.
Changed printing style
2005-10-03 00:00:31 +00:00
Paolo Cignoni 6525a2a052 *** empty log message *** 2005-10-02 23:26:38 +00:00
Paolo Cignoni a7b6938a1e Changed the sense of the < operator for heap: it is reversed according to the stl where highest score elements must float in the heap
Completed TimeBudget Termination condition.
Parametrized the ClearHeap procedure now there is a HeapSimplexRatio param. Removed dirty printf.
2005-10-02 23:23:52 +00:00
Paolo Cignoni 2ef5b676b5 Changed the sign of the priority of a collapse. Now it is its the error as it should (and not -error) 2005-10-02 23:19:36 +00:00
Paolo Cignoni 1422c01d7a Small bug in the computation of the intersection between the todo box and the grid bbox that failed for extrema points. 2005-10-02 23:18:06 +00:00
Paolo Cignoni 010877c2b8 English comment and moved typedef to public scope 2005-10-02 23:16:26 +00:00
Paolo Cignoni e40b78b1af Inveted the boolean sign of an assert in Grid() 2005-10-02 23:15:26 +00:00
Paolo Cignoni f44089209e Changed the default strategy for building a AABB tree. Now the max num of elem per leaf is a constant (10) 2005-10-02 23:13:30 +00:00