clan::AxisAlignedBoundingBox Class Reference

#include <aabb.h>

Public Member Functions

 AxisAlignedBoundingBox ()
 
 AxisAlignedBoundingBox (const Vec3f &aabb_min, const Vec3f &aabb_max)
 
 AxisAlignedBoundingBox (const AxisAlignedBoundingBox &aabb, const Vec3f &barycentric_min, const Vec3f &barycentric_max)
 
Vec3f center () const
 
Vec3f extents () const
 

Public Attributes

Vec3f aabb_max
 
Vec3f aabb_min
 

Constructor & Destructor Documentation

clan::AxisAlignedBoundingBox::AxisAlignedBoundingBox ( )
inline
clan::AxisAlignedBoundingBox::AxisAlignedBoundingBox ( const Vec3f aabb_min,
const Vec3f aabb_max 
)
inline
clan::AxisAlignedBoundingBox::AxisAlignedBoundingBox ( const AxisAlignedBoundingBox aabb,
const Vec3f barycentric_min,
const Vec3f barycentric_max 
)
inline

Member Function Documentation

Vec3f clan::AxisAlignedBoundingBox::center ( ) const
inline

References aabb_max, and aabb_min.

Vec3f clan::AxisAlignedBoundingBox::extents ( ) const
inline

References aabb_max, and aabb_min.

Member Data Documentation

Vec3f clan::AxisAlignedBoundingBox::aabb_max

Referenced by center(), and extents().

Vec3f clan::AxisAlignedBoundingBox::aabb_min

Referenced by center(), and extents().


The documentation for this class was generated from the following file: