Data structure to store 2-dimensional informations (2D vectors) More...
#include <hpp/rbprm/sampling/heuristic-tools.hh>
Public Member Functions | |
Vec2D () | |
Vec2D (double xx, double yy) | |
Vec2D (const Vec2D &c2D) | |
Vec2D & | operator= (const Vec2D &c) |
double | operator[] (int idx) const |
double & | operator[] (int idx) |
Static Public Member Functions | |
static double | euclideanDist (const Vec2D &v1, const Vec2D &v2) |
Public Attributes | |
double | x |
double | y |
Data structure to store 2-dimensional informations (2D vectors)
|
inline |
|
inline |
|
inline |
|
static |
double hpp::rbprm::sampling::Vec2D::operator[] | ( | int | idx | ) | const |
double& hpp::rbprm::sampling::Vec2D::operator[] | ( | int | idx | ) |
double hpp::rbprm::sampling::Vec2D::x |
double hpp::rbprm::sampling::Vec2D::y |