linear_algebra.cpp File Reference

#include <iostream>
#include <limits>
#include <btk/core/math/linear_algebra.hpp>

Functions

double point_dihedral (BTKVector const &a, BTKVector const &b, BTKVector const &c, BTKVector const &d)
 Calculate the dihedral angle between the planes a-b-c and d-c-b.
bool within_sqr_dist (BTKVector const &a, BTKVector const &b, double r_squared)
 See if two vectors are within a squared distance threshold of one another.
BTKVector set_vector_from_dihedral (BTKVector const &v3, BTKVector const &v2, BTKVector const &v1, double len34, double ang234, double dih1234)
 calculate vector position from a dihedral angle
BTKVector set_vector_from_two_angles (BTKVector const &v3, BTKVector const &v2, BTKVector const &v1, double len34, double ang234, double ang134)
 Calculate vector position from two vector angles.

Generated on Sun Jul 15 20:46:28 2007 for BTK Core by  doxygen 1.5.1