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
Max Lyon
b88a6c9de9
add arg min and arg max methods to smart ranges
2020-03-09 18:43:09 +01:00
Max Lyon
8f214b0189
let opposite_face_handle and find_halfedge return smart handles
2020-01-29 17:00:53 +01:00
Max Lyon
58b0fd5f48
explicitly export Handles because SmartHandles need to be exported and have Handles as base
2019-12-13 16:05:26 +01:00
Max Lyon
33f4941d66
normalize normal at end of calc_vertex_normal_correct
2019-12-06 11:16:54 +01:00
Max Lyon
6284fb4fc9
add calc_normal method for all elements returning calc_face_normal, average of vertex normals, calc_halfedge_normal, and calc_vertex_normal_correct respectively
2019-12-06 11:16:34 +01:00
Max Lyon
a1a82331e3
add calc_centroid methods for all elements returning calc_face_centroid, calc_edge_midpoint and point respectively
2019-12-06 11:14:27 +01:00
Max Lyon
0572ae5662
rename variables to not hide function
2019-11-29 09:52:53 +01:00
Max Lyon
5149aba8cd
Merge branch 'master' into smart_range_improvement
2019-11-28 13:42:39 +01:00
Max Lyon
9c806888c0
more const related fixes in SmartRange
2019-11-28 13:42:17 +01:00
Max Lyon
8fa5f36d13
make SmartRange sum and avg compatible with Eigen vectors
2019-11-28 11:50:03 +01:00
Max Lyon
04e798920d
use decay instead of remove_reference to also remove constness in SmartRanges
2019-11-28 11:49:37 +01:00
Max Lyon
e36e508f0b
call const version of end to make cppcheck happy
2019-11-27 13:28:00 +01:00
Max Lyon
f1e0588ba2
remove unused variable
2019-11-27 13:27:28 +01:00
Max Lyon
65cafaf17c
add method that returns first element of a smart range that fulfills a condition
2019-11-22 11:02:50 +01:00
Max Lyon
2b8a59e2e1
add method that converts smart range to set
2019-11-22 11:02:31 +01:00
Max Lyon
b0276d485a
add documentation for any_of and all_of
2019-11-06 13:02:01 +01:00
Max Lyon
4c15ff6e60
add any of and all of to smart ranges
2019-11-06 12:59:57 +01:00
Max Lyon
3a2791c436
update documentation
2019-11-06 11:41:41 +01:00
Max Lyon
ab353c8dd0
Define a MeshHandle to simplify some template programming
2019-11-05 15:29:11 +01:00
Max Lyon
3d1ae7d787
return const property handle to points property in AttribKernel
2019-11-05 15:28:55 +01:00
Max Lyon
c6daa6bcb2
move inline implementation of polyconnectivity into its own file
2019-11-05 13:29:08 +01:00
Max Lyon
a1b3260477
Merge branch 'PropertyManagerRefactoring' into SmartRanges
...
# Conflicts:
# src/OpenMesh/Core/Mesh/PolyConnectivity.hh
2019-11-05 13:25:14 +01:00
Max Lyon
c861a0e84d
add method to get points property handle in AttribKernel
2019-10-31 14:32:24 +01:00
Max Lyon
3d648b23b3
add elements and all_elements methods that return the range corresponding to the template argument
2019-10-31 14:01:50 +01:00
Max Lyon
34b2e958e1
add convenience function n_elements returning n_vertices, n_halfedges, n_edges, or n_faces depending on the template argument
2019-10-31 13:59:54 +01:00
Max Lyon
ef65cf870d
fix copy paste error
2019-10-22 10:37:35 +02:00
Max Lyon
a15f247a6f
add default mesh types using default doublet traits
2019-10-22 10:08:40 +02:00
Max Lyon
651e8cf966
add default trait that uses double precision
2019-10-22 10:08:22 +02:00
Max Lyon
660e46db24
fix iterator type
2019-10-18 14:29:52 +02:00