|
CGAL 6.3-dev - 1D Arrangements
|
Functions | |
| template<typename GeometryTraits_1, typename TopologyTraits, bool BinarySearch> | |
| std::istream & | CGAL::Arrangement_on_curve_1::operator>> (std::istream &is, Arrangement_on_curve_1< GeometryTraits_1, TopologyTraits, BinarySearch > &arr) |
| extracts an arrangement from a given input stream is into arr, replacing its content. | |
| std::istream & CGAL::Arrangement_on_curve_1::operator>> | ( | std::istream & | is, |
| Arrangement_on_curve_1< GeometryTraits_1, TopologyTraits, BinarySearch > & | arr ) |
#include <CGAL/Arrangement_on_curve_1/IO/iostream.h>
extracts an arrangement from a given input stream is into arr, replacing its content.
Only the basic geometric and topological features of the arrangement are read and no auxiliary data is attached to the vertices and edges.
The input must have the format written by operator<<(); the points are read with the input operator of GeometryTraits_1::Point_1. If the input is malformed, that is, the points are not in strictly increasing order, a point on a closed boundary side is not first (left side) or last (right side), or the identification point is not last, the failbit of is is set and arr is left empty.