Main Page
Namespaces
Classes
Files
File List
File Members
src
tuw_geometry
command.cpp
Go to the documentation of this file.
1
#include "
tuw_geometry/command.h
"
2
using namespace
tuw
;
3
4
Command::Command
() :
cv
::Vec<double,2>( 0, 0 ) {}
5
6
Command::Command
(
double
v
,
double
w
) :
cv
::Vec<double,2>( v, w ) {}
7
8
Command::Command
(
const
Command
&o ) :
cv
::Vec<double,2>( o) {}
9
10
double
&
Command::v
(){
11
return
this->val[0];
12
}
13
14
const
double
&
Command::v
()
const
{
15
return
this->val[0];
16
}
17
18
double
&
Command::w
(){
19
return
this->val[1];
20
}
21
22
const
double
&
Command::w
()
const
{
23
return
this->val[1];
24
}
25
26
void
Command::set
(
double
v
,
double
w
) {
27
this->val[0] =
v
, this->val[1] =
w
;
28
};
command.h
tuw::Command::set
void set(double v, double w)
Definition:
command.cpp:26
cv
Definition:
point2d.h:208
tuw::Command::w
double & w()
Definition:
command.cpp:18
tuw
Definition:
command.h:8
tuw::Command::v
double & v()
Definition:
command.cpp:10
tuw::Command::Command
Command()
constructor
Definition:
command.cpp:4
tuw::Command
Definition:
command.h:16
tuw_geometry
Author(s): Markus Bader
autogenerated on Mon Jun 10 2019 15:33:08