BVH3

Inheritance diagram of rumba.BVH3
class BVH3

Bases: rumba.Value

A bounding volume hierarchy to quickly select 3d shapes.

Constructors

__init__

Methods

select(position) Returns a rough selection of the elements at a distance of position smaller than max_distance.
select(position: Imath.V3f, max_distance: float, result: list(int)) → None

Returns a rough selection of the elements at a distance of position smaller than max_distance.

All the objects closer to position than max_distance are returned once. Objects farther to position than max_distance may be also returned once. A more precise test should be performed after this rough selection.