Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
Enumerations
a
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
v
Enumerator
a
b
c
d
f
g
h
i
l
m
n
o
p
r
s
t
u
v
x
y
Classes
Class List
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
Enumerations
a
b
c
d
e
f
g
h
i
k
l
m
o
p
r
s
t
u
w
x
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
Properties
a
b
c
d
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
Related Functions
:
a
b
c
d
e
f
g
i
m
o
q
r
s
v
w
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
x
z
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
b
c
d
e
f
h
k
l
o
p
r
s
t
u
x
z
Enumerator
b
c
d
f
h
i
k
l
n
o
p
r
s
t
u
v
w
x
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
3rdparty
qwt
src
qwt_bezier.h
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
#ifndef QWT_BEZIER_H
11
#define QWT_BEZIER_H
12
13
#include "
qwt_global.h
"
14
15
class
QPointF;
16
class
QPolygonF;
17
29
class
QWT_EXPORT
QwtBezier
30
{
31
public
:
32
QwtBezier
(
double
tolerance = 0.5 );
33
~
QwtBezier
();
34
35
void
setTolerance(
double
tolerance );
36
double
tolerance()
const
;
37
38
QPolygonF toPolygon(
const
QPointF& p1,
const
QPointF& cp1,
39
const
QPointF& cp2,
const
QPointF& p2 )
const
;
40
41
void
appendToPolygon(
const
QPointF& p1,
const
QPointF& cp1,
42
const
QPointF& cp2,
const
QPointF& p2, QPolygonF& polygon )
const
;
43
44
static
QPointF pointAt(
const
QPointF& p1,
const
QPointF& cp1,
45
const
QPointF& cp2,
const
QPointF& p2,
double
t );
46
47
private
:
48
double
m_tolerance
;
49
double
m_flatness
;
50
};
51
56
inline
double
QwtBezier::tolerance
()
const
57
{
58
return
m_tolerance
;
59
}
60
61
#endif
QwtBezier::tolerance
double tolerance() const
Definition:
qwt_bezier.h:56
qwt_global.h
QwtBezier::m_flatness
double m_flatness
Definition:
qwt_bezier.h:49
QwtBezier
An implementation of the de Casteljau’s Algorithm for interpolating Bézier curves.
Definition:
qwt_bezier.h:29
QwtBezier::m_tolerance
double m_tolerance
Definition:
qwt_bezier.h:48
QWT_EXPORT
#define QWT_EXPORT
Definition:
qwt_global.h:38
plotjuggler
Author(s): Davide Faconti
autogenerated on Sun Jan 26 2025 03:23:24