114 lines
2.6 KiB
Plaintext
114 lines
2.6 KiB
Plaintext
[/============================================================================
|
|
Boost.Geometry (aka GGL, Generic Geometry Library)
|
|
|
|
Copyright (c) 2007-2013 Barend Gehrels, Amsterdam, the Netherlands.
|
|
Copyright (c) 2008-2013 Bruno Lalande, Paris, France.
|
|
Copyright (c) 2009-2013 Mateusz Loskot, London, UK.
|
|
|
|
Use, modification and distribution is subject to the Boost Software License,
|
|
Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
|
|
http://www.boost.org/LICENSE_1_0.txt)
|
|
=============================================================================/]
|
|
|
|
|
|
[/ Generated by doxygen_xml2qbk 1.1.1, don't change, will be overwritten automatically]
|
|
[/ Generated from doxy/doxygen_output/xml/classboost_1_1geometry_1_1strategy_1_1side_1_1geographic.xml]
|
|
[section:strategy_side_geographic strategy::side::geographic]
|
|
|
|
'''<indexterm><primary>strategy</primary></indexterm><indexterm><primary>side</primary></indexterm><indexterm><primary>geographic</primary></indexterm>'''
|
|
Check at which side of a segment a point lies left of segment (> 0), right of segment (< 0), on segment (0)
|
|
|
|
[heading Synopsis]
|
|
``template<typename FormulaPolicy, typename Spheroid, typename CalculationType>
|
|
class strategy::side::geographic
|
|
{
|
|
// ...
|
|
};
|
|
``
|
|
|
|
[heading Template parameter(s)]
|
|
[table
|
|
[[Parameter] [Default] [Description]]
|
|
[[typename FormulaPolicy] [strategy::andoyer] [Geodesic solution formula policy. ]]
|
|
[[typename Spheroid] [srs::spheroid<double>] [Reference model of coordinate system. ]]
|
|
[[typename CalculationType] [void] [numeric type for calculation (e.g. high precision); if [*void] then it is extracted automatically from the coordinate type and (if necessary) promoted to floating point]]
|
|
]
|
|
|
|
[heading Constructor(s)]
|
|
[table
|
|
[[Function] [Description] [Parameters] ]
|
|
[[``geographic()``
|
|
|
|
] [] [
|
|
|
|
]]
|
|
[[``geographic(Spheroid const & model)``
|
|
|
|
] [] [[* Spheroid const &]: ['model]:
|
|
|
|
|
|
|
|
]]
|
|
]
|
|
|
|
[heading Member Function(s)]
|
|
[table
|
|
[[Function] [Description] [Parameters] [Returns]]
|
|
[[``envelope_strategy_type get_envelope_strategy()``
|
|
|
|
] [] [
|
|
|
|
][
|
|
|
|
]
|
|
]
|
|
[[``disjoint_strategy_type get_disjoint_strategy()``
|
|
|
|
] [] [
|
|
|
|
][
|
|
|
|
]
|
|
]
|
|
[[``equals_point_point_strategy_type get_equals_point_point_strategy()``
|
|
|
|
] [] [
|
|
|
|
][
|
|
|
|
]
|
|
]
|
|
[[``template<typename P1, typename P2, typename P>
|
|
int apply(P1 const & p1, P2 const & p2, P const & p)``
|
|
|
|
] [] [[* P1 const &]: ['p1]:
|
|
|
|
[* P2 const &]: ['p2]:
|
|
|
|
[* P const &]: ['p]:
|
|
|
|
|
|
|
|
][
|
|
|
|
]
|
|
]
|
|
[[``Spheroid const & model()``
|
|
|
|
] [] [
|
|
|
|
][
|
|
|
|
]
|
|
]
|
|
]
|
|
|
|
[heading Header]
|
|
`#include <boost/geometry/strategies/geographic/side.hpp>`
|
|
|
|
[heading See also]
|
|
[link geometry.reference.srs.srs_spheroid srs::spheroid]
|
|
|
|
[endsect]
|
|
|