berniev
2d4c5a4cfb
Mod: use emplace_back
2022-08-05 10:36:16 +02:00
wmayer
88e32eba9b
App: changes in ComplexGeoData:
...
* rename some methods
* distinguish between Point and Vector
* support of arrays of Point or Vector
2022-08-03 16:18:14 +02:00
Uwe
88a06f8f10
Mod: remove some unnecessary nullptr checks
2022-07-18 12:58:12 +02:00
Uwe
1823439195
[Robot etc.] remove superfluous nullptr checks
2022-07-18 02:54:09 +02:00
wmayer
2b04b01edc
cppcoreguidelines-special-member-functions
...
* disable move constructor and move assignment for several core classes
2022-06-25 17:46:48 +02:00
wmayer
7de296b60e
cppcoreguidelines-pro-type-union-access
...
According to https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md#Ru-pun using union for type-punning is undefined behaviour.
See also https://en.wikipedia.org/wiki/Type_punning#Use_of_union . Replace it with std::memcpy.
2022-06-25 17:17:04 +02:00
wmayer
5234d9bc67
App: add pure virtual methods to PropertyGeometry to delegate it to the geometry of sub-classes
...
Following the law of Demeter add some wrapper methods to PropertyGeometry and implement them in sub-classes. As a side-effect this makes some const_cast obsolete
2022-06-24 16:15:02 +02:00
wmayer
c955372ecf
cppcoreguidelines-pro-type-union-access
...
According to https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md using union for type-punning is undefined behaviour.
Replace it with std::memcpy
2022-06-24 14:29:50 +02:00
Uwe
28698a41e3
[Point] remove unnecessary Boolean comparisons
2022-06-19 17:10:55 +02:00
wmayer
216ed31d8a
Points: fix round-off errors in pcd export
2022-05-17 11:48:58 +02:00
Zheng, Lei
3ef438eaf0
Fix mixed line endings
2022-04-26 12:52:55 -05:00
Chris Hennes
bac451cc53
Points: PR6497 move return statement to new line
2022-03-29 12:38:24 -05: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
Uwe
bec723ba17
[Points] remove Python.h and Xerces
2022-03-20 22:55:16 +01:00
wmayer
d69defaa3c
Py: replace BaseExceptionFreeCADError with more suitable exception types
2022-03-17 13:54:23 +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
wmayer
0be04bb5e0
Points: Fix several coverity issues:
...
* CID 350545: Resource leak
* CID 350553: Resource leak
* CID 350559: Resource leak
* CID 350593: Resource leak
* CID 350604: Resource leak
* CID 350625: Resource leak
* CID 350650: Resource leak
* CID 129019: Division or modulo by float zero (false-positive)
* CID 129020: Division or modulo by float zero (false-positive)
* CID 129021: Division or modulo by float zero (false-positive)
2022-03-13 16:48:19 +01:00
wmayer
c3828d6225
Part: refactor PropertyPartShape::SaveDocFile and PropertyPartShape::RestoreDocFile
...
Set exception mask of std::istream::failbit | std::istream::badbit to istream to make sure it raises an exception for corrupted input files.
See: https://forum.freecadweb.org/viewtopic.php?p=536747
2022-03-11 22:06:38 +01:00
wmayer
8d3c66cf18
Core/Mod: modernize C++11
...
* use nullptr
2022-03-09 21:55:31 +01:00
wmayer
4977e55e51
App: Optimize includes to reduce compile time
2022-03-07 15:53:58 +01:00
wmayer
4398ae54dd
Points: modernize C++11
...
* remove redundant void-arg
* use nullptr
2022-01-26 17:53:41 +01:00
luz paz
b70c7b6323
Fix superfluous whitespace in various files
2022-01-09 21:01:42 -06:00
luzpaz
1c83d8fedd
Points: translate doxygen from DE to EN + fix superfluous whitespace ( #5287 )
...
* Points: translate doxygen from DE to EN + fix superfluous whitespace
For the purpose of making the source documentation uniform, source comments in this file were translated to english.
* Points: remove superfluous whitespace
* Fix left over DE to EN translations (from Cam and Mesh code)
2021-12-25 20:41:12 +01:00
Uwe
5de15267f5
[Points] minor style fixes by MSVC
2021-12-17 02:39:47 +01:00
Uwe
e485fed06f
[Points] compilation fix or -> ||
...
- also some style fixes made by MSVC
2021-12-16 03:02:13 +01:00
wmayer
b94b28838e
Points: implement helper method to reduce code duplication
2021-12-15 22:14:57 +01:00
wmayer
71b8af6bb1
Points: fix several warnings, fix invalid point assignment
2021-12-15 22:14:57 +01:00
Benjamin Alterauge
40180dd311
If the channels xyz be missing, display error message.
2021-12-15 22:14:57 +01:00
Benjamin Alterauge
698a876ba1
Load settings move to AppPointsPy
2021-12-15 22:14:57 +01:00
Benjamin Alterauge
8da1799956
Add E57Reader
2021-12-15 22:14:57 +01:00
Benjamin Alterauge
fb97812148
Add e57 extension support
2021-12-15 22:14:57 +01:00
Benjamin Alterauge
5772328061
Add the libE57Format include dirs to the point wb
2021-12-15 22:14:57 +01:00
wmayer
e211b89cf8
port to MSYS2/clang
2021-09-19 19:49:44 +02: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
wmayer
322e027c2b
Points: remove some more deprecated Py2 code
2021-04-26 11:04:53 +02:00
Benjamin Nauck
e7024f5db3
[Points] Use std::shared_ptr instead of boost::shared_ptr
...
There's no need to use boost version when stl has support for shared_ptr
2021-03-06 19:32:03 +01:00
luz.paz
d923798946
[skip ci] Fix header uniformity for Import, Mesh, Points, Raytracing
2019-12-26 10:10:30 +01:00
asapelkin
e951094af9
use emplace_back instead of push_back where justified
2019-11-21 14:48:09 +01:00
Zheng, Lei
71c54272a0
Fix various Py::Object leak
2019-10-08 17:53:20 +02:00
wmayer
9f7075bb8f
extend convertTo function to also support SbRotation/Base::Rotation
2019-09-06 21:29:51 +02:00
wmayer
ffaf1c9b76
V1028 Possible overflow. Consider casting operands, not the result
2019-02-17 19:31:02 +01:00
wmayer
0e948db5a3
Win32-specific optimization in Points module
2018-10-08 18:50:03 +02:00
wmayer
0b846eee52
consider global placement when exporting point cloud
2018-09-05 22:18:55 +02:00
wmayer
7d8e7b6d65
add copy constructor for class PointKernel
2018-09-05 21:21:36 +02:00
wmayer
f7f143a2b9
CMP0050: make Points module aware of cmake policy
2018-08-20 16:34:54 +02:00
hgutsche
a097804cbd
Add library for concurremcy in >= VS2015
...
revert conditional in Points.cpp (i.e. reactivate parallel handling)
2018-08-11 11:55:51 +02:00
wmayer
880c8ccbfd
avoid linker errors with >= VS 2015
2018-08-09 23:53:12 +02:00
luz.paz
baa6d89328
Typos and whitespace fixes
2018-08-07 11:13:31 -04:00
wmayer
917b95f726
paralleization of transformation and bounding box calculation
2018-08-06 18:52:01 +02:00