fix Arrangement_2

This commit is contained in:
Andreas Fabri 2019-01-28 09:14:59 +01:00
parent c636ea1ce2
commit cc23699ea0
7 changed files with 23 additions and 5 deletions

View File

@ -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

View File

@ -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
*/

View File

@ -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)
{

View File

@ -382,10 +382,11 @@ public:
/*!\brief
* copy constructor
*/
#ifdef DOXYGEN_RUNNING
Arc_2(const Self& a) :
Base(static_cast<const Base&>(a)) {
}
#endif
//!@}
public:

View File

@ -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
*/

View File

@ -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
*/

View File

@ -256,10 +256,11 @@ public:
/*!\brief
* copy constructor
*/
#ifdef DOXYGEN_RUNNING
Point_2(const Self& p) :
Base(static_cast<const Base&>(p)) {
}
#endif
//!@}
public: