Commit Graph

48 Commits

Author SHA1 Message Date
Max Lyon
9b85f7713e make it so that CCW iter ranges are the reverse of CW iter ranges, i.e. they do not start with the same element anymore 2021-03-09 15:32:44 +01:00
Max Lyon
b3821e6289 allow custom start for vih_range and voh_range 2021-03-09 09:03:55 +01:00
Martin Marinov
c06d46408f Fix SmartHandle implementation issues:
* Fix SmartHandle cyclical include dependencies.
* Remove the SmartHandles include from Iterators and Circulators.
* Move SmartHandle member implementations to the headers and remove SmartHandles.cc.
2020-05-12 15:39:11 +01:00
Max Lyon
f1e0588ba2 remove unused variable 2019-11-27 13:27:28 +01:00
Max Lyon
011a53e7ba let handle function of circulator return smart handle 2019-09-27 12:55:57 +02:00
Max Lyon
8446eaee6f fix more issues for debug builds 2019-09-27 10:38:56 +02:00
Max Lyon
16ca9b363e fix circulator return value in debug mode 2019-09-27 09:38:09 +02:00
Max Lyon
b62d846f32 let circulators return smart handles 2019-09-27 09:29:27 +02:00
Jan Möbius
2c52593cd7 Removed the old svn revision date headers 2019-01-15 11:21:12 +01:00
Jan Möbius
18e39fee46 Rename the DEPRECATED macro into OM_DEPRECATED to prevent a macro clash with Intel MKL (Thanks to Morgan Leborgne for the patch) 2018-09-25 10:15:47 +02:00
Janis Born
5ee25a5af0 fix CirculatorT type-pun warning on GCC6
(fixes #28)
2016-08-11 10:22:44 +02:00
Martin Schultz
3df14fae1a fixes #3 by checking Half Edge Handle validity on circulator creation 2015-10-01 15:55:07 +02:00
Jan Möbius
fd4bcb39ea Typo
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1258 fdac6126-5c0c-442c-9429-916003d36597
2015-04-28 13:07:46 +00:00
Jan Möbius
07ad20793d Fixed bad typo in comment
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1257 fdac6126-5c0c-442c-9429-916003d36597
2015-04-28 11:54:17 +00:00
Jan Möbius
83486e0b5f Relicense to BSD
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1252 fdac6126-5c0c-442c-9429-916003d36597
2015-04-28 11:33:32 +00:00
Matthias Möller
4020a879e6 moved face* circulators to old behavior
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1234 fdac6126-5c0c-442c-9429-916003d36597
2015-03-04 15:47:04 +00:00
Matthias Möller
4cd1955f4b remove deprecated functions from new circulators
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1233 fdac6126-5c0c-442c-9429-916003d36597
2015-03-04 14:59:44 +00:00
Matthias Möller
ec3667c198 - improve warning text
- add checkbox to disable warning

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1232 fdac6126-5c0c-442c-9429-916003d36597
2015-03-04 14:51:24 +00:00
Matthias Möller
53b9020496 bringing back the old circulators. marked decrement operator as deprecated. Please use CW/CCW iterators
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1230 fdac6126-5c0c-442c-9429-916003d36597
2015-03-04 12:59:54 +00:00
Matthias Möller
eb877fe9da adding cw and ccw circulators
closes #2406

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1227 fdac6126-5c0c-442c-9429-916003d36597
2015-02-23 16:02:40 +00:00
Matthias Möller
0f9b4c2358 - changed lap_counter to int type
- extent circulator unittests for endings testing now the cases: (--endIter).is_valid and (++(--startIter)).is_valid

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1226 fdac6126-5c0c-442c-9429-916003d36597
2015-02-19 15:47:21 +00:00
Jan Möbius
1af153e52d refs #1382
- Fixed the problem that the end iterator could become valid again if it was incremented.
- Decrementing the start iterator will return an invalid iterator now (Maybe we can implement reverse iterators)
- Removed one check from the iteration, which should result in faster execution of is_valid().



git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1225 fdac6126-5c0c-442c-9429-916003d36597
2015-02-19 09:58:00 +00:00
Jan Möbius
b3778b230f Updated copyright headers
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1188 fdac6126-5c0c-442c-9429-916003d36597
2015-01-05 15:34:10 +00:00
Jan Möbius
68a3ff3136 The annual License Header Bump (Sorry for the rebuilds ;-) )
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@990 fdac6126-5c0c-442c-9429-916003d36597
2014-02-05 09:01:07 +00:00
Jan Möbius
29011e25d2 Updated license headers
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@922 fdac6126-5c0c-442c-9429-916003d36597
2013-08-11 10:26:11 +00:00
Isaak Lim
2eeb756b6a - marked current_halfedge_handle as deprecated
- updated code to fix related warnings
- added some unittests to ensure unchanged behaviour when replacing current_halfedge_handle

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@917 fdac6126-5c0c-442c-9429-916003d36597
2013-08-08 12:47:48 +00:00
Hans-Christian Ebke
cb16ac26d6 Removed unnecessary parameters from circulator members.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@916 fdac6126-5c0c-442c-9429-916003d36597
2013-08-08 10:15:53 +00:00
Isaak Lim
7bababee5c updated the documentation for the improved iterators and circulators
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@915 fdac6126-5c0c-442c-9429-916003d36597
2013-08-08 09:22:50 +00:00
Jan Möbius
daea181b2f Next set
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@908 fdac6126-5c0c-442c-9429-916003d36597
2013-08-07 11:32:50 +00:00
Hans-Christian Ebke
d48d9466af Fixing operator-> in circulators.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@895 fdac6126-5c0c-442c-9429-916003d36597
2013-08-07 09:24:06 +00:00
Hans-Christian Ebke
26f9e84e59 Added stream operator for FVIter.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@894 fdac6126-5c0c-442c-9429-916003d36597
2013-08-07 09:24:04 +00:00
Matthias Möller
f9211ab883 - add missing includes
- fix msvc warning/preprocessor operator

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@892 fdac6126-5c0c-442c-9429-916003d36597
2013-08-07 08:50:58 +00:00
Hans-Christian Ebke
7a2d40d8a6 Rewrite for all circulators complete.
Conflicts:
	src/OpenMesh/Core/Mesh/CirculatorsT.hh

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@891 fdac6126-5c0c-442c-9429-916003d36597
2013-08-07 08:03:44 +00:00
Hans-Christian Ebke
b548bf221f Rewrote vertex-centered circulators.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@890 fdac6126-5c0c-442c-9429-916003d36597
2013-08-07 08:03:42 +00:00
Matthias Möller
20b17c450a using c++ headers in c++ files
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@837 fdac6126-5c0c-442c-9429-916003d36597
2013-06-12 13:14:36 +00:00
Matthias Möller
c657f9a125 - fix some cpp check warnings and errors
- fix "property_copy" which has no selfassign now

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@836 fdac6126-5c0c-442c-9429-916003d36597
2013-06-11 14:02:09 +00:00
Hans-Christian Ebke
9a69c39b60 Undo: Some singular changes. (Sorry about that.)
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@808 fdac6126-5c0c-442c-9429-916003d36597
2013-02-20 12:25:03 +00:00
Hans-Christian Ebke
152719a838 Some singular changes.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@806 fdac6126-5c0c-442c-9429-916003d36597
2013-02-20 12:19:25 +00:00
Jan Möbius
f3312397a5 Updated License Headers
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@736 fdac6126-5c0c-442c-9429-916003d36597
2012-10-08 07:30:49 +00:00
Jan Möbius
ae4cbf0d46 Document skipping iterators
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@424 fdac6126-5c0c-442c-9429-916003d36597
2011-10-10 12:24:43 +00:00
Jan Möbius
8cc50f96f6 Bugfix for #248 end circulator broken for VertexFaceIter
The vf_end function did not provide the correct end for the iteration.

