tmp_point() now returns a const reference to the point instead of a copy

This commit is contained in:
Miguel Granados 2003-12-16 13:32:16 +00:00
parent 866a69dd71
commit d3f360dbda
1 changed files with 1 additions and 1 deletions

View File

@ -200,7 +200,7 @@ public:
// attributes::
const Point_3& point(Vertex_const_handle v) const
{ return v->point(); }
Sphere_point tmp_point(Halfedge_const_handle e) const
const Sphere_point& tmp_point(Halfedge_const_handle e) const
{ return e->tmp_point(); }
Sphere_point calc_point(Halfedge_const_handle e) const
{ CGAL_nef3_assertion(twin(e)!=Halfedge_const_handle());