|
emlabcpp
modern opinionated embedded C++ library
|
API and behavior of this is inspired by tf::Quaternion. More...
#include <quaternion.h>
Public Types | |
| using | value_type = float |
| using | const_iterator = typename container::const_iterator |
| using | iterator = typename container::iterator |
Public Member Functions | |
| constexpr | quaternion () noexcept=default |
| constexpr | quaternion (float x, float y, float z, float w) noexcept |
| constexpr | quaternion (vector< 3 > const &ax, float const &a) noexcept |
| constexpr float | operator[] (std::size_t i) const noexcept |
| constexpr const_iterator | begin () const |
| constexpr const_iterator | end () const |
| constexpr iterator | begin () |
| constexpr iterator | end () |
| constexpr std::size_t | size () const |
API and behavior of this is inspired by tf::Quaternion.
| using emlabcpp::quaternion::const_iterator = typename container::const_iterator |
| using emlabcpp::quaternion::iterator = typename container::iterator |
| using emlabcpp::quaternion::value_type = float |
|
constexprdefaultnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
References emlabcpp::cos(), emlabcpp::length_of(), and emlabcpp::sin().
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexprnoexcept |
|
inlineconstexpr |