Skip to content

ArborX::BoundingVolumeHierarchy::bounds

Damien L-G edited this page Jan 22, 2021 · 3 revisions

ArborX / Spatial indexes / ArborX::BVH

ArborX::BVH<MemorySpace>::bounds()

KOKKOS_FUNCTION bounding_volume_type bounds() const noexcept;

Returns the smallest axis-aligned box able to contain all leaves stored in the tree.

Parameters

(none)

Return value

The smallest bounding volume that contains all leaves stored in the tree or an invalid bounding volume if the tree is empty.

Complexity

Constant.

See also