mirror of https://github.com/CGAL/cgal
Parabola_segment_2: turn it into a struct
This commit is contained in:
parent
6df7424612
commit
f3e547f738
|
|
@ -27,7 +27,7 @@ namespace Qt {
|
|||
}
|
||||
|
||||
template < class Gt >
|
||||
class Parabola_segment_2 : public Parabola_2< Gt >
|
||||
struct Parabola_segment_2 : public Parabola_2< Gt >
|
||||
{
|
||||
typedef CGAL::Parabola_2<Gt> Base;
|
||||
typedef typename Base::Site_2 Site_2;
|
||||
|
|
@ -39,10 +39,10 @@ class Parabola_segment_2 : public Parabola_2< Gt >
|
|||
using Base::t;
|
||||
using Base::f;
|
||||
|
||||
protected:
|
||||
|
||||
Point_2 p1, p2;
|
||||
|
||||
public:
|
||||
|
||||
Parabola_segment_2() : Parabola_2< Gt >() {}
|
||||
|
||||
template<class ApolloniusSite>
|
||||
|
|
|
|||
Loading…
Reference in New Issue