Lamp-Da 0.1
A compact lantern project
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
lampda::utils::TransformationMatrix Struct Reference

Transform a vector from a space to another. More...

#include <vector_math.h>

Public Member Functions

 TransformationMatrix ()=default
 Constructor.
 
 TransformationMatrix (const RotationMatrix &rot, const vec3d &trans)
 Constructor from rotation and translation.
 
 TransformationMatrix (const vec3d &euler, const vec3d &trans)
 Constructor from euler angles and translation.
 
vec3d transform (const vec3d &vec) const
 Transform a vector by this transformation.
 

Public Attributes

RotationMatrix rotation
 Rotation part of the matrix.
 
vec3d translation
 translation part of the matrix
 

Detailed Description

Transform a vector from a space to another.

Member Function Documentation

◆ transform()

vec3d lampda::utils::TransformationMatrix::transform ( const vec3d vec) const

Transform a vector by this transformation.

Parameters
[in]vecThe vector to transform
Returns
the transformed vector

The documentation for this struct was generated from the following files: