CGAL 5.0.1 - 2D Arrangements
|
#include <CGAL/IO/Arr_text_formatter.h>
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.
CGAL::read()
CGAL::write()
Arr_extended_dcel<Traits,VData,HData,FData,V,H,F>