24#ifndef TAPROOT_TRANSFORM_HPP_
25#define TAPROOT_TRANSFORM_HPP_
89 Transform(
float x,
float y,
float z,
float rx,
float ry,
float rz);
102 const Vector& acceleration,
103 const Vector& angularVelocity);
117 Vector&& angularVelocity);
250 this->translation = std::move(newTranslation.coordinates());
272 this->translation = newTranslation.position;
273 this->transVel = newTranslation.velocity;
274 this->transAcc = newTranslation.acceleration;
284 this->translation = std::move(newTranslation.position);
285 this->transVel = std::move(newTranslation.velocity);
286 this->transAcc = std::move(newTranslation.acceleration);
296 this->rotation = newRotation.
matrix();
297 this->tRotation = this->rotation.transpose();
307 this->rotation = std::move(newRotation.matrix());
308 this->tRotation = this->rotation.transpose();
322 this->tRotation = this->rotation.transpose();
332 this->rotation = newRotation.orientation;
333 this->tRotation = this->rotation.transpose();
334 this->angVel = newRotation.angularVelocity;
344 this->rotation = std::move(newRotation.orientation);
345 this->tRotation = this->rotation.transpose();
346 this->angVel = std::move(newRotation.angularVelocity);
367 this->transVel = std::move(newVelocity.coordinates());
402 this->transVel = std::move(newAcceleration.coordinates());
427 newAngularVelocity.
x(),
428 newAngularVelocity.
y(),
429 newAngularVelocity.
z());
441 newAngularVelocity.x(),
442 newAngularVelocity.y(),
443 newAngularVelocity.z());
557 inline float getX()
const {
return this->translation.data[0]; }
562 inline float getY()
const {
return this->translation.data[1]; }
567 inline float getZ()
const {
return this->translation.data[2]; }
640 inline void checkDynamic()
bool compareFloatClose(float val1, float val2, float epsilon)
Definition math_user_utils.hpp:57
Definition cmsis_mat.hpp:45
std::array< float, ROWS *COLS > data
Definition cmsis_mat.hpp:46