|
bitrl & cuberl Documentation
Simulation engine for reinforcement learning agents
|
class LineSegmentLink. Represents a straight line link between two waypoints. More...
#include <line_segment_link.h>


Public Types | |
| typedef NodeData | node_data_type |
| typedef SegmentData | segment_data_type |
| typedef WayPoint< dim, NodeData > | w_point_type |
Public Member Functions | |
| LineSegmentLink () | |
| Default ctor. | |
| LineSegmentLink (const w_point_type &v1, const w_point_type &v2, uint_t id, const segment_data_type &data) | |
| Constructor. | |
| LineSegmentLink (const w_point_type &v1, const w_point_type &v2, uint_t id) | |
| Constructor. | |
| bool | is_active () const |
| Returns true if the segment is active. | |
| void | deactivate () |
| deactive the segment | |
| void | make_active () |
| Activate the segment. | |
Static Public Attributes | |
| static const int | dimension = dim |
class LineSegmentLink. Represents a straight line link between two waypoints.
| typedef NodeData bitrl::utils::trajectory::LineSegmentLink< dim, NodeData, SegmentData >::node_data_type |
| typedef SegmentData bitrl::utils::trajectory::LineSegmentLink< dim, NodeData, SegmentData >::segment_data_type |
| typedef WayPoint<dim, NodeData> bitrl::utils::trajectory::LineSegmentLink< dim, NodeData, SegmentData >::w_point_type |
| bitrl::utils::trajectory::LineSegmentLink< dim, NodeData, SegmentData >::LineSegmentLink | ( | ) |
Default ctor.
| bitrl::utils::trajectory::LineSegmentLink< dim, NodeData, SegmentData >::LineSegmentLink | ( | const w_point_type & | v1, |
| const w_point_type & | v2, | ||
| uint_t | id, | ||
| const segment_data_type & | data | ||
| ) |
Constructor.
| bitrl::utils::trajectory::LineSegmentLink< dim, NodeData, SegmentData >::LineSegmentLink | ( | const w_point_type & | v1, |
| const w_point_type & | v2, | ||
| uint_t | id | ||
| ) |
Constructor.
|
inline |
deactive the segment
|
inline |
Returns true if the segment is active.
|
inline |
Activate the segment.
|
static |