2 Copyright 2010 Intel Corporation
4 Use, modification and distribution are subject to the Boost Software License,
5 Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
6 http://www.boost.org/LICENSE_1_0.txt).
10 #ifndef BOOST_POLYGON_TUTORIAL_LAYOUT_RECTANGLE_HPP
11 #define BOOST_POLYGON_TUTORIAL_LAYOUT_RECTANGLE_HPP
15 struct layout_rectangle {
20 inline std::ostream& operator << (std::ostream& o, const layout_rectangle& r)
22 o << r.xl << " " << r.xh << " " << r.yl << " " << r.yh << " " << r.layer;
26 inline std::istream& operator >> (std::istream& i, layout_rectangle& r)
28 i >> r.xl >> r.xh >> r.yl >> r.yh >> r.layer;