RoboidControl
Loading...
Searching...
No Matches
LinearAlgebra
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
10
namespace
Passer
{
11
namespace
LinearAlgebra {
12
13
struct
Vector3
;
14
15
class
Axis
{
16
public
:
17
Angle
horizontalAngle
;
18
Angle
verticalAngle
;
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
31
Vector3
ToVector3
();
32
};
33
34
}
// namespace LinearAlgebra
35
}
// namespace Passer
36
using namespace
Passer::LinearAlgebra
;
37
38
#endif
Angle.h
Passer::LinearAlgebra::AngleOf< float >
Passer::LinearAlgebra::Axis
Definition
Axis.h:15
Passer::LinearAlgebra::Axis::horizontalAngle
Angle horizontalAngle
Definition
Axis.h:17
Passer::LinearAlgebra::Axis::back
static const Axis back
Definition
Axis.h:25
Passer::LinearAlgebra::Axis::up
static const Axis up
Definition
Axis.h:26
Passer::LinearAlgebra::Axis::ToVector3
Vector3 ToVector3()
Definition
Axis.cpp:34
Passer::LinearAlgebra::Axis::Axis
Axis()
Definition
Axis.cpp:12
Passer::LinearAlgebra::Axis::verticalAngle
Angle verticalAngle
Definition
Axis.h:18
Passer::LinearAlgebra::Axis::down
static const Axis down
Definition
Axis.h:27
Passer::LinearAlgebra::Axis::right
static const Axis right
Definition
Axis.h:29
Passer::LinearAlgebra::Axis::left
static const Axis left
Definition
Axis.h:28
Passer::LinearAlgebra::Axis::forward
static const Axis forward
Definition
Axis.h:24
Passer::LinearAlgebra
Definition
Angle.h:9
Passer
Definition
AbsoluteEncoder.h:5
Passer::LinearAlgebra::Vector3
A 3-dimensional vector.
Definition
Vector3.h:42
Generated by
1.9.8