#include <polygon.h>
Public Member Functions | |
float | cross (const Vec &a) const |
float | dist (const Vec &a) const |
float | dist_line (const Vec &a, const Vec &b) const |
float | dist_linestrip (const Vec &a, const Vec &b) const |
float | dot (const Vec &a) const |
Vec | operator- (const Vec &a) const |
float & | operator[] (const int &i) |
const float & | operator[] (const int &i) const |
Public Attributes | |
float | c [2] |
float costmap_cspace::Vec::cross | ( | const Vec & | a | ) | const [inline] |
float costmap_cspace::Vec::dist | ( | const Vec & | a | ) | const [inline] |
float costmap_cspace::Vec::dist_line | ( | const Vec & | a, |
const Vec & | b | ||
) | const [inline] |
float costmap_cspace::Vec::dist_linestrip | ( | const Vec & | a, |
const Vec & | b | ||
) | const [inline] |
float costmap_cspace::Vec::dot | ( | const Vec & | a | ) | const [inline] |
float& costmap_cspace::Vec::operator[] | ( | const int & | i | ) | [inline] |
const float& costmap_cspace::Vec::operator[] | ( | const int & | i | ) | const [inline] |
float costmap_cspace::Vec::c[2] |