]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/geometry/include/boost/geometry/strategies/geographic/side_vincenty.hpp
bump version to 12.2.2-pve1
[ceph.git] / ceph / src / boost / libs / geometry / include / boost / geometry / strategies / geographic / side_vincenty.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, 2015.
6 // Modifications copyright (c) 2014-2015 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_VINCENTY_HPP
15 #define BOOST_GEOMETRY_STRATEGIES_GEOGRAPHIC_SIDE_VINCENTY_HPP
16
17
18 #include <boost/geometry/algorithms/detail/vincenty_inverse.hpp>
19
20 #include <boost/geometry/strategies/geographic/side_detail.hpp>
21
22
23 namespace boost { namespace geometry
24 {
25
26
27 namespace strategy { namespace side
28 {
29
30 /*!
31 \brief Check at which side of a segment a point lies
32 left of segment (> 0), right of segment (< 0), on segment (0)
33 \ingroup strategies
34 \tparam Model Reference model of coordinate system.
35 \tparam CalculationType \tparam_calculation
36 */
37 template <typename Model, typename CalculationType = void>
38 class vincenty
39 : public detail::by_azimuth<geometry::detail::vincenty_inverse, Model, CalculationType>
40 {
41 typedef detail::by_azimuth<geometry::detail::vincenty_inverse, Model, CalculationType> base_t;
42
43 public:
44 vincenty(Model const& model = Model())
45 : base_t(model)
46 {}
47 };
48
49 }} // namespace strategy::side
50
51
52 }} // namespace boost::geometry
53
54
55 #endif // BOOST_GEOMETRY_STRATEGIES_GEOGRAPHIC_SIDE_VINCENTY_HPP