KJB
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
gr_matrix.h
Go to the documentation of this file.
1 /* $Id: gr_matrix.h 10609 2011-09-29 19:50:34Z predoehl $ */
2 /* =========================================================================== *
3  |
4  | Copyright (c) 1994-2010 by Kobus Barnard (author)
5  |
6  | Personal and educational use of this code is granted, provided that this
7  | header is kept intact, and that the authorship is not misrepresented, that
8  | its use is acknowledged in publications, and relevant papers are cited.
9  |
10  | For other use contact the author (kobus AT cs DOT arizona DOT edu).
11  |
12  | Please note that the code in this file has not necessarily been adequately
13  | tested. Naturally, there is no guarantee of performance, support, or fitness
14  | for any particular task. Nonetheless, I am interested in hearing about
15  | problems that you encounter.
16  |
17  | Author: Kyle Simek
18  * =========================================================================== */
19 
20 #ifndef KJB_GR_MATRIX_H
21 #define KJB_GR_MATRIX_H
22 
23 #include <g_cpp/g_quaternion.h>
24 #include <m_cpp/m_matrix.h>
25 #include <m_cpp/m_vector.h>
26 
33 namespace kjb
34 {
35 
36 void rotate(Matrix& m, const Quaternion& r);
37 
43 void translate(Matrix& m, const Vector& v_in);
44 
45 }
46 #endif
Definition for the Matrix class, a thin wrapper on the KJB Matrix struct and its related functionalit...
void translate(kjb::Axis_aligned_rectangle_2d &box, const kjb::Vector &t)
Definition: gr_2D_bounding_box.h:258
void rotate(Matrix &m, const Quaternion &r)
Definition: gr_matrix.cpp:30
r
Definition: APPgetLargeConnectedEdges.m:127
for m
Definition: APPgetLargeConnectedEdges.m:64
Definition for the Vector class, a thin wrapper on the KJB Vector struct and its related functionalit...