ostream & operator<<(ostream &os, const QhullPointSet::PrintPointSet &pr) { os << pr.print_message; const QhullPointSet s= *pr.point_set; for(QhullPointSet::const_iterator i=s.begin(); i != s.end(); ++i){ const QhullPoint point= *i; os << point; } return os; }//printPointSet
ostream & operator<<(ostream &os, const QhullPointSet::PrintIdentifiers &pr) { const QhullPointSet s= *pr.point_set; if (pr.print_message) { os << pr.print_message; } for(QhullPointSet::const_iterator i=s.begin(); i != s.end(); ++i){ if(i!=s.begin()){ os << " "; } const QhullPoint point= *i; int id= point.id(pr.run_id); os << "p" << id; } os << endl; return os; }//PrintIdentifiers