Vecmaths

Latest version: v0.1.6

Safety actively analyzes 619494 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.1.6

Added

- Add function `geometry.order_coplanar_points` to order a set of coplanar points either anticlockwise or clockwise.

0.1.5

Fixed

- Fix bug in `vectors.normalise` where all integer arrays were normalised to zero arrays.

0.1.4

Added

- Add methods argument (allowed values `orthonormal_basis` and `axis_angle`) to `get_random_rotation_matrix`
- If method is `axis_angle`, can also specify `max_angle_deg` to be the maximum allowed rotation angle.

0.1.3

Added

- Add function `get_random_rotation_matrix` to `rotation` module, for generating (stacks of) matrices representing random 3D rotations.

Fixed

- Fix problem with `rotation.rotmat2axang` where passing a single identity matrix raises a `ValueError`, due to a vectorisation issue.

0.1.2

Fixed

- Fix problem with `rotation.vecpair2rotmat` introduced by previous bug fix, whereby the returned matrices for non-anti-parallel vector pairs are incorrect.

0.1.1

Fixed

- Fix problem with `rotation.vecpair2rotmat` where if a single, anti-parallel vector pair is passed, the return is a matrix of `nan`.

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.