axis-label.hpp
Go to the documentation of this file.
1 //
2 // Copyright (c) 2018 CNRS
3 //
4 
5 #ifndef __pinocchio_axis_label_hpp__
6 #define __pinocchio_axis_label_hpp__
7 
8 namespace pinocchio
9 {
10 
18  template<int axis> inline char axisLabel();
19 
20  template<> inline char axisLabel<0>() { return 'X'; }
21  template<> inline char axisLabel<1>() { return 'Y'; }
22  template<> inline char axisLabel<2>() { return 'Z'; }
23 }
24 
25 #endif // __pinocchio_axis_label_hpp__
char axisLabel< 2 >()
Definition: axis-label.hpp:22
char axisLabel< 1 >()
Definition: axis-label.hpp:21
Main pinocchio namespace.
Definition: timings.cpp:30
char axisLabel< 0 >()
Definition: axis-label.hpp:20
char axisLabel()
Generate the label (X, Y or Z) of the axis relative to its index.


pinocchio
Author(s):
autogenerated on Tue Jun 1 2021 02:45:02