Commit Graph

33 Commits

Author SHA1 Message Date
PhoneDroid
d9cf2b65b5 [ MeshPart ]: Update SPDX 2025-10-14 10:01:02 -05:00
Markus Reitböck
015896f4e4 MeshPart: 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:36 +02:00
bofdahof
998f4e4d45 Console: rename PascalCase named methods to camelCase 2025-05-06 17:50:21 +02:00
Benjamin Nauck
0ac87c8a27 MeshPart: Add #include <limits> where used 2025-03-31 23:52:00 +02:00
Benjamin Nauck
9086f0ff14 MeshPart: Use std::numeric_limits and std::numbers instead of defines 2025-03-29 13:32:38 +01:00
mos
47ce19e02b [MeshPart] clean
removed old commented code.

[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

revert comments

[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
2024-05-27 11:06:30 -05: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
c2bda2f756 MeshPart: apply clang format 2023-09-02 11:30:04 +02:00
wmayer
a3057e946b Mod: modernize C++: use equals default 2023-08-22 11:16:49 +02:00
wmayer
7c42bc5e60 MeshPart: modernize C++: use range-based for loop 2023-08-15 12:52:52 +02:00
Uwe
d62d41a53b [MeshPart] remove unused includes
- also some sorting
2022-11-23 03:35:31 +01:00
luz paz
57d0c2000a MeshPart: remove trailing whitespace 2022-11-15 12:45:52 +01:00
wmayer
7eb30ca5c7 MeshPart: modernize C++: replace 'typedef' with 'using' 2022-08-29 18:36:52 +02:00
wmayer
5014bab534 Mod: replace std::ifstream/std::ofstream with Base::ifstream/Base::ofstream 2022-08-21 12:46:53 +02:00
wmayer
55fa3d8a77 Mod: [skip ci] improve whitespace 2022-08-08 10:46:04 +02:00
berniev
da9ebc572f Mod: redundant void 2 2022-08-08 10:27:50 +02:00
wmayer
d152d6dd0e MeshPart: [skip ci] Fix several clazy issues:
* Missing reference in range-for with non trivial type [-Wclazy-range-loop-reference]
* Use multi-arg instead [-Wclazy-qstring-arg]
2022-07-25 10:34:51 +02:00
luzpaz
4543c98267 MeshPart: fix header uniformity + remove superfluous whitespace (#5135)
* MeshPart: fix header uniformity + remove superfluous whitespace
2021-11-06 00:15:00 +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
asapelkin
e951094af9 use emplace_back instead of push_back where justified 2019-11-21 14:48:09 +01:00
wmayer
115ff0191e improve projection of points onto mesh 2019-06-27 19:27:47 +02:00
wmayer
c1d9087d09 add method to project points on mesh 2019-06-26 16:57:14 +02:00
wmayer
fbafd698ae determine edge parameters where curve point will be projected onto a mesh edge 2019-06-11 13:25:52 +02:00
wmayer
f8b715aa7c extend MeshPart.projectShapeOnMesh to allow list of points for projection, support keywords 2019-06-08 14:19:29 +02:00
wmayer
b17a784e32 generate minumum number of points from an edge 2019-05-19 19:07:45 +02:00
wmayer
c60658f3f9 add method to project shape on mesh 2019-05-14 15:21:08 +02:00
wmayer
f999709e11 fix gcc build failure 2019-05-11 15:27:33 +02:00
wmayer
012698b38a do some code refactoring 2019-05-11 15:14:04 +02:00
luz.paz
505488c4f9 Misc. typos
Found via `codespell`
2018-04-25 09:41:33 -03:00
Unknown
ad457ba96b Misc. Typos 2017-10-09 19:59:33 +02:00
wmayer
1d84eac025 fix -Wextra in MeshPart 2016-09-24 00:42:52 +02:00
wmayer
be7f583aa0 + fix issues on 64-bit Linux/MacOSX systems 2014-11-19 15:32:35 +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