cajun::rndf_t::waypoint_t Class Reference

Waypoint class. More...

#include <rndf.H>

List of all members.

Public Member Functions

 waypoint_t (rndf_t const *rndf_, waypoint_id_t id_)
waypoint_id_t const & id () const
 Waypoint ID.
double lat () const
 Latitude (radians).
double lon () const
 Longitude (radians).
double x () const
 Grid X (meters).
double y () const
 Grid Y (meters).
bool is_checkpoint () const
 Is the waypoint a checkpoint?
unsigned checkpoint_id () const
 Checkpoint ID number (only valid if is_checkpoint).
bool is_entry () const
 Is the waypoint an entry?
unsigned num_entries () const
 Number of entries to this waypoint.
waypoint_t const & entry (unsigned i_) const
 Entry source waypoint.
bool is_exit () const
 Is the waypoint an exit?
unsigned num_exits () const
 Number of exits from this waypoint.
waypoint_t const & exit (unsigned i_) const
 Exit destination waypoint.
bool in_segment () const
 Is the waypoint part of a segment?
bool is_stop () const
 Is the waypoint a stop point?
bool in_zone () const
 Is the waypoint part of a zone?
bool is_perimeter () const
 Is the waypoint part of a zone perimeter?
bool is_spot () const
 Is the waypoint part of a parking spot?

Private Attributes

rndf_t const * m_rndf
 Containing RNDF object.
waypoint_id_t m_id
 Waypoint ID.
double m_lat
 Latitude (radians).
double m_lon
 Longitude (radians).
double m_x
 Grid X (meters).
double m_y
 Grid Y (meters).
bool m_is_checkpoint
 Is a checkpoint?
unsigned m_checkpoint_id
 Checkpoint ID.
bool m_is_stop
 Is a stop point?
std::vector< waypoint_id_tm_entry
 Entry source waypoints.
std::vector< waypoint_id_tm_exit
 Exit destination waypoints.

Friends

class rndf_t
class builder_t

Detailed Description

Waypoint class.


Member Function Documentation

waypoint_t const& cajun::rndf_t::waypoint_t::entry ( unsigned  i_  )  const [inline]

Entry source waypoint.

Parameters:
i_ Entry index (0 to num_entries() - 1)
Returns:
Entry source waypoint

References m_entry, m_rndf, and cajun::rndf_t::waypoint().

Referenced by cajun::rndf_t::intersection_at().

waypoint_t const& cajun::rndf_t::waypoint_t::exit ( unsigned  i_  )  const [inline]

Exit destination waypoint.

Parameters:
i_ Exit index (0 to num_exits() - 1)
Returns:
Exit destination waypoint

References m_exit, m_rndf, and cajun::rndf_t::waypoint().

Referenced by cajun::rndf_t::intersection_at().


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

Generated on Fri Apr 9 10:45:13 2010 for MDF/RNDF Library by  doxygen 1.6.1