CGAL::Arr_extended_dcel_text_formatter<Arrangement>

Definition

Arr_extended_dcel_text_formatter<Arrangement> 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<Arrangement> 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.

#include <CGAL/IO/Arr_text_formatter.h>

Is Model for the Concepts

ArrangementInputFormatter
ArrangementOutputFormatter

See Also

read
write
Arr_extended_dcel<Traits,VData,HData,FData,V,H,F>