Commit Graph

365 Commits

Author SHA1 Message Date
Jan Möbius
49aeab8d3a add_vertex and new_vertex parameters changed to by value 2024-02-22 14:54:20 +01:00
Janis Born
80d39234fa Add Edge circulators 2023-11-14 07:57:17 +00:00
Daniel Savchenko
cdec7c1171 Merge remote-tracking branch 'origin/master' into previous_halfedge 2023-08-24 13:11:01 +02:00
Jan Möbius
94987c9c56 Removed unused variable 2023-08-23 11:15:20 +02:00
Jan Möbius
a94dc3dabe more const refs 2023-08-23 10:06:40 +02:00
Jan Möbius
5096de5e19 Explicit constructor for ExtStatusSetT 2023-08-23 09:28:18 +02:00
Jan Möbius
a1cddd860b More const refs 2023-08-23 09:28:01 +02:00
Jan Möbius
10c0d57469 Mark more variables as const 2023-08-23 09:20:55 +02:00
Jan Möbius
785cdb2f91 Simplified loop 2023-08-23 09:10:03 +02:00
Qiaozhi Lei
21b4bde190 init normal with 3 scalars instead of 1 2023-08-22 10:35:29 +01:00
Daniel Savchenko
676b4d2aae Fixed: PrevHalfedge is optinal again 2023-08-18 16:03:07 +02:00
Jan Möbius
e23d3f90e5 Added warning for garbage collection 2023-06-06 14:22:40 +02:00
Jan Möbius
11c55759f7 Updated and unified license headers 2023-03-01 13:03:33 +01:00
Max Lyon
121ff40b19 in calc_normal for EdgeHandle average incident face normals instead of incident vertex normals 2022-11-23 11:37:36 +01:00
Max Lyon
7a5aa1835b use calc_face_normal if no normal property is available 2022-05-25 13:55:52 +02:00
Jan Möbius
7c5363916d Updated license header 2022-01-18 09:50:04 +01:00
Jan Möbius
71a5f40ea8 Try to fix implicit operator= 2022-01-17 15:32:09 +01:00
Max Lyon
fa5166f878 fix getPointsProperty not always available in PolyMeshT_impl.hh 2021-03-16 18:55:41 +01:00
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
b2bcded8ec add access to cw and ccw ranges in SmartHandles 2021-03-09 10:57:17 +01:00
Max Lyon
0fc413d74e add cw and ccw version for ranges 2021-03-09 09:04:25 +01:00
Max Lyon
b3821e6289 allow custom start for vih_range and voh_range 2021-03-09 09:03:55 +01:00
Jan Möbius
b291682540 Warn in documentation about using reference to mesh itself when adding verticies 2021-02-12 10:44:22 +01:00
Jan Möbius
ce49891c49 Throw assertion in debug when adding topologically degenerate faces
closes #66
2021-01-25 16:06:36 +01:00
Max Lyon
4e234a91cd fix/simplify FilteredSmartRange 2020-10-29 10:34:12 +01:00
Max Lyon
123fe55b72 move SmartRangePredicates.hh from Mesh to Predicates.hh in Utils 2020-10-15 16:54:14 +02:00
Max Lyon
e5729bcbeb add smart handle predicates 2020-10-15 14:03:39 +02:00
Max Lyon
d0aef334c0 improve name of helper class containing status access functions and implement is_boundary in the same way 2020-10-15 13:49:07 +02:00
Max Lyon
7d281c1437 add methods to SmartHandles that give access to the status 2020-10-13 21:49:41 +02:00
Max Lyon
ac67648317 add weighted average to smart ranges 2020-08-24 14:54:45 +02:00
Jan Möbius
f0ee8876d9 Merge branch 'halfedge_loop_range' into 'master'
Halfedge loop range

See merge request OpenMesh/OpenMesh!277
2020-08-12 11:58:16 +02:00
Max Lyon
c800446073 add missing range version of halfedge loop iterator 2020-08-11 16:35:13 +02:00
Max Lyon
1bd54d47ff add assignment operator to FilteredIterator to allow combination of filtered and argmin 2020-08-10 10:36:08 +02:00
Martin Marinov
880095835d Fix build errors in ArrayKernel::StatusSet and derivatives 2020-05-13 14:20:20 +01:00
Jan
bddc123e81 Nicer fix of warning 2020-05-13 07:11:03 +02:00
Jan
6e3f0dab76 Fixed warning with character 2020-05-12 21:19:07 +02: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
Martin Marinov
9ddd4662ea Fix a MSVC warning in TriConnectivity 2020-05-07 03:08:25 +01:00
Max Lyon
ac52f0d169 fix filtered range for empty ranges 2020-05-06 10:46:30 +02:00
Max Lyon
4e40352a5f add filtered range that stores reference instead of copy if the filter is not an rvalue reference 2020-05-06 10:45:41 +02:00
Max Lyon
d04ec78955 add filtered to SmartRanges 2020-03-27 14:26:23 +01:00
Max Lyon
290f8f5414 add for_each to smart ranges 2020-03-24 15:40:26 +01:00
Jan
470b46d96c Merge branch 'master' of https://www.graphics.rwth-aachen.de:9000/OpenMesh/OpenMesh 2020-03-18 09:21:39 +01:00
Jan
67de96da11 Fixed DOcumentation Ascii Art 2020-03-18 09:21:21 +01:00
Patrick Schmidt
f1543cdbf0 Fix inline implementation of opposite_face_handle() (linker error) 2020-03-17 17:11:27 +01:00
Max Lyon
cce116d823 add documentation to count_if method 2020-03-17 14:03:48 +01:00
Max Lyon
6c392fd18f add count_if to smart ranges 2020-03-17 14:03:48 +01:00
Max Lyon
c23d410cb0 add arg min and arg max methods to smart ranges 2020-03-17 14:03:48 +01:00
Max Lyon
e2b9871164 add documentation to count_if method 2020-03-12 09:38:20 +01:00
Max Lyon
227b1cd5c7 add count_if to smart ranges 2020-03-09 18:43:21 +01:00