MGIS
Loading...
Searching...
No Matches
RotationMatrix.hxx File Reference
#include <span>
#include <array>
#include <vector>
#include "MGIS/StorageMode.hxx"
#include "MGIS/Behaviour/RotationMatrix.ixx"

Classes

struct  mgis::behaviour::MaterialAxisStorage
 an helper structure to store a material axis. More...
 
struct  mgis::behaviour::RotationMatrix2D
 a structure to represent a 2D rotation matrix More...
 
struct  mgis::behaviour::RotationMatrix3D
 a structure to represent a 3D rotation matrix More...
 

Namespaces

namespace  mgis
 the namespace mgis encloses all the MGIS project.
 

Functions

std::array< mgis::real, 9u > mgis::behaviour::buildRotationMatrix (const std::span< const mgis::real, 2u > &)
 an helper function to build a 2D rotation matrix for an in-plane unit vector.
 
std::array< mgis::real, 9u > mgis::behaviour::buildRotationMatrix (const std::span< const mgis::real, 3u > &, const std::span< const mgis::real, 3u > &)
 an helper function to build a 3D rotation matrix for an in-plane unit vector.
 

Detailed Description

Author
Thomas Helfer
Date
15/02/2021

Function Documentation

◆ buildRotationMatrix() [1/2]

std::array< mgis::real, 9u > mgis::behaviour::buildRotationMatrix ( const std::span< const mgis::real, 2u > &  a)
inline

an helper function to build a 2D rotation matrix for an in-plane unit vector.

Parameters
[in]amaterial axis

◆ buildRotationMatrix() [2/2]

std::array< mgis::real, 9u > mgis::behaviour::buildRotationMatrix ( const std::span< const mgis::real, 3u > &  a1,
const std::span< const mgis::real, 3u > &  a2 
)
inline

an helper function to build a 3D rotation matrix for an in-plane unit vector.

Parameters
[in]a1first material axis
[in]a2second material axis