mirror of https://github.com/CGAL/cgal
fix Arrangement_2
This commit is contained in:
parent
c636ea1ce2
commit
cc23699ea0
|
|
@ -252,9 +252,11 @@ public:
|
|||
/*!\brief
|
||||
* copy constructor
|
||||
*/
|
||||
#ifdef DOXYGEN_RUNNING
|
||||
Status_line_CA_1(const Self& p) :
|
||||
Base(static_cast<const Base&>(p)) {
|
||||
}
|
||||
#endif
|
||||
|
||||
/*!\brief
|
||||
* constructs a status line over the \c i-th interval with x-coordinate
|
||||
|
|
|
|||
|
|
@ -174,10 +174,12 @@ public:
|
|||
/*!\brief
|
||||
* copy constructor
|
||||
*/
|
||||
#ifdef DOXYGEN_RUNNING
|
||||
Status_line_CPA_1(const Self& p) :
|
||||
Base(static_cast<const Base&>(p)) {
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
/*!\brief
|
||||
* constructs undefined status line
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -89,6 +89,15 @@ public:
|
|||
_rational_function(rational_function),
|
||||
_x_coordinate(x_coordinate) {}
|
||||
|
||||
Algebraic_point_2_rep(const Algebraic_point_2_rep& other)
|
||||
{
|
||||
if (this != &other) // protect against invalid self-assignment
|
||||
{
|
||||
_rational_function = other._rational_function;
|
||||
_x_coordinate = other._x_coordinate;
|
||||
}
|
||||
}
|
||||
|
||||
//assignment oparator
|
||||
Algebraic_point_2_rep& operator=(const Algebraic_point_2_rep& other)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -382,10 +382,11 @@ public:
|
|||
/*!\brief
|
||||
* copy constructor
|
||||
*/
|
||||
#ifdef DOXYGEN_RUNNING
|
||||
Arc_2(const Self& a) :
|
||||
Base(static_cast<const Base&>(a)) {
|
||||
}
|
||||
|
||||
#endif
|
||||
//!@}
|
||||
|
||||
public:
|
||||
|
|
|
|||
|
|
@ -150,10 +150,12 @@ public:
|
|||
/*!\brief
|
||||
* copy constructor
|
||||
*/
|
||||
#ifdef DOXYGEN_RUNNING
|
||||
Generic_arc_2(const Self& p) :
|
||||
Base(static_cast<const Base&>(p)) {
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
/*!\brief
|
||||
* constructs an arc from a given represenation
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -131,10 +131,11 @@ public:
|
|||
/*!\brief
|
||||
* copy constructor
|
||||
*/
|
||||
#ifdef DOXYGEN_RUNNING
|
||||
Generic_point_2(const Self& p) :
|
||||
Base(static_cast<const Base&>(p)) {
|
||||
}
|
||||
|
||||
#endif
|
||||
/*!\brief
|
||||
* constructs an arc from a given represenation
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -256,10 +256,11 @@ public:
|
|||
/*!\brief
|
||||
* copy constructor
|
||||
*/
|
||||
#ifdef DOXYGEN_RUNNING
|
||||
Point_2(const Self& p) :
|
||||
Base(static_cast<const Base&>(p)) {
|
||||
}
|
||||
|
||||
#endif
|
||||
//!@}
|
||||
|
||||
public:
|
||||
|
|
|
|||
Loading…
Reference in New Issue