source: ntrip/trunk/BNC/qwt/qwt_spline_pleasing.h

Last change on this file was 11158, checked in by stuerze, 2 days ago

deprecated functions exchanged libs updated

File size: 1.1 KB
Line 
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_SPLINE_PLEASING_H
11#define QWT_SPLINE_PLEASING_H
12
13#include "qwt_spline.h"
14
15/*!
16 \brief A spline with G1 continuity
17
18 QwtSplinePleasing is some sort of cardinal spline, with
19 non C1 continuous extra rules for narrow angles. It has a locality of 2.
20
21 \note The algorithm is the one offered by a popular office package.
22 */
23class QWT_EXPORT QwtSplinePleasing : public QwtSplineG1
24{
25 public:
26 QwtSplinePleasing();
27 virtual ~QwtSplinePleasing();
28
29 virtual uint locality() const QWT_OVERRIDE;
30
31 virtual QPainterPath painterPath( const QPolygonF& ) const QWT_OVERRIDE;
32 virtual QVector< QLineF > bezierControlLines( const QPolygonF& ) const QWT_OVERRIDE;
33};
34
35#endif
Note: See TracBrowser for help on using the repository browser.