RoboidControl
Loading...
Searching...
No Matches
Axis.h
Go to the documentation of this file.
1// This Source Code Form is subject to the terms of the Mozilla Public
2// License, v. 2.0.If a copy of the MPL was not distributed with this
3// file, You can obtain one at https ://mozilla.org/MPL/2.0/.
4
5#ifndef AXIS_H
6#define AXIS_H
7
8#include "Angle.h"
9
10namespace Passer {
11namespace LinearAlgebra {
12
13struct Vector3;
14
15class Axis {
16public:
19
20 Axis();
21 Axis(Angle horizontal, Angle vertical);
22 Axis(Vector3 v);
23
24 const static Axis forward;
25 const static Axis back;
26 const static Axis up;
27 const static Axis down;
28 const static Axis left;
29 const static Axis right;
30
32};
33
34} // namespace LinearAlgebra
35} // namespace Passer
36using namespace Passer::LinearAlgebra;
37
38#endif
Definition Axis.h:15
Angle horizontalAngle
Definition Axis.h:17
static const Axis back
Definition Axis.h:25
static const Axis up
Definition Axis.h:26
Vector3 ToVector3()
Definition Axis.cpp:34
Axis()
Definition Axis.cpp:12
Angle verticalAngle
Definition Axis.h:18
static const Axis down
Definition Axis.h:27
static const Axis right
Definition Axis.h:29
static const Axis left
Definition Axis.h:28
static const Axis forward
Definition Axis.h:24
Definition Angle.h:9
Definition AbsoluteEncoder.h:5
A 3-dimensional vector.
Definition Vector3.h:42