class
Translation
Constructors, destructors, conversion operators
- Translation() defaulted constexpr
- Translation(QLength iX, QLength iY)
- Translation(QLength iMag, const Rotation& iAngle)
- Translation(const Translation& rhs)
- ~Translation() defaulted
Public functions
- auto X() const -> QLength
- auto Y() const -> QLength
- void setX(QLength iX)
- void setY(QLength iY)
- auto operator+(const Translation& rhs) const -> Translation
- auto operator-(const Translation& rhs) const -> Translation
- auto operator-() const -> Translation
- auto operator*(double scalar) const -> Translation
- auto operator/(double scalar) const -> Translation
- auto operator==(const Translation& rhs) const -> bool
- auto operator!=(const Translation& rhs) const -> bool
- void operator=(const Translation& rhs)
- auto theta() const -> QAngle
- auto mag() const -> QLength
- auto distTo(const Translation& rhs) const -> QLength
- auto angleTo(const Translation& rhs) const -> QAngle
- auto dot(const Translation& rhs) const -> QArea
- auto wedge(const Translation& rhs) const -> QArea
- auto project(const Translation& rhs) const -> Translation
- auto rotateBy(const Rotation& rhs) const -> Translation