CGAL 5.1.2 - 2D Arrangements
|
#include <CGAL/IO/Arr_text_formatter.h>
Arr_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 is assumed to store no auxiliary data with its Dcel records (and if there are such records they will not be written or read by the formatter).
The Arr_text_formatter
class assumes that the nested Point_2
and the Curve_2
types defined by the Arrangement
template-parameter can both be written to an input stream using the <<
operator and read from an input stream using the >>
operator.
CGAL::read()
CGAL::write()