OpenLexocad
27.0
Rotation.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <
Geom/geom_defines.h
>
4
5
namespace
Geom
6
{
7
class
XYZ
;
8
class
Vec
;
9
10
}
// namespace Geom
11
12
13
14
namespace
Base
15
{
18
class
GEOM_EXPORT
Rotation
19
{
20
public
:
21
Rotation
(
void
);
22
Rotation
(
const
Geom::Vec
& axis,
const
double
radians);
23
Rotation
(
double
m[4][4]);
24
void
getValue(
Geom::Vec
& axis,
double
& radians)
const
;
25
Rotation
& operator*=(
double
q);
26
27
Rotation
& setValue(
double
m[4][4]);
28
Rotation
& setValue(
const
Geom::Vec
& axis,
const
double
radians);
29
30
void
multVec(
const
Geom::Vec
& src,
Geom::Vec
& dst)
const
;
31
32
private
:
33
double
quat[4];
34
};
35
36
}
// namespace Base
Geom
Definition:
Rotation.h:5
geom_defines.h
GEOM_EXPORT
#define GEOM_EXPORT
Definition:
geom_defines.h:8
Geom::XYZ
Definition:
XYZ.h:46
Geom::Vec
Defines a non-persistent vector in 3D space.
Definition:
Vec.h:45
Base
Definition:
AbstractXMLReader.h:8
Base::Rotation
Definition:
Rotation.h:18
lexocad
Base
include
Base
Rotation.h
Generated by
1.8.15