1[/============================================================================ 2 Boost.Geometry (aka GGL, Generic Geometry Library) 3 4 Copyright (c) 2007-2013 Barend Gehrels, Amsterdam, the Netherlands. 5 Copyright (c) 2008-2013 Bruno Lalande, Paris, France. 6 Copyright (c) 2009-2013 Mateusz Loskot, London, UK. 7 8 Use, modification and distribution is subject to the Boost Software License, 9 Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at 10 http://www.boost.org/LICENSE_1_0.txt) 11=============================================================================/] 12 13 14[/ Generated by doxygen_xml2qbk 1.1.1, don't change, will be overwritten automatically] 15[/ Generated from doxy/doxygen_output/xml/classboost_1_1geometry_1_1strategy_1_1side_1_1side__by__triangle.xml] 16[section:strategy_side_side_by_triangle strategy::side::side_by_triangle] 17 18'''<indexterm><primary>strategy</primary></indexterm><indexterm><primary>side</primary></indexterm><indexterm><primary>side_by_triangle</primary></indexterm>''' 19Check at which side of a segment a point lies: left of segment (> 0), right of segment (< 0), on segment (0) 20 21[heading Synopsis] 22``template<typename CalculationType> 23class strategy::side::side_by_triangle 24{ 25 // ... 26}; 27`` 28 29[heading Template parameter(s)] 30[table 31[[Parameter] [Default] [Description]] 32[[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 ]] 33] 34 35[heading Member Function(s)] 36[table 37[[Function] [Description] [Parameters] [Returns]] 38[[``envelope_strategy_type get_envelope_strategy()`` 39 40] [] [ 41 42][ 43 44] 45] 46[[``disjoint_strategy_type get_disjoint_strategy()`` 47 48] [] [ 49 50][ 51 52] 53] 54[[``equals_point_point_strategy_type get_equals_point_point_strategy()`` 55 56] [] [ 57 58][ 59 60] 61] 62[[``template<typename CoordinateType, typename PromotedType, typename P1, typename P2, 63 typename P, typename EpsPolicy> 64PromotedType side_value(P1 const & p1, P2 const & p2, P const & p, 65 EpsPolicy & eps_policy)`` 66 67] [] [[* P1 const &]: ['p1]: 68 69[* P2 const &]: ['p2]: 70 71[* P const &]: ['p]: 72 73[* EpsPolicy &]: ['eps_policy]: 74 75 76 77][ 78 79] 80] 81[[``template<typename CoordinateType, typename PromotedType, typename P1, typename P2, 82 typename P> 83PromotedType side_value(P1 const & p1, P2 const & p2, P const & p)`` 84 85] [] [[* P1 const &]: ['p1]: 86 87[* P2 const &]: ['p2]: 88 89[* P const &]: ['p]: 90 91 92 93][ 94 95] 96] 97[[``template<typename P1, typename P2, typename P> 98int apply(P1 const & p1, P2 const & p2, P const & p)`` 99 100] [] [[* P1 const &]: ['p1]: 101 102[* P2 const &]: ['p2]: 103 104[* P const &]: ['p]: 105 106 107 108][ 109 110] 111] 112] 113 114[heading Header] 115`#include <boost/geometry/strategies/cartesian/side_by_triangle.hpp>` 116 117[endsect] 118 119