Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenMesh
OpenMesh
Commits
74e4e72c
Commit
74e4e72c
authored
Dec 08, 2016
by
Martin Schultz
Browse files
Added function to copy all properties from one baseKernel to another
parent
44c1de1b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/OpenMesh/Core/Mesh/BaseKernel.hh
View file @
74e4e72c
...
...
@@ -583,6 +583,18 @@ public:
}
/**
* @brief copy_all_kernel_properties uses the = operator to copy all properties from a given other BaseKernel.
* @param _other Another BaseKernel, to copy the properties from.
*/
void
copy_all_kernel_properties
(
const
BaseKernel
&
_other
)
{
this
->
vprops_
=
_other
.
vprops_
;
this
->
eprops_
=
_other
.
eprops_
;
this
->
hprops_
=
_other
.
hprops_
;
this
->
fprops_
=
_other
.
fprops_
;
}
protected:
//------------------------------------------------- low-level access
public:
// used by non-native kernel and MeshIO, should be protected
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment