]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/boost/geometry/strategies/geographic/side_andoyer.hpp
update sources to v12.2.3
[ceph.git] / ceph / src / boost / boost / geometry / strategies / geographic / side_andoyer.hpp
1 // Boost.Geometry
2
3 // Copyright (c) 2007-2012 Barend Gehrels, Amsterdam, the Netherlands.
4
5 // This file was modified by Oracle on 2014-2017.
6 // Modifications copyright (c) 2014-2017 Oracle and/or its affiliates.
7
8 // Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle
9
10 // Use, modification and distribution is subject to the Boost Software License,
11 // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
12 // http://www.boost.org/LICENSE_1_0.txt)
13
14 #ifndef BOOST_GEOMETRY_STRATEGIES_GEOGRAPHIC_SIDE_ANDOYER_HPP
15 #define BOOST_GEOMETRY_STRATEGIES_GEOGRAPHIC_SIDE_ANDOYER_HPP
16
17
18 #include <boost/geometry/strategies/geographic/side.hpp>
19
20
21 namespace boost { namespace geometry
22 {
23
24
25 namespace strategy { namespace side
26 {
27
28 /*!
29 \brief Check at which side of a segment a point lies
30 left of segment (> 0), right of segment (< 0), on segment (0)
31 \ingroup strategies
32 \tparam Spheroid Reference model of coordinate system.
33 \tparam CalculationType \tparam_calculation
34 */
35 template
36 <
37 typename Spheroid = srs::spheroid<double>,
38 typename CalculationType = void
39 >
40 class andoyer
41 : public side::geographic<strategy::andoyer, Spheroid, CalculationType>
42 {
43 typedef side::geographic<strategy::andoyer, Spheroid, CalculationType> base_t;
44
45 public:
46 andoyer()
47 {}
48
49 explicit andoyer(Spheroid const& model)
50 : base_t(model)
51 {}
52 };
53
54 }} // namespace strategy::side
55
56
57 }} // namespace boost::geometry
58
59
60 #endif // BOOST_GEOMETRY_STRATEGIES_GEOGRAPHIC_SIDE_ANDOYER_HPP