Commit Graph

23 Commits

Author SHA1 Message Date
wmayer
8b8f2647d0 Base: fix bugprone reserved identifier 2023-11-20 20:30:15 +01:00
wmayer
365e7136cd fix bugprone-*
* bugprone-throw-keyword-missing
* bugprone-unhandled-self-assignment
* bugprone-suspicious-string-compare
* bugprone-reserved-identifier
* bugprone-narrowing-conversions
* bugprone-macro-parentheses
* bugprone-implicit-widening-of-multiplication-result
* bugprone-exception-escape
* bugprone-copy-constructor-init
2023-11-16 01:22:09 +01:00
wmayer
09ed6f125b fix performance-*
* performance-type-promotion-in-math-fn
* performance-trivially-destructible
* performance-noexcept-move-constructor
* performance-faster-string-find
2023-11-16 01:22:09 +01:00
wmayer
a602003747 fix readability-isolate-declarations 2023-11-16 01:22:08 +01:00
wmayer
985def3416 Base: apply clang format 2023-11-13 12:01:26 -05:00
wmayer
4e42ff7baa Base: modernize C++: replace 'typedef' with 'using' 2022-08-29 11:42:09 +02:00
wmayer
133be410ca Base: improve initialization according to cpp core guidelines 2022-06-04 13:17:27 +02:00
wmayer
cad0d01883 Base: modernize C++11
* remove redundant void-arg
* use nullptr
* replace deprecated headers
2022-01-25 20:21:30 +01:00
wmayer
057cce2538 Base: [skip ci] add method to check for null vector 2021-10-19 19:19:31 +02:00
Eric Trombly
56769f1a27 change isOnLine to isOnLineSegment 2020-04-06 06:34:53 -05:00
Eric Trombly
f210d71f18 remove sleep calls, change some for loops to list comp, move isPointOnLine to base vector 2020-04-06 06:34:53 -05:00
wmayer
52916175ed start to replace old C-style casts with static_cast or reinterpret_cast, avoid implicit casts 2019-09-16 17:59:18 +02:00
wmayer
b14cf8a00d extend convertTo function to also support SbRotation/Base::Rotation 2019-09-06 21:29:51 +02:00
wmayer
170145f846 fixes #0002858: Vector2d Equality Incorrect 2017-01-15 16:34:14 +01:00
wmayer
bb81365cb6 move Hat and Dyadic product to Matrix class 2016-12-04 17:05:58 +01:00
WandererFan
efb7f14866 DPG improvements
eliminate orientation matrix
remove appl logic from dialog
add 3D/Front buttons
2016-12-04 15:25:47 +01:00
wmayer
4d77921111 use a stricter tolerance to check for equal points
add method IsEqual to Vector3 class to support user-defined tolerance
2016-08-15 14:09:26 +02:00
wmayer
c294c8bdbd + rename methods in Vector3 class
+ add convenience methods Cross and Dot to Vector3 class
+ fix bug in DistanceToLineSegment in Vector3 class
2016-07-30 15:14:47 +02:00
wmayer
f53c22417e + remove unneeded semicolons 2014-05-08 17:32:23 +02:00
wmayer
3fe720f3bc + Replace math.h with cmath 2014-01-05 11:25:40 +01:00
wmayer
dd672d2b2f + Fix double to float cast 2013-10-10 17:15:03 +02:00
wmayer
9d0b60af7b Add convenience method to Vector3 class 2012-02-22 19:49:26 +01:00
wmayer
120ca87015 + unify DLL export defines to namespace names
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5000 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-10-10 13:44:52 +00:00