Added functions to copy all properties between entities. (Thanks to Duncan Paterson for the patch)

refs #990

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@675 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
Jan Möbius
2012-09-17 08:02:13 +00:00
parent 77c02b8107
commit a036b00d5f
3 changed files with 49 additions and 2 deletions

View File

@@ -106,6 +106,9 @@ public: // synchronized array interface
/// Let two elements swap their storage place.
virtual void swap(size_t _i0, size_t _i1) = 0;
/// Copy one element to another
virtual void copy(size_t _io, size_t _i1) = 0;
/// Return a deep copy of self.
virtual BaseProperty* clone () const = 0;