Added unittest for two cases with VertexFaceIter (hour glass case and full case) 

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@415 fdac6126-5c0c-442c-9429-916003d36597
2011-10-07 15:01:51 +00:00
Jan Möbius
4fdd4c2adc Updated license headers
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@362 fdac6126-5c0c-442c-9429-916003d36597
2011-01-26 09:21:12 +00:00
Jan Möbius
b63dcd31bd Patch to work with gcc 4.6. ptrdiff_t not correctly included from std, Thanks to Ville Heiskanen for the patch)
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@360 fdac6126-5c0c-442c-9429-916003d36597
2011-01-05 09:52:58 +00:00
Jan Möbius
34141f8d9a Changed license Header to 2010
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@325 fdac6126-5c0c-442c-9429-916003d36597
2010-06-17 10:45:58 +00:00
Jan Möbius
9fb9ee0334 Provide begin/end functions for circulators for direct access
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@254 fdac6126-5c0c-442c-9429-916003d36597
2009-12-10 10:04:59 +00:00
Mike Kremer
a0432c660f Made circulators STL compliant by specifying all iterator_traits attributes.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@252 fdac6126-5c0c-442c-9429-916003d36597
2009-12-07 15:11:28 +00:00
Jan Möbius
5246b77da6 Updated License to LGPL3 with additional template and macro exceptions
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@137 fdac6126-5c0c-442c-9429-916003d36597
2009-06-04 08:46:29 +00:00
Jan Möbius
ea844d6788 Changed OpenMesh directory structure
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@106 fdac6126-5c0c-442c-9429-916003d36597
2009-04-30 12:41:50 +00:00