Merge pull request #4437 from sgiraudot/Point_set_3-Fix_missing_copy_constructor-GF

Point_set_3: add missing copy constructor
This commit is contained in:
Laurent Rineau 2020-01-15 17:19:25 +01:00
commit 9ece40051e
1 changed files with 12 additions and 0 deletions

View File

@ -231,6 +231,18 @@ public:
return *this;
}
/// \cond SKIP_IN_MANUAL
// copy constructor (same as assignment)
Point_set_3 (const Point_set_3& ps)
{
m_base = ps.m_base;
m_indices = this->property_map<Index> ("index").first;
m_points = this->property_map<Point> ("point").first;
m_normals = this->property_map<Vector> ("normal").first;
m_nb_removed = ps.m_nb_removed;
}
/// \endcond
/// @}
/// \cond SKIP_IN_MANUAL