Euphoria
eu::AA Struct Reference

Axis + Angle. More...

Public Member Functions

 AA (const n3 &ax, const An &ang)

Static Public Member Functions

static std::optional< AAfrom (const Q &q)

Public Attributes

n3 axis
 a unit-vector
An angle
 rotation according to right-hand rule

Detailed Description

Axis + Angle.

Definition at line 18 of file axisangle.h.

Constructor & Destructor Documentation

◆ AA()

eu::AA::AA ( const n3 & ax,
const An & ang )

Member Function Documentation

◆ from()

std::optional< AA > eu::AA::from ( const Q & q)
staticnodiscard

Member Data Documentation

◆ angle

An eu::AA::angle

rotation according to right-hand rule

Definition at line 24 of file axisangle.h.

◆ axis

n3 eu::AA::axis

a unit-vector

Definition at line 21 of file axisangle.h.


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