Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::polygon::direction_2d Class Reference

#include <isotropy.hpp>

Public Member Functions

 direction_2d ()
 
 direction_2d (const direction_2d &that)
 
 direction_2d (const direction_2d_enum val)
 
direction_2doperator= (const direction_2d &d)
 
 ~direction_2d ()
 
bool operator== (direction_2d d) const
 
bool operator!= (direction_2d d) const
 
bool operator< (direction_2d d) const
 
bool operator<= (direction_2d d) const
 
bool operator> (direction_2d d) const
 
bool operator>= (direction_2d d) const
 
unsigned int to_int (void) const
 
direction_2d backward () const
 
direction_2d turn (direction_1d t) const
 
direction_2d left () const
 
direction_2d right () const
 
bool is_positive () const
 
bool is_negative () const
 
int get_sign () const
 

Constructor & Destructor Documentation

boost::polygon::direction_2d::direction_2d ( )
inline

Referenced by backward(), and turn().

boost::polygon::direction_2d::direction_2d ( const direction_2d that)
inline
boost::polygon::direction_2d::direction_2d ( const direction_2d_enum  val)
inline
boost::polygon::direction_2d::~direction_2d ( )
inline

Member Function Documentation

direction_2d boost::polygon::direction_2d::backward ( ) const
inline

References direction_2d().

int boost::polygon::direction_2d::get_sign ( ) const
inline
bool boost::polygon::direction_2d::is_negative ( ) const
inline

References is_positive().

bool boost::polygon::direction_2d::is_positive ( ) const
inline

Referenced by get_sign(), and is_negative().

direction_2d boost::polygon::direction_2d::left ( ) const
inline

References boost::polygon::HIGH, and turn().

bool boost::polygon::direction_2d::operator!= ( direction_2d  d) const
inline
bool boost::polygon::direction_2d::operator< ( direction_2d  d) const
inline
bool boost::polygon::direction_2d::operator<= ( direction_2d  d) const
inline
direction_2d& boost::polygon::direction_2d::operator= ( const direction_2d d)
inline
bool boost::polygon::direction_2d::operator== ( direction_2d  d) const
inline
bool boost::polygon::direction_2d::operator> ( direction_2d  d) const
inline
bool boost::polygon::direction_2d::operator>= ( direction_2d  d) const
inline
direction_2d boost::polygon::direction_2d::right ( ) const
inline

References boost::polygon::LOW, and turn().

unsigned int boost::polygon::direction_2d::to_int ( void  ) const
inline
direction_2d boost::polygon::direction_2d::turn ( direction_1d  t) const
inline

The documentation for this class was generated from the following file: