mirror of https://github.com/CGAL/cgal
those debug function must be const
This commit is contained in:
parent
6340d3508c
commit
091878f592
|
|
@ -102,13 +102,13 @@ public:
|
|||
protected:
|
||||
using Subconstraint = typename Constraint_hierarchy::Subconstraint;
|
||||
|
||||
auto display_vert(Vertex_handle v) {
|
||||
auto display_vert(Vertex_handle v) const{
|
||||
std::stringstream os;
|
||||
os.precision(17);
|
||||
os << IO::oformat(v) << "=(" << this->tr.point(v) << ")";
|
||||
return os.str();
|
||||
};
|
||||
auto display_subcstr(Subconstraint subconstraint) {
|
||||
auto display_subcstr(Subconstraint subconstraint) const {
|
||||
std::stringstream os;
|
||||
os << "[ " << display_vert(subconstraint.first)
|
||||
<< " - " << display_vert(subconstraint.second) << " ]";
|
||||
|
|
|
|||
Loading…
Reference in New Issue