\( \newcommand{\E}{\mathrm{E}} \) \( \newcommand{\A}{\mathrm{A}} \) \( \newcommand{\R}{\mathrm{R}} \) \( \newcommand{\N}{\mathrm{N}} \) \( \newcommand{\Q}{\mathrm{Q}} \) \( \newcommand{\Z}{\mathrm{Z}} \) \( \def\ccSum #1#2#3{ \sum_{#1}^{#2}{#3} } \def\ccProd #1#2#3{ \sum_{#1}^{#2}{#3} }\)
CGAL 4.7 - 2D Arrangements
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages

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)
 Writes the arrangement-with-history object arr into the given output stream os using a specific output format defined by formatter. More...
 

Function Documentation

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

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

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.

Examples:
Arrangement_on_surface_2/dcel_extension_io.cpp.