t4_geom_convert.UnitTests package
Subpackages
Submodules
t4_geom_convert.UnitTests.test_VectUtils module
Tests for the VectUtils module.
- t4_geom_convert.UnitTests.test_VectUtils.is_in_plane(point, plane)
Returns True if the point lies in the given plane.
- t4_geom_convert.UnitTests.test_VectUtils.is_parallel(vector1, vector2)
Returns True if the vectors are parallel
- t4_geom_convert.UnitTests.test_VectUtils.test_intersection() None
Test that the point generated by
pointInPlaneIntersection()always lies in both planes.
- t4_geom_convert.UnitTests.test_VectUtils.test_rotation_from_vectors() None
Test that
rotation_from_vectors()actually rotates vector1 on top of vector2.
- t4_geom_convert.UnitTests.test_VectUtils.test_rotation_unitary() None
Test that the matrix given by
rotation_from_vectors()is unitary.
- t4_geom_convert.UnitTests.test_VectUtils.vectors(*, norm=None) SearchStrategy
Generate random vectors, possibly with a given norm.