]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | // Boost.Geometry |
2 | ||
3 | // Copyright (c) 2007-2012 Barend Gehrels, Amsterdam, the Netherlands. | |
4 | ||
b32b8144 FG |
5 | // This file was modified by Oracle on 2014-2017. |
6 | // Modifications copyright (c) 2014-2017 Oracle and/or its affiliates. | |
7c673cae FG |
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 | ||
b32b8144 | 18 | #include <boost/geometry/strategies/geographic/side.hpp> |
7c673cae FG |
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 | |
b32b8144 | 32 | \tparam Spheroid Reference model of coordinate system. |
7c673cae FG |
33 | \tparam CalculationType \tparam_calculation |
34 | */ | |
b32b8144 FG |
35 | template |
36 | < | |
37 | typename Spheroid = srs::spheroid<double>, | |
38 | typename CalculationType = void | |
39 | > | |
7c673cae | 40 | class vincenty |
b32b8144 | 41 | : public side::geographic<strategy::vincenty, Spheroid, CalculationType> |
7c673cae | 42 | { |
b32b8144 | 43 | typedef side::geographic<strategy::vincenty, Spheroid, CalculationType> base_t; |
7c673cae FG |
44 | |
45 | public: | |
b32b8144 FG |
46 | vincenty() |
47 | {} | |
48 | ||
49 | explicit vincenty(Spheroid const& model) | |
7c673cae FG |
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_VINCENTY_HPP |