Commit Graph

340 Commits

Author SHA1 Message Date
T.Alderighi 1b61aba402 bootstrapping tetra 2018-05-01 17:02:47 +02:00
Gianpaolo Palma 9d78284193 Added HasVertexRef function 2017-12-07 13:53:24 +01:00
Gianpaolo Palma 83329d1737 Fixed wrong type 2017-12-07 13:52:49 +01:00
Paolo Cignoni 05df003e6f Added TriSplit helper function 2017-08-30 15:58:22 +02:00
Paolo Cignoni 16369d6006 Added useful face::WedgeAngleRad 2017-04-02 01:26:12 +02:00
Paolo Cignoni c630e4064d Added angle measuring function for a pos 2017-03-15 13:13:51 +01:00
Paolo Cignoni c4d97c2c03 Huge reordering of header file inclusion order 2017-03-14 07:48:48 +01:00
Paolo Cignoni c0a99c8b3a Improved Documentation for FlipEdge 2016-12-20 09:12:50 +01:00
Paolo Cignoni 428967ddac Added the check for un-initialized ff adjacency in an assert 2016-12-08 00:00:45 +01:00
Paolo Cignoni 32333eba24 Huge copyright sanitization of the header files of vcg folder. 2016-06-13 05:29:25 +00:00
Nico Pietroni 97a0879676 added operator < 2016-05-01 15:33:34 +00:00
Paolo Cignoni a989737e26 Changed DihedralAngleRad to do not use precomputed per face normal (it already did for part of the computations) 2016-04-02 05:47:20 +00:00
Paolo Cignoni 79c9b988e7 better comments (After some curses...) 2015-12-31 11:47:37 +00:00
Paolo Cignoni a52a1484e6 Corrected bug in the VVExtendedStarVF . 2015-12-03 22:51:56 +00:00
Paolo Cignoni c600772f81 Removed useless 'typename's ignored by visual studio but blamed by clang 2015-10-29 07:52:56 +00:00
Gianpaolo Palma 684fe8d464 Fixed wrong typedefs in the per vertex CurvatureDir component (ScalarType).
Added missing typedef in EmptyCore.
Added typedef WedgeColorType and WedgeNormalType.
2015-10-26 12:52:44 +00:00
Paolo Cignoni 874346d211 Removed unused typenames (with latest generation of compilers it become a warning as unused variables) 2015-09-24 16:41:34 +00:00
Nico Pietroni 2b8a829099 added NextCrease function to follows creases 2015-05-24 14:51:22 +00:00
Nico Pietroni 7aef00fb33 minor change in VFOrderedStarFF , the Pos is passed as const parameter 2015-05-24 14:50:47 +00:00
giorgiomarcias 882d54d6ae Fixed some memory leaks when using polygonal component for faces. Deallocations more stable and clear for each component, using also local dynamic memory deallocs. Changed Clear() method of TriMesh which guarantees perfect deallocations of faces' components. Fixed also CompactFaceVector which now deallocates faces before resizing the vector. In DeleteFace, not only the flag is set, but also the face's components are deallocated. 2014-12-15 15:36:37 +00:00
giorgiomarcias 7e212f1d60 Function VInd() declared const so that it can be used also with a constant face::Pos. 2014-11-15 17:50:19 +00:00
Paolo Cignoni 62af567808 Updated to reflect the Normal() -> TriangleNormal() change 2014-11-12 00:19:46 +00:00
Paolo Cignoni b1b3068ba9 Removed the ComputeNormal functions from the face. Almost never used and superfluous 2014-11-12 00:05:45 +00:00
Nico Pietroni c3beef6091 added NextNotFaux function 2014-09-11 20:43:41 +00:00
granzuglia d80980155f - per face principal directions get functions return now T::CoordType (changes have been validated by Fabio Ganovelli) 2014-08-21 16:23:49 +00:00
granzuglia 654a41aaf8 simplex/face/component_ocf.h:
- removed Visual Studio warnings
2014-08-09 10:07:30 +00:00
Paolo Cignoni 76b91b9957 added import in the importdata members to support of different types of curvature (float/double) 2014-07-12 21:09:27 +00:00
Paolo Cignoni 4cb1fbaaf8 Raised the upper limit of the template derivation chain for face 2014-07-12 10:52:59 +00:00
Paolo Cignoni ac49d75519 Corrected a typename override again on CurVecType vs VecType 2014-07-12 05:51:54 +00:00
Nico Pietroni 938eefd398 2014-06-23 09:47:29 +00:00
Paolo Cignoni 4198a3bd7c Cleaned up various type name clashes. There were some components that wrongly re-defined <ScalarType> covering the real <ScalarType> of the simplex. Renamed to something less ambiguous (like CurScalarType for denoting the scalar type used inside curvature types). 2014-06-19 08:31:51 +00:00
giorgiomarcias c1f34b6517 Initialize data members in default constructors (e.g. Pos<FaceType> pos; pos.IsNull() now can't be false). 2014-06-15 21:29:45 +00:00
Paolo Cignoni 8825048e46 BUG corrected: missing initialization of optional per face color data. 2014-04-28 12:01:56 +00:00
Nico Pietroni 335354fdca corrected one wrong assert on FFlinkConditions 2014-03-07 10:36:12 +00:00
Paolo Cignoni e8d745dd10 PolygonalMesh Debugging: forgot a debugging prntf 2014-02-18 20:15:16 +00:00
Paolo Cignoni df29c81227 Removed hideous, nasty, damned bug in polygon component. The ImportData was silently cleaning the vertex references in polygonal faces 2014-02-18 14:08:28 +00:00
Paolo Cignoni 1a4c5ef80d PolygonalMesh Debugging: renamed the SetVN function to __SetVN (it is internal and should not never be called by the users) 2014-02-18 10:58:12 +00:00
Paolo Cignoni eb233462ba PolygonalMesh Debugging: removed the SetVN from the base class (it is internal) 2014-02-18 10:55:12 +00:00
Paolo Cignoni 6efdd91ecc Many small changes to remove useless annoying warnings. 2014-02-13 15:52:17 +00:00
Paolo Cignoni 15bec03c89 Corrected the FHp member of the polygon. 2014-02-13 13:16:09 +00:00
Paolo Cignoni d00d1b90e0 removed useless mesh parameter in FFLinkCondition 2014-02-12 10:58:38 +00:00
Nico Pietroni c5d79ea704 commented out a wrong assert in FFlip function 2014-02-07 11:07:36 +00:00
Nico Pietroni 677295f1a3 added include <set> 2014-02-07 11:06:12 +00:00
Paolo Cignoni 91946b7847 Added basic link condition for FF adjacency and VVOrderedStarFF 2013-12-20 11:42:27 +00:00
Paolo Cignoni 3d150e9aea changed an assert condition in FlipF that could lead to a failure in the case of quad mesh navigation over polygonal faces. 2013-11-25 10:15:54 +00:00
Paolo Cignoni a29df708da Removed warning. Changed a surely verified if condition into an assert.
(chosing the min between 3 elems we had a if-else chain where the last if was useless unless you have NAN )
2013-11-25 10:14:27 +00:00
Paolo Cignoni 1c1e3f778a Include header cleaning and reordering. 2013-11-25 10:12:01 +00:00
Paolo Cignoni 6ec2689383 Corrected weird error in pos assignement operator. 2013-11-11 13:32:33 +00:00
granzuglia d59e519e8f - added missing "#include" 2013-10-16 08:36:05 +00:00
Paolo Cignoni 93eb66356b removed a survived debug printf... 2013-10-09 09:18:56 +00:00