2018-01-12 21:47:58 +01:00
[/============================================================================
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_1side__by__triangle.xml]
[section:strategy_side_side_by_triangle strategy::side::side_by_triangle]
'''<indexterm><primary>strategy</primary></indexterm><indexterm><primary>side</primary></indexterm><indexterm><primary>side_by_triangle</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 CalculationType>
class strategy::side::side_by_triangle
{
// ...
};
``
[heading Template parameter(s)]
[table
[[Parameter] [Default] [Description]]
[[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 Member Function(s)]
[table
[[Function] [Description] [Parameters] [Returns]]
[[``envelope_strategy_type get_envelope_strategy()``
] [] [
][
]
]
[[``disjoint_strategy_type get_disjoint_strategy()``
] [] [
][
2021-10-05 21:37:46 +02:00
]
]
[[``equals_point_point_strategy_type get_equals_point_point_strategy()``
] [] [
][
2018-01-12 21:47:58 +01:00
]
]
[[``template<typename CoordinateType, typename PromotedType, typename P1, typename P2,
typename P, typename EpsPolicy>
PromotedType side_value(P1 const & p1, P2 const & p2, P const & p,
EpsPolicy & eps_policy)``
] [] [[* P1 const &]: ['p1]:
[* P2 const &]: ['p2]:
[* P const &]: ['p]:
[* EpsPolicy &]: ['eps_policy]:
][
]
]
[[``template<typename CoordinateType, typename PromotedType, typename P1, typename P2,
typename P>
PromotedType side_value(P1 const & p1, P2 const & p2, P const & p)``
] [] [[* P1 const &]: ['p1]:
[* P2 const &]: ['p2]:
[* P const &]: ['p]:
][
]
]
[[``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]:
][
]
]
]
[heading Header]
`#include <boost/geometry/strategies/cartesian/side_by_triangle.hpp>`
[endsect]