CGAL 5.6 - 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::IO::read()
CGAL::IO::write()
Arr_extended_dcel<Traits,VData,HData,FData,V,H,F>
Examples:
Arrangement_on_surface_2/dcel_extension_io.cpp.