Commit Graph

39 Commits

Author SHA1 Message Date
Markus Reitböck
f523ab6ee3 ReverseEngineering: use CMake to generate precompiled headers on all platforms
"Professional CMake" book suggest the following:

"Targets should build successfully with or without compiler support for precompiled headers. It
 should be considered an optimization, not a requirement. In particular, do not explicitly include a
 precompile header (e.g. stdafx.h) in the source code, let CMake force-include an automatically
 generated precompile header on the compiler command line instead. This is more portable across
 the major compilers and is likely to be easier to maintain. It will also avoid warnings being
 generated from certain code checking tools like iwyu (include what you use)."

Therefore, removed the "#include <PreCompiled.h>" from sources, also
there is no need for the "#ifdef _PreComp_" anymore
2025-09-23 22:39:35 +02:00
Chris Hennes
c6f5e5a262 Reverse Engineering: Fix multiplication result converted to larger type 2025-07-21 23:40:56 -05:00
pre-commit-ci[bot]
e92ed45df9 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-09-12 13:02:35 -04:00
wmayer
ac15b03c1b RE: apply clang format 2023-09-02 16:24:25 +02:00
wmayer
5cab6488e0 RE: modernize C++: use default member init 2023-08-23 00:55:03 +02:00
wmayer
1de36fd303 RE: modernize C++: use equals default 2023-08-22 12:48:09 +02:00
wmayer
4b8c8ce2bb RE: modernize C++: use range-based for loop 2023-08-15 17:20:01 +02:00
wmayer
948cbfccd9 modernize C++: avoid bind
In many cases std::bind() is kept because the code is much simpler
2023-08-08 21:10:16 +02:00
wmayer
52e1c7c33b modernize C++: move from boost::bind to std::bind 2023-08-08 17:36:13 +02:00
Uwe
601295320e [Reverse Eng] App: enable precompiled headers
- also some sorting
2022-12-11 04:10:58 +01:00
berniev
180edfa3cc Mod: Single arg ctors must be explicit 2022-08-24 16:55:20 +02:00
Uwe
7b4e014263 [Robot etc.] remove superfluous nullptr checks 2022-07-18 02:54:09 +02:00
mosfet80
c48a569696 Boost version <=1.60 is never used in freecad 0.20 (#7038)
* Boost version 1.60 is never used in freecad 0.20
2022-06-24 02:20:26 +02:00
Uwe
c795967bd2 [Reverse Engineering] remove unnecessary Boolean comparisons 2022-06-19 17:07:02 +02:00
wmayer
7633a079b4 Reen: modernize C++11
* use nullptr
2022-03-23 19:26:15 +01:00
luz paz
29cba4f587 ReverseEngineering: translate doxygen from DE to EN
For the purpose of making the source documentation uniform, source comments in this file were translated to english.
2021-12-15 16:55:48 +01:00
luz paz
096a172137 ReverseEngineering: Fix header uniformity + trailing whitespace
[skip ci]
2020-11-27 19:38:19 +01:00
wmayer
d6169d6478 boost: fix for boost < 1.60 2020-06-15 19:38:39 +02:00
wmayer
730154a684 boost 1.73.0: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated 2020-06-12 17:51:33 +02:00
asapelkin
ced8100ab9 use emplace_back instead of push_back where justified 2019-11-21 14:48:09 +01:00
wmayer
f13b250c59 V1028 Possible overflow. Consider casting operands, not the result 2019-02-17 19:31:02 +01:00
wmayer
e23db2e313 PVS: V773 A memory leak is possible 2019-02-17 18:40:06 +01:00
wmayer
2d8e70085e rename 2d tool classes to be consistent with 3d classes 2016-11-21 14:29:51 +01:00
wmayer
bed76edb48 fix Coverity issues 2016-08-20 17:21:01 +02: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
5d99062619 + add task dialog to perform B-Spline fit 2015-11-06 14:30:26 +01:00
wmayer
0284306e02 + get initial plane fit from B-Spline fit if required 2015-11-06 00:27:33 +01:00
wmayer
d8a98bd365 + optimize B-spline approximation 2015-11-04 14:39:20 +01:00
wmayer
0d3637ad38 + optimize B-spline approximation 2015-11-03 00:55:15 +01:00
wmayer
52b48147ab + extend Python interface of approxSurface 2015-10-23 17:56:24 +02:00
wmayer
5e9a1565f6 + fix documentation 2015-10-23 16:15:23 +02:00
wmayer
a5ef29a145 + improve whitespaces, replace floats with doubles 2015-10-23 15:32:54 +02:00
wmayer
a0c54f7080 + fix bug in B-Spline approximation 2015-10-23 13:52:58 +02:00
wmayer
f6023d36d2 + rework BoundingBox class and its Python binding 2015-10-11 00:18:53 +02:00
wmayer
de41dc46ec + Prefer prefix ++/-- operators for non-primitive types 2015-10-07 13:38:17 +02:00
Mateusz Skowroński
05f95c0506 Fix files encoding. Go from ISO8859-1 to UTF-8. 2015-09-21 19:50:49 -03:00
jrheinlaender
6df4bdadbb Mod/ReverseEngineering moved float -> double 2013-03-26 19:13:06 +04:30
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