wmayer
4185605d5e
clang/gcc: Add build option FREECAD_WARN_ERROR to force to make warnings into errors
2024-05-29 13:37:07 +02:00
wmayer
b47d72f8de
RE: Add function to approximate B-Spline from points
2024-04-03 18:06:00 +02:00
mosfet80
eda7e134ea
casts clean ( #11548 )
...
* remove unecessary casts
clean unused code
revert example py code
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-12-04 10:51:36 -06:00
liukaiwen
4f8fe8fd4a
[cmake] some definitions do not matter build now
2023-09-27 18:17:14 +08:00
pre-commit-ci[bot]
222a2520b1
[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
c6bc17ffc1
RE: apply clang format
2023-09-02 16:24:25 +02:00
Chris Hennes
118dc0c6c3
RE: Correct use of Wrapped_ParseTupleAndKeywords
2023-09-02 13:55:08 +02:00
Chris Hennes
e80f05cea0
RE: Wrap PyArg_ParseTupleAndKeywords
2023-08-25 15:34:26 -05:00
wmayer
f797e575a7
RE: modernize C++: use default member init
2023-08-23 00:55:03 +02:00
wmayer
f336ebd1e6
RE: modernize C++: use equals default
2023-08-22 12:48:09 +02:00
wmayer
96f27bf43f
RE: modernize C++: use range-based for loop
2023-08-15 17:20:01 +02:00
wmayer
d150fa7164
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
68d22d864b
modernize C++: move from boost::bind to std::bind
2023-08-08 17:36:13 +02:00
wmayer
7b3d759ea1
RE: [skip ci] fix build failure
2022-12-11 11:32:56 +01:00
Uwe
bea2f9be2c
[Reverse Eng] App: enable precompiled headers
...
- also some sorting
2022-12-11 04:10:58 +01:00
berniev
6953310116
Mod: Single arg ctors must be explicit
2022-08-24 16:55:20 +02:00
Jonas Bähr
a1776d3e74
Fix build on MacOS-X 10.14: missing Xerces include dir
...
This undoes most of the Xerces related part of the commits listed below.
The issue resolved here is that the Xerces include dir *is* set in the
CMakeLists.txt of src/Base, but it got removed from various App and Gui
dirs in src/Mod. If those now include a header from src/Base, which
itself includes xercesc, the build fails using Apple clang version 11.0.0
(clang-1100.0.33.17) on Mojave, configured using cmake 3.22.1, with
errors like the following:
In file included from .../src/Mod/Part/App/FeaturePartBoolean.cpp:34:
In file included from .../src/App/Application.h:33:
.../src/Base/Parameter.h:54:10: fatal error: 'xercesc/util/XercesDefs.hpp' file not found
#include <xercesc/util/XercesDefs.hpp>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
Finally, a full list of the commits that introduced this spurious include
dir optimization for reference:
- Drawing: commit 96ad045b91
- Image: commit dde71a21d5
- Import: commit c9d28b542f
- Inspection: commit d41f55f382
- Mesh: commit 19072b0538
- Part: commit fe213a48f0
- PartDesign: commit b037d8e240
- Path: commit f23fa31f42
- Points: commit bec723ba17
- Raytracing: commit 08d4ac63a3
- ReverseEnginering: commit 5ca787cb0e
- Robot: commit bad4809a1c
- Sketcher: commit 3c96daf105
- Spreadsheet: commit 66e8a2bef3
- Start: commit c9dee5e70a
- Surface: commit 6b04215be6
- TechDraw: commit 5e6699e48d
- Test: commit ea5b45b92c
- Web: commit ee6d631531
2022-08-24 07:40:04 +02:00
wmayer
68053e4f4d
ReverseEngineering: [skip ci] improve doc string of approxSurface
2022-08-15 15:23:39 +02:00
berniev
ddafb98813
Mod: Use override etc 2
2022-08-09 12:52:26 +02:00
Uwe
1823439195
[Robot etc.] remove superfluous nullptr checks
2022-07-18 02:54:09 +02:00
wmayer
b48f7229a3
Sketch: replace PyObject_IsTrue with Base::asBoolean
2022-07-16 12:41:53 +02:00
mosfet80
620c273c4e
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
db9aeefea1
[Reverse Engineering] remove unnecessary Boolean comparisons
2022-06-19 17:07:02 +02:00
wmayer
924d779fc7
Points: include header with export macros
2022-03-24 20:46:47 +01:00
wmayer
97330443a2
All: modernize C++11
...
* replace deprecated headers
2022-03-23 22:44:18 +01:00
wmayer
d231a7c7db
Reen: modernize C++11
...
* use nullptr
2022-03-23 19:26:15 +01:00
Uwe
5ca787cb0e
[RE] remove Python.h and Xerces
2022-03-20 22:49:38 +01:00
wmayer
0054cbddaa
Fix coverity issue:
...
* CID 332682: Resource leak
* CID 350607: Resource leak
* CID 332677: Resource leak
2022-03-14 11:35:04 +01:00
luz paz
e2d04f61e2
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
d87b45b214
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-10 14:17:50 +01:00
wmayer
33f3fa6865
Mesh: define the typenames FacetIndex and PointIndex to distinguish between facet and point related indexes
2021-09-14 23:01:29 +02:00
sprhawk
dd546a5ee9
to compile with PCL-1.12.0
2021-07-09 19:23:00 +08:00
luz paz
5abfdb1405
ReverseEngineering: Fix header uniformity + trailing whitespace
...
[skip ci]
2020-11-27 19:38:19 +01:00
wmayer
6903b4fe6b
ReverseEngineering: [skip ci] do not explicitly use boost::shared_ptr because pcl11 now uses std::shared_ptr
2020-07-30 14:23:20 +02:00
wmayer
f3b460e42e
boost: fix for boost < 1.60
2020-06-15 19:38:39 +02:00
wmayer
9fdd17675b
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
wmayer
4ec45b545e
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
wmayer
593f02db63
ReverseEngineering: improve workflow of fitting of B-spline surface
2020-03-05 16:29:09 +01:00
wmayer
7464c81dbe
ReverseEngineering: [skip ci] improve segmentation based on point clouds
2020-03-03 21:27:31 +01:00
luz.paz
c7f9874422
ReverseEngineering: [skip ci] Fix header uniformity
...
This PR fixes header uniformity across all ReverseEngineering files
2019-12-26 18:22:37 +01:00
asapelkin
e951094af9
use emplace_back instead of push_back where justified
2019-11-21 14:48:09 +01:00
wmayer
9f7075bb8f
extend convertTo function to also support SbRotation/Base::Rotation
2019-09-06 21:29:51 +02:00
wmayer
dbcf39abdb
suppress VS2917 warnings: C4267
2019-03-23 17:28:32 +01:00
wmayer
ffaf1c9b76
V1028 Possible overflow. Consider casting operands, not the result
2019-02-17 19:31:02 +01:00
wmayer
3845350c0a
PVS: V773 A memory leak is possible
2019-02-17 18:40:06 +01:00
wmayer
a4390f5478
CMP0050: make ReverseEngineering module aware of cmake policy
2018-08-20 15:37:50 +02:00
luz.paz
b45bc4889d
Misc. typos: Please merge right before 0.17 release
...
I'm still finding typos in the source code. I propose that you keep this PR open prior ro relaese and then merge so that if I find other typos in the meantime they will be part this release.
2018-03-18 15:15:16 +01:00
Unknown
a8ecffb652
Misc. typo fixes
...
Various workbenches
2017-12-23 14:30:30 +01:00
luzpaz
706141b967
Make uniform the use of B-spline visible to users
...
Forum thread: https://forum.freecadweb.org/viewtopic.php?f=8&t=25411
This commit does not include fixes to source comments unless they were 'doxygenated'.
No .xml files were altered either.
2017-11-17 19:30:37 -05:00
wmayer
7321fa6b7e
don't filter point cloud when estimating normals to avoid mismatch of number of points and normals
2017-08-24 13:05:21 +02:00