CGAL 5.6.3 - 2D Arrangements

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

##

Writes a given arrangement into a given output stream using a specific output format.

Requirements

- The instantiated `Formatter` class must model the `ArrangementOutputFormatter` concept.
- The instantiated `WithHistoryFormatter` class must model the `ArrangementWithHistoryOutputFormatter` concept.

See also
  `CGAL::IO::read()`
  `operator<<`
  `operator>>`

## Functions
template<typename Traits , typename Dcel , typename Formatter >
std::ostream & | CGAL::IO::write (const 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`.
template<typename Traits , typename Dcel , typename WithHistoryFormatter >
std::ostream & | CGAL::IO::write (const 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`.