This file contains various CGAL utility code. More...
#include <SPL/config.hpp>#include <SPL/math.hpp>#include <cmath>#include <CGAL/Cartesian.h>#include <CGAL/Vector_3.h>#include <CGAL/Point_3.h>Go to the source code of this file.
Classes | |
| struct | SPL::Rotation_3< T > |
| A 3-D rotation. More... | |
| struct | SPL::Quaternion< T > |
| A quaternion represented in terms of its scalar and vector parts. More... | |
Functions | |
| template<class T > | |
| T::FT | SPL::norm (const typename CGAL::Vector_3< T > &v) |
| Compute the norm of a vector. More... | |
| template<class T > | |
| T::Vector_3 | SPL::normalize (const typename CGAL::Vector_3< T > &v) |
| Compute a unit vector. More... | |
| template<class T > | |
| T::FT | SPL::angleBetweenVectors (const typename CGAL::Vector_3< T > &u, const CGAL::Vector_3< T > &v) |
| Compute the angle between two vectors. More... | |
| template<class T > | |
| Quaternion< T > | SPL::operator* (const Quaternion< T > &q, const Quaternion< T > &r) |
| Compute the product of two quaternions. More... | |
| template<class T > | |
| Quaternion< T > | SPL::operator/ (const Quaternion< T > &q, const Quaternion< T > &r) |
| Compute the quotient of two quaternions. More... | |
| template<class T > | |
| Quaternion< T > | SPL::rotationToQuaternion (const Rotation_3< T > &rot) |
| Convert a rotation into its corresponding quaternion. More... | |
| template<class T > | |
| Rotation_3< T > | SPL::quaternionToRotation (const Quaternion< T > &q) |
| Convert a unit-norm quaternion into its corresponding rotation. More... | |
This file contains various CGAL utility code.