libigl v2.5.0
Loading...
Searching...
No Matches
rotation_matrix_from_directions.h File Reference
#include "igl_inline.h"
#include <Eigen/Core>
#include "rotation_matrix_from_directions.cpp"

Go to the source code of this file.

Namespaces

namespace  igl
 

Functions

template<typename Scalar >
Eigen::Matrix< Scalar, 3, 3 > igl::rotation_matrix_from_directions (const Eigen::Matrix< Scalar, 3, 1 > v0, const Eigen::Matrix< Scalar, 3, 1 > v1)
 Given 2 vectors centered on origin calculate the rotation matrix from first to the second.