KJB
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
psi_units.h
Go to the documentation of this file.
1 /* $Id: psi_units.h 10707 2011-09-29 20:05:56Z predoehl $ */
2 /* {{{=========================================================================== *
3  |
4  | Copyright (c) 1994-2011 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 // vim: tabstop=4 shiftwidth=4 foldmethod=marker
21 
22 #ifndef PSI_UNITS_VERSION_1_H
23 #define PSI_UNITS_VERSION_1_H
24 
25 namespace kjb
26 {
27 namespace psi
28 {
29 
30 enum Unit_type { UNKNOWN_UNIT, // error/bug
31  SPACIAL_UNIT, // position, height, width, etc.
32  VSPACIAL_UNIT, // velocity
33  ASPACIAL_UNIT, // acceleration
34  ANGLE_UNIT, // angles and orientations
35  VANGLE_UNIT, // angular velocity
36  AANGLE_UNIT, // angular acceleration
37  TIME_UNIT, // seconds
38  MASS_UNIT, // kilograms
39  LENGTH_UNIT, // meters
40  DISCRETE_UNIT, // indexes
41  OTHER_UNIT}; // placeholder (how to handle oddballs?)
42 
43 
44 } // namespace psi
45 } // namespace kjb
46 
47 #endif
Definition: psi_units.h:40
Definition: psi_units.h:37
Definition: psi_units.h:38
Definition: psi_units.h:30
Unit_type
Definition: psi_units.h:30
Definition: psi_units.h:32
Definition: psi_units.h:35
Definition: psi_units.h:41
Definition: psi_units.h:36
Definition: psi_units.h:39
Definition: psi_units.h:31
Definition: psi_units.h:34
Definition: psi_units.h:33