+ implement 'swap' for point kernel class to efficiently copy data

This commit is contained in:
wmayer 2016-01-15 23:20:06 +01:00
parent 9a27d5845f
commit 372704f44b

View File

@ -83,6 +83,8 @@ public:
{ return this->_Points; }
void setBasicPoints(const std::vector<value_type>& pts)
{ this->_Points = pts; }
void swap(std::vector<value_type>& pts)
{ this->_Points.swap(pts); }
void getFaces(std::vector<Base::Vector3d> &Points,std::vector<Facet> &Topo,
float Accuracy, uint16_t flags=0) const;