#include "igl_inline.h"
#include <Eigen/Geometry>
#include "snap_to_canonical_view_quat.cpp"
Go to the source code of this file.
|
template<typename Scalarq , typename Scalars > |
bool | igl::snap_to_canonical_view_quat (const Eigen::Quaternion< Scalarq > &q, const double threshold, Eigen::Quaternion< Scalars > &s) |
| Snap the quaternion q to the nearest canonical view quaternion.
|
|
template<typename Q_type > |
bool | igl::snap_to_canonical_view_quat (const Q_type *q, const Q_type threshold, Q_type *s) |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
|