parry3d/bounding_volume/
mod.rs

1//! Bounding volumes.
2
3#[doc(inline)]
4pub use crate::bounding_volume::aabb::Aabb;
5pub use crate::bounding_volume::simd_aabb::SimdAabb;
6
7#[doc(inline)]
8pub use crate::bounding_volume::bounding_sphere::BoundingSphere;
9#[doc(inline)]
10pub use crate::bounding_volume::bounding_volume::BoundingVolume;
11
12#[doc(hidden)]
13pub mod bounding_volume;
14
15#[doc(hidden)]
16pub mod aabb;
17mod aabb_ball;
18#[cfg(feature = "dim2")]
19#[cfg(feature = "alloc")]
20mod aabb_convex_polygon;
21#[cfg(feature = "dim3")]
22#[cfg(feature = "alloc")]
23mod aabb_convex_polyhedron;
24mod aabb_cuboid;
25mod aabb_halfspace;
26#[cfg(feature = "alloc")]
27mod aabb_heightfield;
28mod aabb_support_map;
29mod aabb_triangle;
30mod aabb_utils;
31
32mod aabb_capsule;
33#[cfg(feature = "alloc")]
34mod aabb_voxels;
35#[doc(hidden)]
36pub mod bounding_sphere;
37mod bounding_sphere_ball;
38mod bounding_sphere_capsule;
39#[cfg(feature = "dim3")]
40mod bounding_sphere_cone;
41#[cfg(feature = "dim3")]
42#[cfg(feature = "alloc")]
43mod bounding_sphere_convex;
44#[cfg(feature = "dim2")]
45#[cfg(feature = "alloc")]
46mod bounding_sphere_convex_polygon;
47mod bounding_sphere_cuboid;
48#[cfg(feature = "dim3")]
49mod bounding_sphere_cylinder;
50mod bounding_sphere_halfspace;
51#[cfg(feature = "alloc")]
52mod bounding_sphere_heightfield;
53#[cfg(feature = "alloc")]
54mod bounding_sphere_polyline;
55mod bounding_sphere_segment;
56mod bounding_sphere_triangle;
57#[cfg(feature = "alloc")]
58mod bounding_sphere_trimesh;
59mod bounding_sphere_utils;
60#[cfg(feature = "alloc")]
61mod bounding_sphere_voxels;
62mod simd_aabb;
63
64/// Free functions for some special cases of bounding-volume computation.
65pub mod details {
66    #[cfg(feature = "dim3")]
67    pub use super::aabb_utils::support_map_aabb;
68    pub use super::aabb_utils::{
69        local_point_cloud_aabb, local_point_cloud_aabb_ref, local_support_map_aabb,
70        point_cloud_aabb, point_cloud_aabb_ref,
71    };
72    pub use super::bounding_sphere_utils::point_cloud_bounding_sphere;
73}