mirror of https://github.com/CGAL/cgal
Add missing functions to complete Rule of 3 for ToS2's triangulations
This commit is contained in:
parent
4d2bf2f15e
commit
d8717289fd
|
|
@ -147,6 +147,16 @@ public:
|
|||
{
|
||||
}
|
||||
|
||||
// Assignement
|
||||
Delaunay_triangulation_on_sphere_2& operator=(Delaunay_triangulation_on_sphere_2 other) // intentional copy
|
||||
{
|
||||
Base::swap(static_cast<Base&>(other));
|
||||
return *this;
|
||||
}
|
||||
|
||||
// Destructor
|
||||
~Delaunay_triangulation_on_sphere_2() = default;
|
||||
|
||||
// Predicates & Constructions
|
||||
Oriented_side side_of_oriented_circle(const Point& p, const Point& q, const Point& r, const Point& s, bool perturb = false) const;
|
||||
Oriented_side side_of_oriented_circle(const Face_handle f, const Point& p, bool perturb = false) const;
|
||||
|
|
|
|||
|
|
@ -127,6 +127,9 @@ public:
|
|||
void swap(Triangulation_on_sphere_2& tr);
|
||||
Triangulation_on_sphere_2& operator=(Triangulation_on_sphere_2 tr); // intentional copy
|
||||
|
||||
// Destructor
|
||||
~Triangulation_on_sphere_2() = default;
|
||||
|
||||
public:
|
||||
// Members
|
||||
const Geom_traits& geom_traits() const { return _gt; }
|
||||
|
|
|
|||
Loading…
Reference in New Issue