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... | |
A quaternion represented in terms of its scalar and vector parts.
| typedef T::FT SPL::Quaternion< T >::Real |
The field type for the CGAL kernel.
| typedef CGAL::Vector_3<T> SPL::Quaternion< T >::Vector_3 |
The 3-dimensional vector type.
|
inline |
Create a quaternion.
|
inline |
Create a quaternion with the specified scalar and vector parts.
| Real SPL::Quaternion< T >::scalar |
The scalar part of the quaternion.
| Vector_3 SPL::Quaternion< T >::vector |
The vector part of the quaternion.