#include <rosinljubljana.h>
Public Member Functions | |
| void | clearSegments () |
| Obstacle (std::string) | |
| void | setSegments (std::vector< Point_2 >) |
Public Attributes | |
| std::string | name |
| name variable for storing name More... | |
| std::vector< Point_2 > | points |
| points variable for storing points More... | |
| std::vector< Segment_2 > | segments |
| segments variable for storing segments More... | |
Obstacle for robot sensor
Obstacle in defined by set of continuosly connected points in plane.
Definition at line 82 of file rosinljubljana.h.
| Obstacle::Obstacle | ( | std::string | obstacleName | ) |
A conrtructior for obstacle.
| obstacleName | The name of obstacle |
Definition at line 4 of file rosinljubljana_objects.cpp.
| void Obstacle::clearSegments | ( | ) |
Destructor - Cleans up segments and points
Definition at line 23 of file rosinljubljana_objects.cpp.
| void Obstacle::setSegments | ( | std::vector< Point_2 > | points_ | ) |
Sets segments of obstacle.
| points | Points of segments |
Definition at line 10 of file rosinljubljana_objects.cpp.
| std::string Obstacle::name |
name variable for storing name
Definition at line 110 of file rosinljubljana.h.
| std::vector<Point_2> Obstacle::points |
points variable for storing points
Definition at line 104 of file rosinljubljana.h.
| std::vector<Segment_2> Obstacle::segments |
segments variable for storing segments
Definition at line 107 of file rosinljubljana.h.