\( \newcommand{\E}{\mathrm{E}} \) \( \newcommand{\A}{\mathrm{A}} \) \( \newcommand{\R}{\mathrm{R}} \) \( \newcommand{\N}{\mathrm{N}} \) \( \newcommand{\Q}{\mathrm{Q}} \) \( \newcommand{\Z}{\mathrm{Z}} \) \( \def\ccSum #1#2#3{ \sum_{#1}^{#2}{#3} } \def\ccProd #1#2#3{ \sum_{#1}^{#2}{#3} }\)

CGAL 4.8 - 2D Arrangements

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
CGAL::Arr_text_formatter< Arrangement > Class Template Reference
I/O

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

## Definition

`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:

  `ArrangementInputFormatter`

  `ArrangementOutputFormatter`

See Also
  `CGAL::read()`
  `CGAL::write()`