Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:36:47

0001 // Boost.Geometry
0002 
0003 // Copyright (c) 2007-2012 Barend Gehrels, Amsterdam, the Netherlands.
0004 
0005 // This file was modified by Oracle on 2014-2017.
0006 // Modifications copyright (c) 2014-2017 Oracle and/or its affiliates.
0007 
0008 // Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle
0009 
0010 // Use, modification and distribution is subject to the Boost Software License,
0011 // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
0012 // http://www.boost.org/LICENSE_1_0.txt)
0013 
0014 #ifndef BOOST_GEOMETRY_STRATEGIES_GEOGRAPHIC_SIDE_THOMAS_HPP
0015 #define BOOST_GEOMETRY_STRATEGIES_GEOGRAPHIC_SIDE_THOMAS_HPP
0016 
0017 
0018 #include <boost/geometry/strategies/geographic/side.hpp>
0019 
0020 
0021 namespace boost { namespace geometry
0022 {
0023 
0024 
0025 namespace strategy { namespace side
0026 {
0027 
0028 /*!
0029 \brief Check at which side of a segment a point lies
0030          left of segment (> 0), right of segment (< 0), on segment (0)
0031 \ingroup strategies
0032 \tparam Spheroid Reference model of coordinate system.
0033 \tparam CalculationType \tparam_calculation
0034  */
0035 template
0036 <
0037     typename Spheroid = srs::spheroid<double>,
0038     typename CalculationType = void
0039 >
0040 class thomas
0041     : public side::geographic<strategy::thomas, Spheroid, CalculationType>
0042 {
0043     typedef side::geographic<strategy::thomas, Spheroid, CalculationType> base_t;
0044 
0045 public:
0046     thomas()
0047     {}
0048 
0049     explicit thomas(Spheroid const& model)
0050         : base_t(model)
0051     {}
0052 };
0053 
0054 }} // namespace strategy::side
0055 
0056 
0057 }} // namespace boost::geometry
0058 
0059 
0060 #endif // BOOST_GEOMETRY_STRATEGIES_GEOGRAPHIC_SIDE_THOMAS_HPP