Cleaned up

This commit is contained in:
Efi Fogel 2022-05-25 10:48:55 +03:00
parent 8890a779eb
commit ac0ea63bbe
1 changed files with 6 additions and 7 deletions

View File

@ -1033,6 +1033,12 @@ public:
bool is_upper() const { return test_flag(FACING_UP); }
bool is_lower() const { return test_flag(FACING_DOWN); }
/*! Check whether the arc is a special segment connecting two algebraic
* endpoints (and has no undelying integer conic coefficients).
*/
bool is_special_segment() const { return test_flag(IS_SPECIAL_SEGMENT); }
//@}
private:
@ -1147,12 +1153,6 @@ private:
else if (res == SMALLER) set_flag(FACING_DOWN);
}
/*! Check if the arc is a special segment connecting two algebraic endpoints
* (and has no undelying integer conic coefficients).
*/
bool is_special_segment() const
{ return test_flag(IS_SPECIAL_SEGMENT); }
/*! Check whether the given point lies on the supporting conic of the arc.
* \param px The x-coordinate of query point.
* \param py The y-coordinate of query point.
@ -1461,7 +1461,6 @@ private:
* \return Whether we found an overlap.
*/
bool compute_overlap(const Self& arc, Self& overlap) const {
std::cout << "compute_overlap()\n";
// Check if the two arcs are identical.
if (equals(arc)) {
overlap = arc;