KJB
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces | Functions
g_util.h File Reference
#include <m_cpp/m_vector.h>
#include <m_cpp/m_matrix.h>
#include <m_cpp/m_vector_d.h>
#include <m_cpp/m_matrix_d.h>

Go to the source code of this file.

Namespaces

 kjb
 Classes and functions for dealing with trajectory files.
 
 kjb::geometry
 

Functions

Matrix kjb::geometry::get_translation_matrix (const Vector &v)
 Creates a translation matrix from the given vector. More...
 
Matrix kjb::geometry::get_rotation_matrix (double theta)
 Creates a (2D) rotation matrix from the given angle. More...
 
Matrix kjb::geometry::get_rotation_matrix (const Vector &u, const Vector &v)
 Creates a ND rotation matrix that rotates the first argument to the second one. More...
 
template<size_t D>
Matrix_d< D, Dkjb::geometry::get_rotation_matrix (const Vector_d< D > &u, const Vector_d< D > &v)
 Creates a ND rotation matrix that rotates the first argument to the second one. More...
 
Vector kjb::geometry::projective_to_euclidean (const Vector &v)
 Converts coordinates in projective space to coordinates in euclidean space. More...
 
Vector kjb::geometry::projective_to_euclidean_2d (const Vector &v)
 Converts coordinates in (2D) projective space to coordinates in (2D) euclidean space. More...
 
Vector kjb::geometry::euclidean_to_projective (const Vector &v)
 Converts coordinates in euclidean space to coordinates in projective space. More...
 
Vector kjb::geometry::euclidean_to_projective_2d (const Vector &v)
 Converts coordinates in (2D) euclidean space to coordinates in (2D) projective space. More...
 
bool kjb::geometry::is_point_in_polygon_new (Matrix poly, Vector point)
 
Matrix kjb::geometry::polygon_to_mask (Matrix poly, int height, int width)