\( \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 5.0 - 2D Arrangements
CGAL::Arr_extended_dcel_text_formatter< Arrangement > Class Template Reference

#include <CGAL/IO/Arr_text_formatter.h>

Definition

Arr_extended_dcel_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 class should be instantiated with a Dcel class which in turn instantiates the Arr_extended_dcel template with the VertexData, HalfedgeData and FaceData types. The formatter supports reading and writing the data objects attached to the arrangement vertices, halfedges and faces.

The Arr_extended_dcel_text_formatter class assumes that the nested Point_2 and the Curve_2 types defined by the Arrangement template-parameter, as well as the VertexData, HalfedgeData and FaceData types, can all 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()
Arr_extended_dcel<Traits,VData,HData,FData,V,H,F>
Examples:
Arrangement_on_surface_2/dcel_extension_io.cpp.