Commit Graph

40 Commits

Author SHA1 Message Date
wmayer
a79eef0a39 Mesh: remove problematic method MeshGrid::Rebuild(unsigned long, unsigned long)
and MeshGrid::CalculateGridLength(unsigned long, unsigned long)

For almost flat meshes CalculateGridLength may compute a grid with a huge amount of cells that allocates the whole RAM of the system while for an exactly flat mesh a grid with a sensible number of cells is computed.

Use the overloaded methods of MeshGrid::Rebuild(unsigned long) and MeshGrid::CalculateGridLength(unsigned long) instead
2024-03-30 00:21:58 +01:00
Florian Foinant-Willig
1a83d18a8f Inspection: modernize type checking 2023-10-23 18:09:39 +02: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
ea116dc033 Inspection: apply clang format 2023-09-02 00:59:42 +02:00
wmayer
8b8f970b27 Inspection: modernize C++: use default member init 2023-08-23 00:55:03 +02:00
wmayer
edb477a795 Inspection: modernize C++: use equals default 2023-08-21 15:06:40 +02:00
wmayer
2ceb6edfe5 Inspection: modernize C++: use range-based for loop 2023-08-15 08:37:17 +02:00
wmayer
68d22d864b modernize C++: move from boost::bind to std::bind 2023-08-08 17:36:13 +02:00
wmayer
39e53e5eb0 Mods: modernize C++: redundant void arg 2023-08-05 16:50:31 +02:00
wmayer
70061abf77 Inspection: move to new style connect() 2023-01-13 15:57:18 +01:00
Uwe
967cc57350 [Inspection] remove unused includes
- also some sorting
2022-11-29 03:34:22 +01:00
wmayer
48aafc3f8b Inspection: support display of lines, avoid explicit type checks 2022-09-15 11:46:20 +02:00
wmayer
2462f4c7a0 App: move from float to double for accuracy parameter, add a virtual method to determine a default accuracy 2022-09-15 09:52:14 +02:00
wmayer
db7d615cb0 Inspection: [skip ci] code-refactoring 2022-09-14 00:50:32 +02:00
wmayer
061ec7f7b4 Inspection: support of shape with edges only 2022-09-13 17:05:21 +02:00
berniev
ddafb98813 Mod: Use override etc 2 2022-08-09 12:52:26 +02:00
berniev
b796a0d376 Mod: use empty 2022-08-06 19:30:13 +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
wmayer
98b69b8fb9 Inspection: modernize C++11
* use nullptr
2022-03-23 19:26:15 +01:00
Uwe
d41f55f382 [Inspection] remove unused headers and Xerces
- also sort our some includes to PreCompiled.h
2022-03-20 22:17:34 +01:00
wmayer
58a719e207 Base: move ILogger sub-classes to their own source files in order to reduce including stream classes in client code 2022-03-06 10:13:47 +01:00
wmayer
b0d5afc375 Inspection: [skip ci] do not use multi-threading when Part objects are used for visual inspection 2020-09-08 16:55:35 +02:00
wmayer
f3b460e42e boost: fix for boost < 1.60 2020-06-15 19:38:39 +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
3aba2721d1 gcc: [skip ci] fix -Waddress 2020-06-04 14:56:20 +02:00
Zhang Wei
0bef3cdee4 Patch for MIPS64 Architecture 2020-02-15 19:32:58 +01:00
wmayer
15dea4f89a Inspection: multi-threaded calculation 2020-01-29 11:55:49 +01:00
wmayer
94280f15ca Inspection: [skip-ci] const correctness 2020-01-28 19:20:09 +01:00
wmayer
a247b7e6a5 force strict ISO C++ (-Wpedantic)
for Drawing, Image, Inspection, Mesh, MeshPart, Part, Path, Points, Raytracing, ReverseEngineering, Spreadsheet, Start, Surface, Web

TODO: fix several -Woverflow in area
2019-09-18 11:32:42 +02:00
wmayer
c5a5eb6a83 Replace Base::Exception with appropriate subclass 2018-11-14 17:36:00 +01:00
wmayer
f898eafd64 move from deprecated boost.signals to boost.signals2 library 2018-10-30 19:09:03 +01:00
luz.paz
baa6d89328 Typos and whitespace fixes 2018-08-07 11:13:31 -04:00
wmayer
0ad93186b5 compute signed distances of points to shape, show results of visual inspection for point clouds 2017-01-03 17:02:50 +01:00
wmayer
4c1af037c5 fix -Wextra in Inspection 2016-09-23 18:10:27 +02:00
wmayer
9b013f7254 Coverity issues: fix Mesh, Points and Inspection module 2016-08-17 14:08:47 +02:00
wmayer
a4d1dbe5f0 + rework BoundingBox class and its Python binding 2015-10-11 00:18:53 +02:00
wmayer
b24f0efbc1 Remove FileVersion from RestoreDocFile, convert point data back to floats 2013-03-29 15:23:51 +01:00
jrheinlaender
d93907119d more suggestions for moving float -> double 2013-03-25 20:40:41 +04:30
wmayer
efc29e4422 Move from float to double 2013-03-23 15:12:04 +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