libE57Format 3.1.1
C++ library to read & write the E57 file format for point cloud data
Loading...
Searching...
No Matches
e57::Quaternion Struct Reference

Represents a rigid body rotation. More...

#include <E57SimpleData.h>

Public Member Functions

bool operator!= (const Quaternion &rhs) const
 
bool operator== (const Quaternion &rhs) const
 

Static Public Member Functions

static Quaternion identity ()
 Return the identity quaternion.
 

Public Attributes

double w = 1.0
 The real part of the quaternion (shall be nonnegative)
 
double x = 0.0
 The i coefficient of the quaternion.
 
double y = 0.0
 The j coefficient of the quaternion.
 
double z = 0.0
 The k coefficient of the quaternion.
 

Detailed Description

Represents a rigid body rotation.

Member Function Documentation

◆ identity()

static Quaternion e57::Quaternion::identity ( )
inlinestatic

Return the identity quaternion.

Returns
A quaternion of (1.0, 0.0, 0.0, 0.0).

◆ operator!=()

bool e57::Quaternion::operator!= ( const Quaternion rhs) const
inline

◆ operator==()

bool e57::Quaternion::operator== ( const Quaternion rhs) const
inline

Member Data Documentation

◆ w

double e57::Quaternion::w = 1.0

The real part of the quaternion (shall be nonnegative)

◆ x

double e57::Quaternion::x = 0.0

The i coefficient of the quaternion.

◆ y

double e57::Quaternion::y = 0.0

The j coefficient of the quaternion.

◆ z

double e57::Quaternion::z = 0.0

The k coefficient of the quaternion.


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