FOUND
Loading...
Searching...
No Matches
found::EulerAngles Class Reference

An EulerAngle is a mutable Object representing Euler Angles of a 3D point. More...

#include <attitude-utils.hpp>

Public Member Functions

constexpr EulerAngles (decimal ra=DECIMAL(0.0), decimal de=DECIMAL(0.0), decimal roll=DECIMAL(0.0))
 Initializes an EulerAngles with corresponding parameters.
 

Public Attributes

decimal ra
 Right ascension. How far we yaw left. Yaw is performed first.
 
decimal de
 Declination. How far we pitch up (or down if negative). Pitch is performed second, after yaw.
 
decimal roll
 How far we roll counterclockwise. Roll is performed last (after yaw and pitch).
 

Detailed Description

An EulerAngle is a mutable Object representing Euler Angles of a 3D point.

A "human-readable" way to represent a 3d rotation or orientation. Euler angles roughly correspond to yaw, pitch, and roll of an airplane, which are easy for humans to understand. There's no one single way to store Euler angles. We use z-y'-x'' angles, according to the notation used on the wikipedia page for euler angles.

Constructor & Destructor Documentation

◆ EulerAngles()

constexpr found::EulerAngles::EulerAngles ( decimal  ra = DECIMAL(0.0),
decimal  de = DECIMAL(0.0),
decimal  roll = DECIMAL(0.0) 
)
inlineconstexpr

Initializes an EulerAngles with corresponding parameters.

Parameters
raThe Right Ascension of the Euler Angle
deThe Declination of the Euler Angle
rollThe roll of the Euler Angle

Member Data Documentation

◆ de

decimal found::EulerAngles::de

Declination. How far we pitch up (or down if negative). Pitch is performed second, after yaw.

◆ ra

decimal found::EulerAngles::ra

Right ascension. How far we yaw left. Yaw is performed first.

◆ roll

decimal found::EulerAngles::roll

How far we roll counterclockwise. Roll is performed last (after yaw and pitch).


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