Distance3d

Latest version: v0.9.0

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

Scan your dependencies

Page 2 of 2

0.4.0

Features

* Add support function for box and sphere
* Cone, disk, and ellipsoid colliders 24 14
* Hill climbing to speed up support function of convex meshes 15
* Minkowski portal refinement (MPR) for collision detection 18, about 20x faster for collision detection than GJK
* Fast GJK intersection test 26, 20x faster than standard GJK and 10% faster than MPR

Performance

* Acceleration with numba 13 , for example:
* `point_to_triangle` is 7x faster
* `point_to_plane` is 2.5x faster
* `point_to_disk` is 6x faster
* `line_to_line_segment` is 6x faster
* `line_segment_to_line_segment` is 5x faster
* `line_segment_to_plane` is 5x faster
* `line_to_triangle` is 15x faster
* `line_segment_to_triangle` is 14x faster

Refactoring

* Refactored GJK for readability and minor speed improvements 11
* Refactored colliders 23
* All support functions have name prefix `support_function_`
* Move `BoundingVolumeHierarchy` to new module `broad_phase`
* Rename `Convex` to `ConvexHullVertices`

0.3.0

Features

* Distance
* from line segment to circle
* from plane to plane
* from plane to triangle
* from plane to rectangle
* from plane to box
* from plane to ellipsoid

Performance Improvements

* Significantly faster AABB computation for boxes, cylinders, and capsules
* Significantly faster self collision detection by pruning
* 6x faster distance from point to box

**Full Changelog**: https://github.com/AlexanderFabisch/distance3d/compare/0.2.0...0.3.0

0.2.0

New Features

* Self collision detection for robots
* Distance computation
* from line to plane
* from line segment to plane
* from line to circle
* from disk to disk

0.1.1

Fix image URL for PyPI

0.1.0

First public release

Page 2 of 2

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.