CGAL 6.1 - 2D Arrangements

Loading...
Searching...
No Matches
Functions
operator<<
Reference Manual » I/O

##

## Functions
template<typename Traits , typename Dcel >
std::ostream & | CGAL::operator<< (std::ostream &os, const 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.
template<typename Traits , typename Dcel >
std::ostream & | CGAL::operator<< (std::ostream &os, const 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.

## Function Documentation

## ◆ operator<<() [1/2]

template<typename Traits , typename Dcel >

std::ostream & CGAL::operator<< | ( | std::ostream & | os,
|  | const Arrangement_2< Traits, Dcel > & | arr
| ) |  |

`#include <CGAL/IO/Arr_iostream.h>`

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.

## ◆ operator<<() [2/2]

template<typename Traits , typename Dcel >

std::ostream & CGAL::operator<< | ( | std::ostream & | os,
|  | const Arrangement_with_history_2< Traits, Dcel > & | arr
| ) |  |

`#include <CGAL/IO/Arr_with_history_iostream.h>`

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.