Main MRPT website
>
C++ reference for MRPT 1.5.7
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
base-precomp.h
types.h
p
GLfloat GLfloat p
Definition:
glext.h:5587
mrpt::utils
Classes for serialization, sockets, ini-file manipulation, streams, list of properties-values,...
Definition:
zip.h:16
mrpt::utils::operator<<
CStream BASE_IMPEXP & operator<<(mrpt::utils::CStream &s, const char *a)
Definition:
CStream.cpp:130
mrpt::utils::TPixelCoord
A pair (x,y) of pixel coordinates (integer resolution).
Definition:
TPixelCoord.h:38
mrpt::utils::TPixelCoordf
A pair (x,y) of pixel coordinates (subpixel resolution).
Definition:
TPixelCoord.h:22
Page generated by
Doxygen 1.9.1
for MRPT 1.5.7 Git: 5902e14cc Wed Apr 24 15:04:01 2019 +0200 at mar 26 may 2026 13:12:03 CEST