Changeset 8127 in ntrip for trunk/BNC/qwt/qwt_point_polar.h


Ignore:
Timestamp:
May 10, 2017, 3:20:54 PM (7 years ago)
Author:
stoecker
Message:

update qwt and qwtpolar, many QT5 fixes (unfinished)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/qwt/qwt_point_polar.h

    r4331 r8127  
    6363/*!
    6464    Constructs a null point, with a radius and azimuth set to 0.0.
    65     \sa QPointF::isNull
     65    \sa QPointF::isNull()
    6666*/
    6767inline QwtPointPolar::QwtPointPolar():
     
    195195}
    196196
     197inline QwtPointPolar qwtFastPos2Polar( const QPointF &pos )
     198{
     199    return QwtPointPolar( qwtFastAtan2( pos.y(), pos.x() ),
     200        qSqrt( qwtSqr( pos.x() ) + qwtSqr( pos.y() ) ) );
     201}
     202
    197203#endif
Note: See TracChangeset for help on using the changeset viewer.