NetDEM v1.0
Loading...
Searching...
No Matches
netdem::Math::Quaternion Class Reference

#include <utils_math.hpp>

Static Public Member Functions

static Vec4d FromRodrigues (double rot_angle, Vec3d const &rot_axis)
 
static std::tuple< double, Vec3dToRodrigues (Vec4d const &quat)
 
static Vec4d FromMatrix (Mat3d const &rot_mat)
 
static Mat3d ToMatrix (Vec4d const &quat)
 
static Vec4d Multiply (Vec4d const &p, Vec4d const &q)
 
static Vec4d Add (Vec4d const &p, Vec4d const &q)
 
static Vec4d Conjugate (Vec4d const &p)
 
static void Normalize (Vec4d *const q)
 

Member Function Documentation

◆ Add()

Vec4d netdem::Math::Quaternion::Add ( Vec4d const & p,
Vec4d const & q )
static

◆ Conjugate()

Vec4d netdem::Math::Quaternion::Conjugate ( Vec4d const & p)
static

◆ FromMatrix()

Vec4d netdem::Math::Quaternion::FromMatrix ( Mat3d const & rot_mat)
static

◆ FromRodrigues()

Vec4d netdem::Math::Quaternion::FromRodrigues ( double rot_angle,
Vec3d const & rot_axis )
static

◆ Multiply()

Vec4d netdem::Math::Quaternion::Multiply ( Vec4d const & p,
Vec4d const & q )
static

◆ Normalize()

void netdem::Math::Quaternion::Normalize ( Vec4d *const q)
static

◆ ToMatrix()

Mat3d netdem::Math::Quaternion::ToMatrix ( Vec4d const & quat)
static

◆ ToRodrigues()

std::tuple< double, Vec3d > netdem::Math::Quaternion::ToRodrigues ( Vec4d const & quat)
static

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