Rise
The Vieneo Province
Loading...
Searching...
No Matches
RigidProp::Quat Struct Reference

#include <RigidProp.h>

Public Member Functions

Quat operator* (Quat b) const
Vec Rotate (Vec v) const
Vec Unrotate (Vec v) const
void Normalize ()

Static Public Member Functions

static Quat Axis (Vec axis, double angle)
static Quat Ypr (double yaw, double pitch, double roll)

Public Attributes

double x =0
double y =0
double z =0
double w =1

Detailed Description

Definition at line 27 of file RigidProp.h.

Member Function Documentation

◆ Axis()

Quat RigidProp::Quat::Axis ( Vec axis,
double angle )
inlinestatic

Definition at line 36 of file RigidProp.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Normalize()

void RigidProp::Quat::Normalize ( )
inline

Definition at line 35 of file RigidProp.h.

Here is the caller graph for this function:

◆ operator*()

Quat RigidProp::Quat::operator* ( Quat b) const
inline

Definition at line 29 of file RigidProp.h.

◆ Rotate()

Vec RigidProp::Quat::Rotate ( Vec v) const
inline

Definition at line 33 of file RigidProp.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Unrotate()

Vec RigidProp::Quat::Unrotate ( Vec v) const
inline

Definition at line 34 of file RigidProp.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Ypr()

Quat RigidProp::Quat::Ypr ( double yaw,
double pitch,
double roll )
inlinestatic

Definition at line 39 of file RigidProp.h.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ w

double RigidProp::Quat::w =1

Definition at line 28 of file RigidProp.h.

◆ x

double RigidProp::Quat::x =0

Definition at line 28 of file RigidProp.h.

◆ y

double RigidProp::Quat::y =0

Definition at line 28 of file RigidProp.h.

◆ z

double RigidProp::Quat::z =0

Definition at line 28 of file RigidProp.h.


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