CGAL 6.1.2 - 2D Arrangements: CGAL::IO::write()

CGAL 6.1.2 - 2D Arrangements

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

##

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

Requirements

- The instantiated `Formatter` class must model the `AosOutputFormatter` concept.
- The instantiated `WithHistoryFormatter` class must model the `AosWithHistoryOutputFormatter` 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`.