CGAL 5.1 - 2D Arrangements

Writes a given arrangement into a given output stream using a specific output format.

Requirements

See also
CGAL::read()
operator<<
operator>>

Functions

template<typename Traits , typename Dcel , typename Formatter >
std::ostream & CGAL::write (const Arrangement_2< Traits, Dcel > &arr, std::ostream &os, Formatter &formatter)
 Writes the arrangement object arr into the given output stream os using a specific output format defined by formatter. More...
 
template<typename Traits , typename Dcel , typename WithHistoryFormatter >
std::ostream & CGAL::write (const Arrangement_with_history_2< Traits, Dcel > &arr, std::ostream &os, WithHistoryFormatter &formatter)
 

Function Documentation

◆ write() [1/2]

template<typename Traits , typename Dcel , typename Formatter >
std::ostream& CGAL::write ( const Arrangement_2< Traits, Dcel > &  arr,
std::ostream &  os,
Formatter &  formatter 
)

#include <CGAL/IO/Arr_iostream.h>

Writes the arrangement object arr into the given output stream os using a specific output format defined by formatter.

Examples
Arrangement_on_surface_2/dcel_extension_io.cpp.

◆ write() [2/2]

template<typename Traits , typename Dcel , typename WithHistoryFormatter >
std::ostream& CGAL::write ( const Arrangement_with_history_2< Traits, Dcel > &  arr,
std::ostream &  os,
WithHistoryFormatter &  formatter 
)

#include <CGAL/IO/Arr_with_history_iostream.h>

Writes the arrangement-with-history object arr into the given output stream os using a specific output format defined by formatter.