Benjamin Nauck
d9af862627
Base: Add #include <limits> where used
2025-03-31 23:50:30 +02:00
Benjamin Nauck
ae686942a7
Base: Use std::numeric_limits and std::numbers instead of defines
2025-03-29 13:32:37 +01:00
Kacper Donat
62432046bf
Gui: Fix empty sketch plane rendering
2025-02-24 17:30:27 +01:00
Benjamin Bræstrup Sayoc
dda05369c4
Base: remove unneeded includes
2025-02-18 11:07:57 -06:00
wmayer
c07c7c9fc9
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
85ead154c4
fix readability-make-member-function-const
2023-11-16 01:22:09 +01:00
wmayer
5c306f6e2a
fix readability-*:
...
* readability-uppercase-literal-suffix
* readability-named-parameter
2023-11-16 01:22:08 +01:00
wmayer
f539138dd9
fix readability-*:
...
* readability-const-return-type
* readability-container-data-pointer
* readability-container-size-empty
* readability-delete-null-pointer
* readability-else-after-return
* readability-inconsistent-declaration-parameter-name
* readability-redundant-member-init
* readability-redundant-smartptr-get
* readability-redundant-string-cstr
* readability-use-anyofallof
* readability-static-definition-in-anonymous-namespace
* readability-static-accessed-through-instance
* readability-simplify-boolean-expr
2023-11-16 01:22:08 +01:00
wmayer
e85c383bff
Base: apply clang format
2023-11-13 12:01:26 -05:00
wmayer
db0f6534c3
Base: modernize C++: use equals default
2023-08-20 18:10:17 +02:00
wmayer
2bc90e6090
Base: modernize C++: return braced init list
2023-08-18 00:36:24 +02:00
Uwe
0e062212b5
[Sketch] Gui: U - End: remove unused headers
...
- also some sorting
2022-12-13 04:02:20 +01:00
berniev
8aff4a7503
Base: Modernise ctors dtors defs etc
2022-08-02 12:37:46 +02:00
berniev
4043d049bc
remove redundant void from Base
2022-07-31 14:10:34 +02:00
Uwe
96cb9dce0b
[Base] Tools2D.h: a simplification and code style unification
2022-07-03 15:54:33 +02:00
ChenOrange
06edc2db9b
Vector2d:fix rotate bug
2022-07-03 14:52:27 +02:00
wmayer
e4435cdcba
Base/App: fix warnings from code analysers:
...
* convert old-style-casts to explicit C++ casts where possible
* make some implicit conversions explicit
2022-03-06 23:49:30 +01:00
wmayer
4d87039635
Base: modernize C++11
...
* remove redundant void-arg
* use nullptr
* replace deprecated headers
2022-01-25 20:21:30 +01:00
wmayer
40d2955c66
Base: split export/import macros from FCConfig.h and move them to FCGlobal.h
...
The FCGlobal.h can be included in a Global.h header file of an extension module.
The reason is that some IDEs (e.g. QtCreator) fails to detect the export/import macros when only defined in the PreCompiled.h files and thus raise a parser warning.
2021-09-14 16:40:30 +02:00
luz paz
d5f6c096b8
Base: Fix header uniformity, whitespace, and doxygen
...
[skip ci]
2020-11-22 18:12:16 +01:00
Tomas Pavlicek
29e7f695d5
Polish classes in Tools2D
2019-09-25 15:18:58 +02:00
Tomas Pavlicek
46c73062ff
TechDraw: Radius drawing refactored - ASME support
2019-08-21 19:27:12 -04:00
Zheng, Lei
3fcbf71fb5
Base: misc patches
...
Convenience macros/function (in Interpreter.h)
* FC_PY_GetObject/Callable(), look for callables in a python object,
which will be used in future patch to improve performance in various
python observer/features.
* pyCall(WithKeywords)(), helper function to invoke the callable
Matrix4D:
* hasScale(), check if there is any scale in the transformation. If so,
further check if the scale is uniform or not. This will be used in
future patch for Part::TopoShape to decide which type of transform to
apply.
Placement:
* translate/rotate(), new convenience API
Rotation:
* isSame/multiVec(), new convenience API
Polygon2d:
* Intersect(), GetCenter(), new convenience API.
FlagToggler:
* New class for exception safe flag toggling, similar to StateLocker
but with template (actually, FlagToggler is added earlier by me).
BitsetLocker:
* New class for exception manipulation of a std::bitset variable.
2019-08-17 14:52:08 +02:00
wmayer
66b91b1cdf
partially revert changes of issue #0002858 and add IsEqual method
2017-01-22 15:33:26 +01:00
wmayer
6e7c4915a3
fixes #0002858 : Vector2d Equality Incorrect
2017-01-15 16:34:14 +01:00
wmayer
e54e9515fc
rename 2d tool classes to be consistent with 3d classes
2016-11-21 14:29:51 +01:00
wmayer
1e2e24b652
+ 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
85994d17b8
+ replace || operator in BoundBox2D with real function names
2015-10-14 18:45:13 +02:00
wmayer
a4d1dbe5f0
+ rework BoundingBox class and its Python binding
2015-10-11 00:18:53 +02:00
wmayer
05de6c103f
+ add missing header to Tools2D.h
2014-10-02 11:40:39 +02:00
wmayer
b316991220
+ fix mesh trimming
2014-07-16 18:21:30 +02:00
wmayer
d456cd21f9
+ fixes #0001499 : Mesh trim loses some triangles
2014-07-15 18:42:42 +02:00
wmayer
9c806a427c
+ minor change in Vector2D
2014-03-29 11:57:58 +01:00
wmayer
ea4abcb57a
+ issue #0001475 : Implement a 3 point arc similar to solidworks in sketcher
2014-03-15 12:50:24 +01:00
wmayer
847b6b79e0
+ Replace math.h with cmath
2014-01-05 11:25:40 +01:00
jriegel
664c1d4862
Integrate Werners & Jans double branch
...
Move from float to double
Further suggestions for float -> double move
Moved Tools2D from float to double
More suggestions for float->double move from Gui subdirectory
Changes to FEM constraint visuals for float->double move
Suggested changes for float -> double move
Suggestions for Part module moving float -> double
2013-09-24 11:00:57 +02: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