Main MRPT website
>
C++ reference for MRPT 1.5.9
utils
base/src/utils/types.cpp
Go to the documentation of this file.
1
/* +---------------------------------------------------------------------------+
2
| Mobile Robot Programming Toolkit (MRPT) |
3
| http://www.mrpt.org/ |
4
| |
5
| Copyright (c) 2005-2017, Individual contributors, see AUTHORS file |
6
| See: http://www.mrpt.org/Authors - All rights reserved. |
7
| Released under BSD License. See details in http://www.mrpt.org/License |
8
+---------------------------------------------------------------------------+ */
9
10
#include "
base-precomp.h
"
// Precompiled headers
11
12
13
#include <
mrpt/utils/types.h
>
14
#include <
mrpt/utils/TPixelCoord.h
>
15
16
using namespace
mrpt::utils
;
17
using namespace
std
;
18
19
20
/*---------------------------------------------------------------
21
<< for TPixelCoordf
22
---------------------------------------------------------------*/
23
std::ostream&
mrpt::utils::operator <<
(std::ostream& o,
const
TPixelCoordf
&
p
)
24
{
25
o <<
"("
<<
p
.x <<
","
<<
p
.y <<
")"
;
26
return
o;
27
}
28
29
/*---------------------------------------------------------------
30
<< for TPixelCoord
31
---------------------------------------------------------------*/
32
std::ostream&
mrpt::utils::operator <<
(std::ostream& o,
const
TPixelCoord
&
p
)
33
{
34
o <<
"("
<<
p
.x <<
","
<<
p
.y <<
")"
;
35
return
o;
36
}
TPixelCoord.h
mrpt::utils::TPixelCoordf
A pair (x,y) of pixel coordinates (subpixel resolution).
Definition:
TPixelCoord.h:21
mrpt::utils
Classes for serialization, sockets, ini-file manipulation, streams, list of properties-values, timewatch, extensions to STL.
Definition:
zip.h:16
mrpt::utils::TPixelCoord
A pair (x,y) of pixel coordinates (integer resolution).
Definition:
TPixelCoord.h:37
std
STL namespace.
mrpt::utils::operator<<
CStream BASE_IMPEXP & operator<<(mrpt::utils::CStream &s, const char *a)
Definition:
CStream.cpp:130
types.h
p
GLfloat GLfloat p
Definition:
glext.h:5587
base-precomp.h
Page generated by
Doxygen 1.8.14
for MRPT 1.5.9 Git: 690a4699f Wed Apr 15 19:29:53 2020 +0200 at miƩ abr 15 19:30:12 CEST 2020