CGAL::operator<<

Definition

The function operator<< inserts an object into a given output stream.

#include <CGAL/IO/Arr_iostream.h>

template<typename Traits, typename Dcel>
std::ostream& std::ostream& os << Arrangement_2<Traits,Dcel> arr
Inserts the arrangement object arr into the output stream os using the output format defined by the Arr_text_formatter class. Only the basic geometric and topological features of the arrangement are inserted. Auxiliary data that may be attached to the DCEL features is ignored.

#include <CGAL/IO/Arr_with_history_iostream.h>

template<typename Traits, typename Dcel>
std::ostream& std::ostream& os << Arrangement_with_history_2<Traits,Dcel> arr
Inserts the arrangement-with-history object arr into the output stream os using the output format defined by the Arr_with_history_text_formatter class. Only the basic geometric and topological features of the arrangement are inserted. Auxiliary data that may be attached to the DCEL features is ignored.

Inserts a polyline into a given Qt_widget stream. Only the basic geometric and topological features of the polylines are written. Auxiliary data that might be attached is lost.

#include <CGAL/IO/Qt_widget_Polyline_2.h>

template<typename SegmentTraits>
Qt_widget& std::ostream& os << Polyline_2<SegmentTraits> polyline

Inserts a conic arc into a given Qt_widget stream. Only the basic geometric and topological features of the conic arcs are written. Auxiliary data that might be attached is lost.

#include <CGAL/IO/Qt_widget_Conic_arc_2.h>

template<typename ConicArc>
Qt_widget& std::ostream& os << _Conic_x_monotone_arc_2<ConicArc> cv

See Also

read
write
operator>>