• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Boost.Geometry
2 
3 // Copyright (c) 2019 Barend Gehrels, Amsterdam, the Netherlands.
4 
5 // Copyright (c) 2018-2020 Oracle and/or its affiliates.
6 // Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle
7 
8 // Use, modification and distribution is subject to the Boost Software License,
9 // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
10 // http://www.boost.org/LICENSE_1_0.txt)
11 
12 #ifndef BOOST_GEOMETRY_CORE_CONFIG_HPP
13 #define BOOST_GEOMETRY_CORE_CONFIG_HPP
14 
15 #include <boost/config.hpp>
16 
17 // NOTE: workaround for VC++ 12 (aka 2013): cannot specify explicit initializer for arrays
18 #if !defined(BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX) && (!defined(_MSC_VER) || (_MSC_VER >= 1900))
19 #define BOOST_GEOMETRY_CXX11_ARRAY_UNIFIED_INITIALIZATION
20 #endif
21 
22 #if !defined(BOOST_NO_CXX11_HDR_TUPLE) && !defined(BOOST_NO_VARIADIC_TEMPLATES)
23 #define BOOST_GEOMETRY_CXX11_TUPLE
24 #endif
25 
26 // Defining this selects Kramer rule for segment-intersection
27 // That is default behaviour.
28 #define BOOST_GEOMETRY_USE_KRAMER_RULE
29 
30 // Rescaling is turned on, unless NO_ROBUSTNESS is defined
31 // In future versions of Boost.Geometry, it will be turned off by default
32 #if ! defined(BOOST_GEOMETRY_NO_ROBUSTNESS)
33 #define BOOST_GEOMETRY_USE_RESCALING
34 #endif
35 
36 #endif // BOOST_GEOMETRY_CORE_CONFIG_HPP
37