Class side_info: small class wrapping for sides (-1,0,1) More...
#include <side_info.hpp>
Public Member Functions | |
side_info (int side_a1=0, int side_a2=0, int side_b1=0, int side_b2=0) | |
template<int Which> | |
void | set (int first, int second) |
template<int Which, int Index> | |
void | correct_to_zero () |
template<int Which, int Index> | |
int | get () const |
template<int Which> | |
bool | same () const |
bool | collinear () const |
bool | crossing () const |
bool | touching () const |
template<int Which> | |
bool | one_touching () const |
bool | meeting () const |
template<int Which> | |
bool | zero () const |
template<int Which> | |
bool | one_zero () const |
bool | one_of_all_zero () const |
template<int Which> | |
int | zero_index () const |
void | reverse () |
Public Attributes | |
std::pair< int, int > | sides [2] |
Class side_info: small class wrapping for sides (-1,0,1)
|
inline |
References sides.
|
inline |
References sides.
Referenced by boost::geometry::strategy::intersection::relate_cartesian_segments< Policy, CalculationType >::apply().
|
inline |
References sides.
|
inline |
References sides.
|
inline |
References sides.
Referenced by boost::geometry::policies::relate::segments_direction::segments_crosses().
|
inline |
|
inline |
|
inline |
References boost::xpressive::first, boost::locale::period::marks::second, and sides.
|
inline |
References boost::xpressive::first, boost::locale::period::marks::second, and sides.
|
inline |
References sides, and boost::swap.
|
inline |
References sides.
Referenced by boost::geometry::strategy::intersection::relate_cartesian_segments< Policy, CalculationType >::apply().
|
inline |
|
inline |
References boost::xpressive::first, boost::locale::period::marks::second, and sides.
|
inline |
References sides.
|
inline |
References sides.
std::pair<int, int> boost::geometry::side_info::sides[2] |
Referenced by collinear(), correct_to_zero(), crossing(), get(), one_of_all_zero(), one_touching(), one_zero(), reverse(), same(), set(), side_info(), touching(), zero(), and zero_index().