Changeset 8127 in ntrip for trunk/BNC/qwt/qwt_curve_fitter.h
- Timestamp:
- May 10, 2017, 3:20:54 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/qwt/qwt_curve_fitter.h
r4271 r8127 100 100 smoothed curve. 101 101 102 The runtime of the algorithm increases non linear ( worst case O( n*n ) ) 103 and might be very slow for huge polygons. To avoid performance issues 104 it might be useful to split the polygon ( setChunkSize() ) and to run the algorithm 105 for these smaller parts. The disadvantage of having no interpolation 106 at the borders is for most use cases irrelevant. 107 102 108 The smoothed curve consists of a subset of the points that defined the 103 109 original curve. … … 117 123 double tolerance() const; 118 124 125 void setChunkSize( uint ); 126 uint chunkSize() const; 127 119 128 virtual QPolygonF fitCurve( const QPolygonF & ) const; 120 129 121 130 private: 131 virtual QPolygonF simplify( const QPolygonF & ) const; 132 122 133 class Line; 123 134
Note:
See TracChangeset
for help on using the changeset viewer.