CGAL 5.1 - 2D Arrangements

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

Requirements

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

Functions

template<typename Traits , typename Dcel , typename Formatter >
std::istream & CGAL::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". More...
 
template<typename Traits , typename Dcel , typename WithHistoryFormatter >
std::istream & CGAL::read (Arrangement_with_history_2< Traits, Dcel > &arr, std::istream &is, WithHistoryFormatter &formatter)
 

Function Documentation

◆ read() [1/2]

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