CGAL 5.1 - 2D Arrangements
|
Writes a given arrangement into a given output stream using a specific output format.
Requirements
Formatter
class must model the ArrangementOutputFormatter
concept. WithHistoryFormatter
class must model the ArrangementWithHistoryOutputFormatter
concept. CGAL::read()
operator<<
operator>>
Functions | |
template<typename Traits , typename Dcel , typename Formatter > | |
std::ostream & | CGAL::write (const Arrangement_2< Traits, Dcel > &arr, std::ostream &os, Formatter &formatter) |
Writes the arrangement object arr into the given output stream os using a specific output format defined by formatter . More... | |
template<typename Traits , typename Dcel , typename WithHistoryFormatter > | |
std::ostream & | CGAL::write (const Arrangement_with_history_2< Traits, Dcel > &arr, std::ostream &os, WithHistoryFormatter &formatter) |
std::ostream& CGAL::write | ( | const Arrangement_2< Traits, Dcel > & | arr, |
std::ostream & | os, | ||
Formatter & | formatter | ||
) |
#include <CGAL/IO/Arr_iostream.h>
Writes the arrangement object arr
into the given output stream os
using a specific output format defined by formatter
.
std::ostream& CGAL::write | ( | const Arrangement_with_history_2< Traits, Dcel > & | arr, |
std::ostream & | os, | ||
WithHistoryFormatter & | formatter | ||
) |
#include <CGAL/IO/Arr_with_history_iostream.h>
Writes the arrangement-with-history object arr
into the given output stream os
using a specific output format defined by formatter
.