Describes a geometric transformation. More...
#include <Transformation.hpp>
Public Attributes | |
| Length2 | p = Length2{} |
| Translational portion of the transformation. | |
| UnitVec | q = UnitVec::GetRight() |
| Rotational/directional portion of the transformation. | |
Related Functions | |
(Note that these are not member functions.) | |
| constexpr bool | operator== (const Transformation &lhs, const Transformation &rhs) noexcept |
| Equality operator. | |
| constexpr bool | operator!= (const Transformation &lhs, const Transformation &rhs) noexcept |
| Inequality operator. | |
| template<> | |
| constexpr bool | IsValid (const d2::Transformation &value) noexcept |
| Determines if the given value is valid. | |
Describes a geometric transformation.
A transformation contains translation and rotation. It's used to represent the location and direction of things like bodies.