Function

CGAL::read

Definition

The function read reads a given arrangement from a given input stream using a specific input format.

#include <CGAL/IO/Arr_iostream.h>

template<typename Traits, typename Dcel, typename Formatter>
std::istream& read ( Arrangement_2<Traits,Dcel>& arr, std::istream& is, Formatter& formatter)
Reads the arrangement object arr from the given input stream is using a specific input format defined by formatter.

#include <CGAL/IO/Arr_with_history_iostream.h>

template<typename Traits, typename Dcel, typename WithHistoryFormatter>
std::istream&
read ( Arrangement_with_history_2<Traits,Dcel>& arr,
std::istream& is,
WithHistoryFormatter& formatter)
Reads the arrangement-with-history object arr from the given input stream is using a specific input format defined by formatter.

Requirements

See Also

write
operator<<
operator>>