Commit Graph

281 Commits

Author SHA1 Message Date
Paolo Cignoni e58bf0d711 Removed flags clearing (now it should be in the constructor of face and vertex) 2005-11-10 15:37:58 +00:00
Paolo Cignoni 4f73a93dd0 Added clarifying comment in an assert 2005-11-10 15:36:42 +00:00
Paolo Cignoni 8f621b53ef correct IsBorder 2005-10-25 09:17:41 +00:00
Paolo Cignoni dee2e4f284 Re-inserted the cFFp and cVFp access. If only the const version of the member function exists, the compiler will call it
when a non-const object invokes that function
2005-10-13 09:32:11 +00:00
Paolo Cignoni 029aa3cdec removed the access to the face member function normal and substituted with vcg::normal(*f); 2005-10-13 08:38:00 +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
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 d8e79083e0 Added new functions belonging to triMeshInfo
Started the Self-Intersection routine
2005-10-11 16:03:40 +00:00
Nico Pietroni b61d0de3b6 corrected bugs on GEtKClosestVert and GetInSphereVert 2005-10-05 17:02:52 +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
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 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
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
Nico Pietroni e58a99de93 used functor defined in face/distance.h for distance point-face
used functor defined in intersection3.h for ray-triangle intersection
added GetKClosest and DoRay Functions
2005-09-30 13:10:37 +00:00
Paolo Cignoni 0fa8212a49 changed name of include, removed use of an undefined type (scalar instead of Scalar)
removed unused code portions (the old closest code)
2005-09-28 08:30:48 +00:00
Nico Pietroni a9c5d8fd42 Added RayIterators.
Added ClosestIterators on Triangles and Vertices.
Added Closest Functions on triangles and Vertices.
2005-09-21 09:24:30 +00:00
Nico Pietroni e469fef8bd Modified MArk function parameter form ConstVertexPointer to VertexPointer 2005-09-20 13:58:55 +00:00
Nico Pietroni f569a25540 added ray iterator of faces 2005-09-19 13:36:24 +00:00
Paolo Cignoni b4e997ae7a fixed bugs 2005-09-19 13:10:12 +00:00
Paolo Cignoni c2e01165d6 Small gcc compliling issues 2005-09-16 11:53:51 +00:00
Paolo Cignoni e6739a6a71 fixed bugs 2005-09-15 13:16:42 +00:00
Nico Pietroni 417bf69fc3 minor changes 2005-09-15 11:15:00 +00:00
Paolo Cignoni 744b1a2bbb used new version of Grid_ptr 2005-09-14 14:34:41 +00:00
Paolo Cignoni aef362e62d ConstVertexPointer --> VertexPointer
ConstEdgePointer --> EdgePointer
2005-09-14 14:09:16 +00:00
Nico Pietroni 3e89d13fea used closest function from grid 2005-09-14 12:56:47 +00:00
Paolo Cignoni f82f32c6a7 changed typedef A2UGridLink da 'GridStaticPtr<MESH::FaceContainer,double>::Link' a typedef 'GRID::Link' 2005-08-26 09:12:48 +00:00
ganovelli 831d12d4f6 added math:: namespace before min and max 2005-08-08 10:28:13 +00:00
Nico Pietroni 47af92e51f renamed typedef VertexContainer into VertContainer (like trimesh) 2005-08-02 11:37:29 +00:00
Paolo Cignoni 287c4a1eaa Removed updating of normal when computing 'C' vertex: it should not be done here and could be dangerours if vertex type has not the normal. 2005-07-26 06:10:28 +00:00
Paolo Cignoni 44eb40324f small gcc-related compiling issues (typenames,ending cr, initialization order) 2005-07-11 13:16:34 +00:00
ganovelli 000b01a4ed set VertexBorderFromFace as static 2005-07-06 08:16:34 +00:00
Paolo Cignoni 57c08ade0f Initial commit 2005-07-06 08:02:27 +00:00
Paolo Cignoni 24a1c6f2eb Corrected for the fourth time line a cast to Facetype at line 341.
Read the notes there before changing it again
2005-07-01 11:22:00 +00:00
Paolo Cignoni 6bd92a9a1e Added option of passing a base mesh to Sphere for spherifying it 2005-07-01 11:17:06 +00:00
Marco Callieri 0d219f91b7 deleted a wrong declaration "typename typename" 2005-06-29 15:25:41 +00:00
ganovelli 21929c1bf4 DetachTTTopology 2005-06-28 12:00:13 +00:00
Paolo Cignoni 53da9a97e1 Added missing Sphere function 2005-06-17 00:49:29 +00:00
Paolo Cignoni 0434c2512d Corrected the type name of wedge tex coords WedgeInterp in RefineE 2005-06-17 00:48:27 +00:00
Paolo Cignoni 3fce89c4c9 Added a PerVertexNormalizedPerFace (vertex are face/area weighted AND normalized) 2005-06-17 00:46:09 +00:00
Paolo Cignoni d09e9e039d Completed FaceBorderFromNone (and added a missing helper class) 2005-06-10 15:07:23 +00:00
ganovelli e865911042 two warnings on type cast 2005-06-09 14:14:29 +00:00
Paolo Cignoni 536ba5ab48 vertexIterator sostituito con VertexIterator 2005-05-30 09:43:41 +00:00
Paolo Cignoni ffc3b5e909 std::std::vector<PVertex> sostituito con std::vector<PVertex> 2005-05-30 09:42:05 +00:00
ganovelli 9f3b8ed8c9 error in include 2005-05-30 09:13:08 +00:00