cajun::segment_t Class Reference

#include <segment.H>

List of all members.

Public Types

enum  side_t { ON_PATH, LEFT_OF_PATH, RIGHT_OF_PATH }

Public Member Functions

 segment_t ()
 segment_t (lane_point_t start_, lane_point_t end_)
 ~segment_t ()
segment_t reverse ()
side_t point_side (lane_point_t pt_)
lane_point_t point_along_segment (float dis_)
segment_t segment_on_the_right (float perp_dis_)
segment_t segment_on_the_left (float perp_dis_)
lane_point_t point_to_the_right (float perp_dis_, float horiz_dis_)
lane_point_t point_to_the_left (float perp_dis_, float horiz_dis_)
double segment_angle (const segment_t &another_seg_)
lane_point_t start_point ()
lane_point_t end_point ()
double slope ()

Private Attributes

lane_point_t m_start
lane_point_t m_end
double m_segment_heading

Member Enumeration Documentation

Enumerator:
ON_PATH 
LEFT_OF_PATH 
RIGHT_OF_PATH 

Constructor & Destructor Documentation

cajun::segment_t::segment_t (  )  [inline]
cajun::segment_t::segment_t ( lane_point_t  start_,
lane_point_t  end_ 
) [inline]
cajun::segment_t::~segment_t (  )  [inline]

Member Function Documentation

lane_point_t cajun::segment_t::end_point (  )  [inline]

References m_end.

Referenced by main(), and walk_dtm().

lane_point_t cajun::segment_t::point_along_segment ( float  dis_  )  [inline]

References m_segment_heading, m_start, _point_t::x, and _point_t::y.

Referenced by main().

side_t cajun::segment_t::point_side ( lane_point_t  pt_  )  [inline]
lane_point_t cajun::segment_t::point_to_the_left ( float  perp_dis_,
float  horiz_dis_ 
) [inline]

References segment_on_the_left().

lane_point_t cajun::segment_t::point_to_the_right ( float  perp_dis_,
float  horiz_dis_ 
) [inline]

References segment_on_the_right().

Referenced by expand_dtm_path().

segment_t cajun::segment_t::reverse (  )  [inline]

References m_end, m_start, and segment_t().

Referenced by expand_dtm_path(), and main().

double cajun::segment_t::segment_angle ( const segment_t another_seg_  )  [inline]

References m_segment_heading.

Referenced by expand_dtm_path(), and main().

segment_t cajun::segment_t::segment_on_the_left ( float  perp_dis_  )  [inline]
segment_t cajun::segment_t::segment_on_the_right ( float  perp_dis_  )  [inline]
double cajun::segment_t::slope (  )  [inline]

References m_end, m_start, _point_t::x, and _point_t::y.

Referenced by walk_dtm().

lane_point_t cajun::segment_t::start_point (  )  [inline]

References m_start.

Referenced by main(), and walk_dtm().


Member Data Documentation


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

Generated on Fri Apr 9 10:45:14 2010 for Slopedtm by  doxygen 1.6.1