// Boost.Geometry (aka GGL, Generic Geometry Library) // QuickBook Example // Copyright (c) 2011-2012 Barend Gehrels, Amsterdam, the Netherlands. // Use, modification and distribution is subject to the Boost Software License, // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) //[get_box //` Get the coordinate of a box #include #include #include namespace bg = boost::geometry; int main() { bg::model::box > box; bg::assign_values(box, 1, 3, 5, 6); std::cout << "Box:" << " " << bg::get(box) << " " << bg::get(box) << " " << bg::get(box) << " " << bg::get(box) << std::endl; return 0; } //] //[get_box_output /*` Output: [pre Box: 1 3 5 6 ] */ //]