Signal/Geometry Processing Library (SPL) 1.1.24 |

Public Types | Public Member Functions | Public Attributes | List of all members
SPL::Quaternion< T > Struct Template Reference
CGAL Utilities

A quaternion represented in terms of its scalar and vector parts. More...

`#include <cgalUtil.hpp>`

## Public Types
typedef T::FT | Real
| The field type for the CGAL kernel. More...
typedef CGAL::Vector_3< T > | Vector_3
| The 3-dimensional vector type. More...

## Public Member Functions
| Quaternion ()
| Quaternion (Real scalar_, const Vector_3 &vector_)

## Public Attributes
Real | scalar
| The scalar part of the quaternion. More...
Vector_3 | vector
| The vector part of the quaternion. More...

## Detailed Description

### template<class T>
struct SPL::Quaternion< T >

A quaternion represented in terms of its scalar and vector parts.

## Member Typedef Documentation

template<class T>

typedef T::FT SPL::Quaternion< T >::Real

The field type for the CGAL kernel.

template<class T>

typedef CGAL::Vector_3<T> SPL::Quaternion< T >::Vector_3

The 3-dimensional vector type.

## Constructor & Destructor Documentation

template<class T>

SPL::Quaternion< T >::Quaternion | ( |  | ) |
| inline

Create a quaternion.

template<class T>

SPL::Quaternion< T >::Quaternion | ( | Real | scalar_,
|  | const Vector_3 & | vector_
| ) |  |
| inline

Create a quaternion with the specified scalar and vector parts.

## Member Data Documentation

template<class T>

Real SPL::Quaternion< T >::scalar

The scalar part of the quaternion.

template<class T>

Vector_3 SPL::Quaternion< T >::vector

The vector part of the quaternion.

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

- cgalUtil.hpp