wmayer
334ca6a416
Test: add unit tests for Matrix4D::decompose()
2023-10-19 19:25:25 +02:00
Jolbas
5d39d7c3e9
Matrix.decompose() fix
...
Fixes some errors when matrix has zero scale in one or two directions
2023-09-28 15:25:29 -05:00
Jolbas
31637adaa0
Create rotation from any matrix
...
To help find a matrix components a decompose method is added to Matrix class
2023-09-28 15:25:29 -05:00
wmayer
7eff934913
Base: fix incorrect method names of Matrix class about diagonal and trace
2023-09-18 01:21:07 +02:00
wmayer
c9774cdacc
Test: add test for default file system encoding
2023-09-06 23:54:42 +02:00
wmayer
e48964fad5
Test: apply clang format
2023-09-04 07:22:09 -05:00
luzpaz
38a01939e0
Migrate domain name from freecadweb to freecad ( #9352 )
...
* Migrate domain name from freecadweb to freecad
* Migrate src/Mod/Material files
* Migrate Stylesheet related files
* Migrate *.svg files
* Migrate miscellaneous files
* Migrate some build files
* Migrate recently added TD AR_IRAM template files
Closes #6415
2023-04-24 15:19:20 -05:00
wmayer
5774721284
Test: expected failure of Rotation::setValue() in unit tests
2023-03-01 18:43:15 +01:00
Jolbas
554a40f91c
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
00bdd16dff
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
faf0d02945
Gui: test for ILoggerBlocker
2022-07-05 13:35:18 +02:00
wmayer
9cddd7f226
Test: [skip ci] unit test for fix of Vector2d::Rotate
2022-07-04 16:53:47 +02:00
wmayer
3c1c4a13e8
Test: [skip ci] test for fixed Rotation::inverse()
2022-06-20 12:39:22 +02:00
wmayer
e3c384263c
Base: raise TypeError if Vector is multiplied with unsupported type
2022-06-04 13:21:04 +02:00
wmayer
4ea3c8678b
Test: [skip ci] test matrix element order
2022-05-17 11:47:40 +02:00
wmayer
80c900cf52
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
c01846c3e7
Base: fix handling of path separators in parameter group names
2022-03-29 14:54:03 +02:00
wmayer
0208608b9e
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
4c1e479c98
Test: add unit tests for matrices
2022-02-04 14:36:02 +01:00
wmayer
9f29e9e7b2
Test: replace deprecated failUnless with the new assert* functions
2022-02-04 11:38:55 +01:00
wmayer
5583a42c07
Unit test: [skip ci] gimbal lock
2021-10-29 20:02:09 +02:00
wmayer
6197243fa7
Base: Vector3::GetAngle() uses a smaller epsilon
2021-04-06 11:37:35 +02:00
Chris Hennes
6b16e12d7c
[OTHER] Catch only Exception, not BaseException
2021-02-11 11:52:45 +01:00
luz paz
26636dbbad
Test: Fix header uniformity, whitespace, doxygen headers
2020-11-18 08:58:06 +01:00
wmayer
d0a7bcc672
Adjust unit test of deleting a parameter group to new behaviour
2019-10-19 22:38:07 +02:00
luz.paz
165571a851
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
3afac199d0
unit tests for Rotation class
2018-01-01 16:45:33 +01:00
looooo
5e6993a28c
py3: Test: gathering diff of py3-branch
...
ec9dcf7453d44ce21e6ab5e460293006a49e7ccc
2017-03-02 12:46:57 +01:00
Priit Laes
fea91f701b
python: Test: *.py: Fix python3 syntax
2017-03-02 12:46:57 +01:00
wmayer
4ac649d3ec
+ add more unit tests for bounding box
2015-10-19 17:27:55 +02:00
wmayer
f6023d36d2
+ rework BoundingBox class and its Python binding
2015-10-11 00:18:53 +02:00
wmayer
2241f2ad1c
+ fixes #0001364 : Issue 1256 is not actually fixed
2014-01-24 13:54:57 +01:00
wmayer
a7164046b4
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