Check at which side of a segment a point lies: left of segment (> 0), right of segment (< 0), on segment (0) More...
#include <side_by_triangle.hpp>
Static Public Member Functions | |
template<typename coordinate_type , typename promoted_type , typename P1 , typename P2 , typename P > | |
static promoted_type | side_value (P1 const &p1, P2 const &p2, P const &p) |
template<typename P1 , typename P2 , typename P > | |
static int | apply (P1 const &p1, P2 const &p2, P const &p) |
Check at which side of a segment a point lies: left of segment (> 0), right of segment (< 0), on segment (0)
CalculationType |
|
inlinestatic |
|
inlinestatic |
References boost::multiprecision::backends::p, boost::flyweights::x, and boost::polygon::y().