Commit Graph

26 Commits

Author SHA1 Message Date
Jolbas
6c3efbdb3b Fix create Rotation from scaled matrix
Support for creation of Rotation from matrices which is a combination of non uniform scale and a rotation
Fixes according to review
Scale -1 is Uniform, Not NoScaling
Fix hasScale() when negative scale
2023-02-24 20:33:40 -06:00
wmayer
91ea39a5c0 Base: extend Placement/Rotation API
* Add Placement::isSame() and expose to Python
* Add Placement::multRight/Placement::multLeft
* Fix PlacementPy::rotate
* Add Rotation::multRight/Rotation::multLeft
* Add a test feature FeatureTestPlacement for uni tests
* Add unit tests
2022-08-09 11:54:05 +02:00
0penBrain
5dcd27df93 Gui: test for ILoggerBlocker 2022-07-05 13:35:18 +02:00
wmayer
45d7151dfa Test: [skip ci] unit test for fix of Vector2d::Rotate 2022-07-04 16:53:47 +02:00
wmayer
35919e2a75 Test: [skip ci] test for fixed Rotation::inverse() 2022-06-20 12:39:22 +02:00
wmayer
f37574e809 Base: raise TypeError if Vector is multiplied with unsupported type 2022-06-04 13:21:04 +02:00
wmayer
61bc913fe5 Test: [skip ci] test matrix element order 2022-05-17 11:47:40 +02:00
wmayer
cd65de7e44 Base: fix conversion from Placement to Matrix
See also: https://forum.freecadweb.org/viewtopic.php?f=3&t=61000
2022-04-29 13:45:50 +02:00
wmayer
b47029998e Base: fix handling of path separators in parameter group names 2022-03-29 14:54:03 +02:00
wmayer
a5e561b31d Base: fix Matrix4D::hasScale
* If all column vectors of the 3x3 sub-matrix are equal the function incorrectly claims that it's uniform scaling.
* Detect also non-uniform scaling and if was applied from the left or right side
* Replace the int with an enum and expose it to Python
* Add several new unit tests
2022-02-15 21:05:11 +01:00
wmayer
6b45122a46 Test: add unit tests for matrices 2022-02-04 14:36:02 +01:00
wmayer
aedb961676 Test: replace deprecated failUnless with the new assert* functions 2022-02-04 11:38:55 +01:00
wmayer
971057539f Unit test: [skip ci] gimbal lock 2021-10-29 20:02:09 +02:00
wmayer
69aa35578e Base: Vector3::GetAngle() uses a smaller epsilon 2021-04-06 11:37:35 +02:00
Chris Hennes
3ef6e1c6d0 [OTHER] Catch only Exception, not BaseException 2021-02-11 11:52:45 +01:00
luz paz
31c0099a59 Test: Fix header uniformity, whitespace, doxygen headers 2020-11-18 08:58:06 +01:00
wmayer
c903de8af7 Adjust unit test of deleting a parameter group to new behaviour 2019-10-19 22:38:07 +02:00
luz.paz
3d2856e892 Mod/Test/BaseTests.py source typo
Changed `def testRoation(self):` to  ` def testRotation(self):`
Please review.
2018-01-23 13:55:33 +01:00
wmayer
31bf496b67 unit tests for Rotation class 2018-01-01 16:45:33 +01:00
looooo
99131438c6 py3: Test: gathering diff of py3-branch
ec9dcf7453d44ce21e6ab5e460293006a49e7ccc
2017-03-02 12:46:57 +01:00
Priit Laes
91e2e0043b python: Test: *.py: Fix python3 syntax 2017-03-02 12:46:57 +01:00
wmayer
e416ec0dc3 + add more unit tests for bounding box 2015-10-19 17:27:55 +02:00
wmayer
a4d1dbe5f0 + rework BoundingBox class and its Python binding 2015-10-11 00:18:53 +02:00
wmayer
0da6de629d + fixes #0001364: Issue 1256 is not actually fixed 2014-01-24 13:54:57 +01:00
wmayer
642a3e5094 0000856: Wrong inverse of a matrix 2012-10-22 16:21:27 +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