Module shape

Source
Expand description

3D volumetric forms

Structs§

Capsule
A capsule defined by strictly positive radius and half-height
Cone
A cone defined by strictly positive radius and half-height
Cube
A cube defined by a strictly positive half-extent
Cuboid
A box defined by three strictly positive half extents
Cylinder
A cylinder defined by strictly positive radius and half-height
Halfspace
A halfspace defined by a normal vector
Orthant
An axis-aligned halfspace
Sphere
A sphere defined by a positive radius

Enums§

Bounded
A (totally) bounded shape
Unbounded
A shape that is only partly bounded
Variant
A shape that is either bounded (encloses a finite volume) or unbounded (delimits an infinite volume)

Traits§

Aabb
Trait for computing the axis-aligned bounding volume of a given shape.
Bsphere
A trait for computing bounding spheres
Shape
A trait for bounded and unbounded shapes.
Stereometric
Trait for computing volumes of solid figures.

Functions§

report_sizes