wmayer
86806cb353
Port: Include changes of FreeBSD port
2024-09-13 08:31:54 -05:00
wmayer
a0d86224f3
Part: modernize C++: use equals default
2023-08-22 15:14:03 +02:00
wmayer
0d854a56cd
Part: modernize C++: return braced init list
2023-08-19 11:35:41 +02:00
wmayer
0af4990817
modernize C++: make unique
2023-08-07 19:51:30 -06:00
luz paz
6e542b6fad
Part: remove trailing whitespace
2022-11-15 14:19:30 -06:00
berniev
da9ebc572f
Mod: redundant void 2
2022-08-08 10:27:50 +02:00
Uwe
fd68d0d947
[Part] Geometry*: remove unneeded includes
...
- also sort includes
2022-07-04 10:25:05 +02:00
wmayer
068c0e5a98
Part: modernize C++11
...
* use nullptr
2022-03-23 19:26:14 +01:00
wmayer
18579134b5
Part: fix possible creation of NaN in Geom2dCircle::getCircleCenter
2022-02-05 16:16:59 +01:00
wmayer
3dc91fa2b8
Part: expose Geom2dCircle::getCircleCenter to Python and fix a regression
2022-02-05 16:07:00 +01:00
edi271
df7d235fc6
Update Geometry2d.cpp
...
I tested. It works using Precision::Confusion(). Thank you.
2022-02-02 08:35:34 -05:00
edi271
049889b72f
add accuracy to getCircleCenter method
2022-02-02 08:35:34 -05:00
wmayer
955fe455cb
Part: add function GetCircleCenter from CommandCreateGeo.cpp of the Sketcher module to the Geom2dCircle class in the Part module
2021-12-17 13:01:59 +01:00
wmayer
c54deee146
Py2/Qt4: fix build failures and warnings
2020-11-30 19:05:37 +01:00
wmayer
00e0e7745c
Part: expose GeomPlate algorithm to Python
2020-09-28 18:46:35 +02:00
wmayer
14fa8dafb3
Part: [skip ci] add functions makeFromTrimmedCurve2d and makeFromCurveAdaptor2d
2020-09-28 17:24:48 +02:00
wmayer
a6c55acdb1
Part: improve Python interface
...
+ rename getCurve2dFromGeom2d to makeFromCurve2d
+ add function makeFromCurve and makeFromTrimmedCurve like makeFromSurface
+ implement OffsetCurve.BasisCurve
+ fix memory leak in BRepOffsetAPI_MakePipeShellPy
2020-09-27 23:34:45 +02:00
asapelkin
e951094af9
use emplace_back instead of push_back where justified
2019-11-21 14:48:09 +01:00
wmayer
5095703776
add missing std:: namespace to build on Debian 10
2019-08-21 23:56:46 +02:00
wmayer
e02695b91f
Replace Base::Exception with appropriate subclass
2018-11-14 19:45:20 +01:00
wmayer
949c86d364
Port to occ7.2:
...
+ Standard_Failure::Caught() is now marked as deprecated and should be replaced with standard C++ exception handling
2017-09-01 16:27:46 +02:00
Peter Lama
a75a98ef27
Use OCCT Handle macro for Handle_ classes
...
This is the result of running OCCT's upgrade script provided
with OCCT 7.0. See
https://www.opencascade.com/content/freecad-occt710-and-windows-rtti-data-missing#comment-form
and
https://www.forum.freecadweb.org/viewtopic.php?f=4&t=21405&start=120#p169019
for why this is necessary for OCCT >= 7.1
2017-04-20 12:27:34 +02:00
wmayer
3114df352d
in forward declaration replace class keyword when struct is expected
...
comment out unused parameters
2016-12-29 17:52:39 +01:00
wmayer
428f099aaf
implement BSplineCurve2d
2016-12-03 22:17:04 +01:00
wmayer
d3e0f03650
add method to extract pcurve from an edge
2016-11-26 19:28:06 +01:00
wmayer
1348fe6bc1
implement Line2d
2016-11-26 15:30:00 +01:00
wmayer
3105c4b1da
fix -Wunused-parameter
2016-11-26 14:11:30 +01:00
wmayer
de8bfaafc3
implement OffsetCurve2d
2016-11-25 23:45:14 +01:00
wmayer
3374737c5a
implement ArcOfConic2d and ArcOfCircle2d
2016-11-25 10:07:55 +01:00
wmayer
a0fc75d619
implement Circle2d
2016-11-24 23:45:05 +01:00
wmayer
9bdad96a69
add Python wrappers for Geom2d classes
2016-11-22 14:09:19 +01:00
wmayer
689d2e42a9
wrapper for Geom2d package
2016-11-21 18:17:10 +01:00