CGAL::write

Definition

The function write writes a given arrangement into a given output stream using a specific output format.

#include <CGAL/IO/Arr_iostream.h>

template<typename Traits, typename Dcel, typename Formatter>
std::ostream& write ( 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.

#include <CGAL/IO/Arr_with_history_iostream.h>

template<typename Traits, typename Dcel, typename WithHistoryFormatter>
std::ostream&
write ( Arrangement_with_history_2<Traits,Dcel> arr,
std::ostream& os,
WithHistoryFormatter& formatter)
Writes the arrangement-with-history object arr into the given output stream os using a specific output format defined by formatter.

Requirements

See Also

read
operator<<
operator>>