#include <obstacle.hpp>
Diagram dziedziczenia dla Obstacle

Metody publiczne | |
| virtual double | getAngle (Vector2D &vec, double orient) |
| virtual Vector2D | getCross (Vector2D &vec, double orient) |
| std::string | getType () |
| Obstacle () | |
| void | setConfig (SceneConfig &cfg) |
Atrybuty chronione | |
| Vector2D | _bufRetPoint |
| double | _bufSrcOrient |
| Vector2D | _bufSrcPoint |
| SceneConfig | _cfg |
| std::string | _type |
| Obstacle::Obstacle | ( | ) |
Konstruktor.
| double Obstacle::getAngle | ( | Vector2D & | vec, | |
| double | orient | |||
| ) | [virtual] |
Zwraca 'kat natarcia' do najblizszej krawedzi przedzkody
| punkt | odniesienia | |
| kierunek | [rad] |
Reimplementowana w Obstacle_Circle.
Zwraca punkt przeciecia najblizszej krawedzi przeszkody.
| punkt | odniesienia | |
| kierunek | [rad] |
Reimplementowana w Obstacle_Circle.
| std::string Obstacle::getType | ( | ) |
Zwraca typ przeszkody
| void Obstacle::setConfig | ( | SceneConfig & | cfg | ) |
Pobiera konfiguracje, parametry symulacji
Vector2D Obstacle::_bufRetPoint [protected] |
double Obstacle::_bufSrcOrient [protected] |
Vector2D Obstacle::_bufSrcPoint [protected] |
SceneConfig Obstacle::_cfg [protected] |
std::string Obstacle::_type [protected] |
1.5.2