OpenMesh offers the possibility to store properties on mesh elements (faces, vertices, half edges, edges) as described here. Is there a function available which copies all of these properties from one element to another?
Asked
Active
Viewed 315 times
1 Answers
1
Take a look at copy_all_properties.
Signature (comes in few flavors- VertexHandle, HalfedgeHandle, EdgeHandle and FaceHandle):
void OpenMesh::BaseKernel::copy_all_properties(EdgeHandle _eh_from, EdgeHandle _eh_to, bool _copyBuildIn = false )
Usage example from git repo: unittests_property.cc

Mark Loyman
- 1,983
- 1
- 14
- 23
-
is it possible to use `copy_all_properties` to copy properties of elements that belong to different meshes, given that the same property exists on the elements of the other mesh? – Botond Oct 23 '20 at 22:06
-
No. Link to your new question: https://stackoverflow.com/questions/64538092/openmesh-copy-all-properties-between-elements-belonging-to-different-meshes (as reference for future readers) – Mark Loyman Oct 26 '20 at 21:22
-
Thanks, Mark. I added a minimal example to my new question to show it does not work. – Botond Oct 26 '20 at 21:27