![]() |
BoB robotics
The Brains on Board robotics library
|
2D length unit vector More...
#include <pose.h>
Public Member Functions | |
constexpr | Vector2 (LengthUnit x, LengthUnit y) |
constexpr | Vector2 (const std::array< LengthUnit, 2 > &array) |
LengthUnit & | x () |
const LengthUnit & | x () const |
LengthUnit & | y () |
const LengthUnit & | y () const |
![]() | |
constexpr | VectorBase (Ts &&... args) |
operator const std::array< LengthUnit, N > & () const | |
LengthUnit | distance3D (const PositionType &point) const |
LengthUnit | distance2D (const PositionType &point) const |
LengthUnit & | operator[] (size_t i) |
const LengthUnit & | operator[] (size_t i) const |
const auto & | position () const |
auto & | position () |
auto | begin () |
auto | begin () const |
auto | end () |
auto | end () const |
auto | cbegin () const |
auto | cend () const |
bool | isnan () const |
![]() | |
bool | operator== (const PoseType &pose) const |
bool | operator!= (const PoseType &pose) const |
operator Vector2< LengthUnit2 > () const | |
operator Vector3< LengthUnit2 > () const | |
operator Pose2< LengthUnit2, AngleUnit2 > () const | |
operator Pose3< LengthUnit2, AngleUnit2 > () const | |
auto | distance2D (const PositionType &point) const |
auto | distance3D (const PositionType &point) const |
Static Public Member Functions | |
static constexpr LengthUnit | z () |
static constexpr auto | nan () |
![]() | |
static constexpr size_t | size () |
static constexpr radian_t | yaw () |
static constexpr radian_t | pitch () |
static constexpr radian_t | roll () |
2D length unit vector