Polliwog

Latest version: v2.4.0

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

Scan your dependencies

Page 6 of 8

1.0.0beta.4

New features

- Plane: Add `mirror_point()`.

1.0.0beta.3

Bug fixes

- Correctly expose `mirror_point_across_plane()`.

1.0.0beta.2

BREAKING CHANGES

- Plane: Rename `partition_by_length()` -> `subdivided_by_length()`.
- Add `mirror_point_across_plane()`.
- Remove `polliwog.transform.as_rotation_matrix()`.
- Rename `polliwog.transform.rodrigues` to `cv2_rodrigues()`. (Better to use
one of the new functions `rodrigues_vector_to_rotation_matrix()` or
`rotation_matrix_to_rodrigues_vector()` instead.)

New features

- Add `rodrigues_vector_to_rotation_matrix()` and
`rodrigues_vector_to_rotation_matrix()` as clearer versions of `rodrigues()`.

Other maintenance

- 100% test coverage :100: :party:
- Publish the wheel using Python 3.
- Add leading underscores to all private modules, causing any
non-canonical imports to break.

1.0.0beta.1

BREAKING CHANGES

- Reorganize entire API into a few namespaces.
- Attach named coordinate planes to Plane class.
- Various API changes in CompositeTransform.
- Remove `CompositeTransform.append_transform3()`.
- Remove `partition_segment_old()`.
- Remove `find_rigid_rotation()` and `find_rigid_transform()`. They are
being moved to [Entente][].
- `cut_open_polyline_by_plane()` is now private.
- Remove `estimate_normal()`.

New features

- Break out affine transformations into their own functions.
- Plane: `sign()` and `distance()` work with single query points.
- Box: Add `contains()` method.

Bug fixes

- Fix `contains_coplanar_point()`.

Other maintenance

- Documentation on a single page, with sections.

0.12.0

BREAKING CHANGES

- Require Python 3.
- Polyline:
- Rename `flip()` to `flipped()`.
- Rename `oriented_along()` to `aligned_with()` and drop `reverse`
parameter.
- Rename `bisect_edges()` to `with_segments_bisected()`.
- Rename `cut_by_plane()` to `sliced_by_plane()`.
- Rename `reindexed()` to `rolled()`.
- CompositeTransform:
- Require `np.array` inputs, not lists.
- Rename some arguments.
- Remove special support for `lace.mesh.Mesh`. This functionality can be
restored as a convenience function on Mesh itself.
- `rotation_from_up_and_look()`: Require `np.array` input, not list.
- Consolidate `tri.barycentric`, `tri.contains`, and `tri.surface_normals`
into `tri.functions`.
- Rename `tri.arity` to `tri.quad_faces`.
- Remove `transform.translation()`.
- Remove `transform.composite.convert_44_to_33()`. Make `convert_33_to_44()`
private for now.

New features

- Polyline:
- Add `index_of_vertex()`.
- Add `with_insertions()`.
- Add `sliced_at_points()`.
- Add `sliced_at_indices()`.
- `join()`: Add `is_closed` parameter.
- Add `transform.apply_affine_transform()`.

Other maintenance

- Auto-generate documentation and start to improve them. They aren't 100% but
they're a good part of the way there:
https://polliwog.readthedocs.io/en/latest/
- Publish wheels for OS X.
- Consolidate duplicate implementations
`plane.functions.plane_normal_from_points` and
`tri.functions.surface_normals`.
- Replace pyflakes with flake8.
- Refactor some array shape validation code.
- Remove `setter_property` decorator.
- Remove `rotate_to_xz_plane()`.
- Stop using `vg.matrix` which is being deprecated.
- Replace pint with [ounce][].

[ounce]: https://github.com/lace/ounce

0.11.0

BREAKING CHANGES

- Polyline: Rename `closed` property to `is_closed`.
- Box: Rename `shape` to `size`.
- Rename `line_intersect()` to `line_intersect2()` and return None instead of
nan's.

New features

- Polyline: Add `oriented_along()` method.
- Polyline: Add `bounding_box` property.
- Polyline: Add `join()` class method.

Bug fixes

- Fix `check_shape_any()` error messages and add tests.

Other maintenance

- Require `vg` 1.5+.
- Omit tests from PyPI distribution.

Page 6 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.