CGAL 6.0.2 - 2D Arrangements

Loading...
Searching...
No Matches
Functions
CGAL::IO::read()
2D Arrangement Reference » I/O

##

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

Requirements

- The instantiated `Formatter` class must model the `ArrangementInputFormatter` concept.
- The instantiated `WithHistoryFormatter` class must model the `ArrangementWithHistoryInputFormatter` concept.

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".