CGAL 6.1 - 2D Arrangements

Loading...
Searching...
No Matches
CGAL::Arr_text_formatter< Arrangement > Class Template Reference
Reference Manual » I/O

`#include <CGAL/IO/Arr_text_formatter.h>`

## Definition

template<typename Arrangement>
class CGAL::Arr_text_formatter< Arrangement >

`Arr_text_formatter` defines the format of an arrangement in an input or output stream (typically a file stream), thus enabling reading and writing an `Arrangement` instance using a simple text format.

The arrangement is assumed to store no auxiliary data with its DCEL records (and if there are such records they will not be written or read by the formatter).

The `Arr_text_formatter` class assumes that the nested `Point_2` and the `Curve_2` types defined by the `Arrangement` template-parameter can both be written to an input stream using the `<<` operator and read from an input stream using the `>>` operator.

Is model of
  `AosInputFormatter`
  `AosOutputFormatter`

See also
  `CGAL::IO::read()`
  `CGAL::IO::write()`