CGAL 6.1 - 2D Arrangements
Loading...
Searching...
No Matches
CGAL::IO::read()

Reads a given arrangement from a given input stream using a specific input format.

Requirements

See also
CGAL::IO::write()
operator<<
operator>>

Functions

template<typename Traits , typename Dcel , typename Formatter >
std::istream & CGAL::IO::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".
 
template<typename Traits , typename Dcel , typename WithHistoryFormatter >
std::istream & CGAL::IO::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".
 

Function Documentation

◆ read() [1/2]

template<typename Traits , typename Dcel , typename Formatter >
std::istream & CGAL::IO::read ( Arrangement_2< Traits, Dcel > &  arr,
std::istream &  is,
Formatter formatter 
)

#include <CGAL/IO/Arr_iostream.h>

Reads the arrangement object arr from the given input stream is using a specific input format defined by "formatter".

Examples
Arrangement_on_surface_2/dcel_extension_io.cpp.

◆ read() [2/2]

template<typename Traits , typename Dcel , typename WithHistoryFormatter >
std::istream & CGAL::IO::read ( Arrangement_with_history_2< Traits, Dcel > &  arr,
std::istream &  is,
WithHistoryFormatter formatter 
)

#include <CGAL/IO/Arr_with_history_iostream.h>

reads the arrangement-with-history object arr from the given input stream is using a specific input format defined by "formatter".