Fawkes API  Fawkes Development Version
fawkes::ColliFastEllipse Class Reference

This is an implementation of a a fast ellipse. More...

#include <obstacle.h>

Inheritance diagram for fawkes::ColliFastEllipse:

Public Member Functions

 ColliFastEllipse (int width, int height, colli_cell_cost_t &costs, bool obstacle_increasement=true)
 Constructor for FastEllipse. More...
 
- Public Member Functions inherited from fawkes::ColliFastObstacle
const std::vector< int > get_obstacle ()
 Return the occupied cells with their values. More...
 
int get_key ()
 Get the key. More...
 
void set_key (int key)
 Set key. More...
 

Additional Inherited Members

- Protected Attributes inherited from fawkes::ColliFastObstacle
std::vector< int > occupied_cells_
 Aligned array of the occ cells, size is dividable through 3, because: [i] = x coord, [i+1] = y coord, [i+2] = costs. More...
 

Detailed Description

This is an implementation of a a fast ellipse.

Definition at line 96 of file obstacle.h.

Constructor & Destructor Documentation

◆ ColliFastEllipse()

fawkes::ColliFastEllipse::ColliFastEllipse ( int  width,
int  height,
colli_cell_cost_t costs,
bool  obstacle_increasement = true 
)
inline

Constructor for FastEllipse.

Parameters
widthradius width of the new ellipse
heightradius height of the new ellipse
costsstruct containing the occ-grid cell costs
obstacle_increasementIncrease obstacles?

Definition at line 143 of file obstacle.h.

References fawkes::colli_cell_cost_t::far, fawkes::colli_cell_cost_t::mid, fawkes::colli_cell_cost_t::near, fawkes::colli_cell_cost_t::occ, fawkes::ColliFastObstacle::occupied_cells_, and fawkes::sqr().


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