Obstacles class for RRT* Star Implementation.
More...
#include <obstacles.h>
Obstacles class for RRT* Star Implementation.
| RRTObstacles::RRTObstacles |
( |
| ) |
|
| void RRTObstacles::addObstacle |
( |
double |
radius, |
|
|
Vector2f |
centerPoint |
|
) |
| |
Obstacles are stored as circles. Circles is denoted by center point and radius.
- Parameters
-
| bool RRTObstacles::isSegmentInObstacle |
( |
Vector2f & |
p1, |
|
|
Vector2f & |
p2 |
|
) |
| |
Check if a line segment intersects a rectangle.
- Parameters
-
- Returns
| vector<pair<double, Vector2f> > RRTObstacles::obstacles |
The documentation for this class was generated from the following files: