rpos::core::Vector2f Class

2D vector of floats

Header file

rpos/core/detail/geometry_matrix.h

Applies to

  • Slamware
  • Mapper

Constructors

Vector2f();
Vector2f(float x, float y);
Vector2f(const Vector2f&);

Operators

/**
* Assignment operator.
*/
Vector2f& operator=(const Vector2f&);

Methods

/**
* x field.
*/
float x() const; 
float& x();
/**
* y field.
*/
float y() const; 
float& y();