CGAL 5.2.1 - 2D Arrangements
|
#include <CGAL/IO/Arr_text_formatter.h>
Arr_face_extended_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_face_extended_dcel
template with a FaceData
type. The formatter supports reading and writing the data objects attached to the arrangement faces as well.
The Arr_face_extended_text_formatter
class assumes that the nested Point_2
and the Curve_2
types defined by the Arrangement
template-parameter and that the FaceData
type 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_face_extended_dcel<Traits,FData,V,H,F>