common_settings.hpp 800 B

1234567891011121314151617181920212223242526272829303132
  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. #ifndef BOOST_GEOMETRY_COMMON_SETTINGS_HPP
  9. #define BOOST_GEOMETRY_COMMON_SETTINGS_HPP
  10. struct common_settings
  11. {
  12. bool svg;
  13. bool wkt;
  14. bool also_difference;
  15. double tolerance;
  16. int field_size;
  17. bool triangular;
  18. common_settings()
  19. : svg(false)
  20. , wkt(false)
  21. , also_difference(false)
  22. , tolerance(1.0e-6)
  23. , field_size(10)
  24. , triangular(false)
  25. {}
  26. };
  27. #endif // BOOST_GEOMETRY_COMMON_SETTINGS_HPP