1 // Boost.Geometry (aka GGL, Generic Geometry Library) 2 // Robustness Test 3 // 4 // Copyright (c) 2009-2012 Barend Gehrels, Amsterdam, the Netherlands. 5 // Use, modification and distribution is subject to the Boost Software License, 6 // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at 7 // http://www.boost.org/LICENSE_1_0.txt) 8 9 #ifndef BOOST_GEOMETRY_COMMON_SETTINGS_HPP 10 #define BOOST_GEOMETRY_COMMON_SETTINGS_HPP 11 12 struct common_settings 13 { 14 bool svg; 15 bool wkt; 16 bool also_difference; 17 double tolerance; 18 19 int field_size; 20 bool triangular; 21 common_settingscommon_settings22 common_settings() 23 : svg(false) 24 , wkt(false) 25 , also_difference(false) 26 , tolerance(1.0e-6) 27 , field_size(10) 28 , triangular(false) 29 {} 30 }; 31 32 #endif // BOOST_GEOMETRY_COMMON_SETTINGS_HPP 33