get() -> get_pointee_or_identity()

This commit is contained in:
Andreas Fabri 2015-05-04 11:41:26 +02:00
parent b7f9849599
commit 2be18d0335
2 changed files with 6 additions and 6 deletions

View File

@ -57,10 +57,10 @@ class Root_for_circles_2_2 {
}
const Root_of_2& x() const
{ return get(x_); }
{ return get_pointee_or_identity(x_); }
const Root_of_2& y() const
{ return get(y_); }
{ return get_pointee_or_identity(y_); }
CGAL::Bbox_2 bbox() const
{

View File

@ -57,18 +57,18 @@ namespace internal {
{}
const Root_of_2 & x() const
{ return get(_p).x(); }
{ return get_pointee_or_identity(_p).x(); }
const Root_of_2 & y() const
{ return get(_p).y(); }
{ return get_pointee_or_identity(_p).y(); }
CGAL::Bbox_2 bbox() const
{
return get(_p).bbox();
return get_pointee_or_identity(_p).bbox();
}
const Root_for_circles_2_2 & coordinates() const
{ return get(_p); }
{ return get_pointee_or_identity(_p); }
bool equal_ref(const Circular_arc_point_2_base &p) const
{