MGIS
Loading...
Searching...
No Matches
RotationMatrix.ixx File Reference

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
03/03/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