Commit 36d750a2 authored by Mike Kremer's avatar Mike Kremer

Adapted names of functions to match established pattern.

git-svn-id: http://www.openvolumemesh.org/svnrepo/OpenVolumeMesh/trunk@209 66977474-1d4b-4f09-8fe9-267525286df2
parent 91c92143
...@@ -161,12 +161,12 @@ public: ...@@ -161,12 +161,12 @@ public:
return p; return p;
} }
void cloneVertices(std::vector<VecT>& _copy) const { void clone_vertices(std::vector<VecT>& _copy) const {
_copy.reserve(vertices_.size()); _copy.reserve(vertices_.size());
std::copy(vertices_.begin(), vertices_.end(), std::back_inserter(_copy)); std::copy(vertices_.begin(), vertices_.end(), std::back_inserter(_copy));
} }
void swapVertices(std::vector<VecT>& _copy) { void swap_vertices(std::vector<VecT>& _copy) {
if(_copy.size() != vertices_.size()) { if(_copy.size() != vertices_.size()) {
std::cerr << "Vertex vectors differ in size!" << std::endl; std::cerr << "Vertex vectors differ in size!" << std::endl;
return; return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment