CGAL 6.3-dev - 1D Arrangements
Loading...
Searching...
No Matches

Functions

template<typename GeometryTraits_1, typename TopologyTraits, bool BinarySearch>
std::ostream & CGAL::Arrangement_on_curve_1::operator<< (std::ostream &os, const Arrangement_on_curve_1< GeometryTraits_1, TopologyTraits, BinarySearch > &arr)
 inserts the arrangement object arr into the output stream os.

Function Documentation

◆ operator<<()

template<typename GeometryTraits_1, typename TopologyTraits, bool BinarySearch>
std::ostream & CGAL::Arrangement_on_curve_1::operator<< ( std::ostream & os,
const Arrangement_on_curve_1< GeometryTraits_1, TopologyTraits, BinarySearch > & arr )

#include <CGAL/Arrangement_on_curve_1/IO/iostream.h>

inserts the arrangement object arr into the output stream os.

Only the basic geometric and topological features of the arrangement are inserted. Auxiliary data that may be attached to the vertices and edges is ignored.

The output consists of the number of vertices followed by their points in increasing order along the curve, each on its own line. If the parameter space is identified, the identification point, if present, is last. The points are written with the output operator of GeometryTraits_1::Point_1.