Describes a geometric transformation. More...
#include <playrho/d2/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 auto | IsValid (const d2::Transformation &value) noexcept -> bool |
Determines if the given value is valid. | |
constexpr bool | operator!= (const Transformation &lhs, const Transformation &rhs) noexcept |
Inequality operator. | |
constexpr bool | operator== (const Transformation &lhs, const Transformation &rhs) noexcept |
Equality operator. | |
Describes a geometric transformation.
A transformation contains translation and rotation. It's used to represent the location and direction of things like bodies.