3rdparty
qwt
src
qwt_point_3d.cpp
Go to the documentation of this file.
1
/******************************************************************************
2
* Qwt Widget Library
3
* Copyright (C) 1997 Josef Wilgen
4
* Copyright (C) 2002 Uwe Rathmann
5
*
6
* This library is free software; you can redistribute it and/or
7
* modify it under the terms of the Qwt License, Version 1.0
8
*****************************************************************************/
9
10
#include "
qwt_point_3d.h
"
11
12
#if QT_VERSION >= 0x050200
13
14
static
QwtPoint3D
qwtPointToPoint3D(
const
QPointF& point )
15
{
16
return
QwtPoint3D
( point );
17
}
18
19
#endif
20
21
namespace
22
{
23
static
const
struct
RegisterQwtPoint3D
24
{
25
inline
RegisterQwtPoint3D()
26
{
27
qRegisterMetaType< QwtPoint3D >();
28
29
#if QT_VERSION >= 0x050200
30
QMetaType::registerConverter< QPointF, QwtPoint3D >( qwtPointToPoint3D );
31
#endif
32
}
33
} qwtRegisterQwtPoint3D;
34
}
35
36
#ifndef QT_NO_DEBUG_STREAM
37
38
#include <qdebug.h>
39
40
QDebug
operator<<
( QDebug debug,
const
QwtPoint3D
& point )
41
{
42
debug
.nospace() <<
"QwtPoint3D("
<< point.
x
()
43
<<
","
<< point.
y
() <<
","
<< point.
z
() <<
")"
;
44
return
debug
.space();
45
}
46
47
#endif
48
QwtPoint3D::y
double y() const
Definition:
qwt_point_3d.h:109
QwtPoint3D::x
double x() const
Definition:
qwt_point_3d.h:103
QwtPoint3D::z
double z() const
Definition:
qwt_point_3d.h:115
debug
#define debug()
Definition:
mqtt_client.cpp:14
operator<<
QDebug operator<<(QDebug debug, const QwtPoint3D &point)
Definition:
qwt_point_3d.cpp:40
qwt_point_3d.h
QwtPoint3D
QwtPoint3D class defines a 3D point in double coordinates.
Definition:
qwt_point_3d.h:22
plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:46