mirror of https://github.com/CGAL/cgal
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:
commit
9ece40051e
|
|
@ -231,6 +231,18 @@ public:
|
||||||
return *this;
|
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
|
/// \cond SKIP_IN_MANUAL
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue