Commit Graph

18 Commits

Author SHA1 Message Date
Mat Sutcliffe
b1185eb541 Issue #77 toIcon returns a simple enum instead of a full object 2020-12-19 18:50:31 +00:00
Mat Sutcliffe
f2eba38282 Use QString::arg instead of std::sprintf 2020-12-15 23:35:57 +00:00
Mat Sutcliffe
40362c1f4a Use sprintf to decompose the degrees, minutes, and seconds
Instead of repeatedly multiplying by 100, which can cause
epsilon errors to grow to too significant magnitudes.
2020-12-08 21:02:19 +00:00
Mat Sutcliffe
39e9e6f128 Issue #77 Break dependency of icon on angle 2020-08-29 14:16:20 +01:00
Mat Sutcliffe
e9a4c49d68 Ref T547 Update license masthead in all source code files. 2019-02-22 20:36:43 +00:00
Klaus Basan
d713e8a264 Angle, added 360deg functions + formatting 2019-02-22 20:35:55 +00:00
Klaus Basan
7807a05f2a Ref T429, functions for angle, heading and situation
* normalize angle -180/+180 when set on situation
* clamp vector function
2018-11-16 02:49:53 +01:00
Klaus Basan
c1ac229875 Formatting 2018-05-08 16:06:32 +02:00
Klaus Basan
06b07ac4c6 Formatting 2018-04-13 23:36:58 +02:00
Klaus Basan
58b5dd1278 Using std::copysign 2017-09-24 19:52:05 +01:00
Klaus Basan
9445bd56a3 Ref T111, normalize utility functions 2017-09-24 19:51:33 +01:00
Klaus Basan
4e45496431 Ref T111, different implementation as recommended by MS 2017-09-24 19:51:31 +01:00
Klaus Basan
e55480737e Ref T111, lat/lng/angle changes
* get struct CAngle::DegMinSecFractionalSec to obtain parts
* round to epsilon utility functions and fix (qint64)
2017-09-24 19:51:09 +01:00
Klaus Basan
9eff387207 Removed deprecated funtions and changed code to use new functions 2017-01-10 23:47:10 +00:00
Roland Winklmeier
3d7a39ed00 Fix BlackMisc header includes
* Include only what is used
* Use forward declaration when possible
* Sorted includes

refs #630
2016-05-13 17:05:49 +02:00
Mathew Sutcliffe
7483195b47 refs #484 Trigonometry methods in CAngle. 2015-11-19 21:04:54 +00:00
Mathew Sutcliffe
12440dede5 Fixed include order. 2015-05-12 20:35:57 +01:00
Mathew Sutcliffe
2363fab8c1 refs #396 move Blackmisc PQ classes into subfolder 2015-04-07 19:22:30 +02:00