clan::AxisAlignedBoundingBox Class Reference - ClanLib SDK
Description: clan::AxisAlignedBoundingBox Class Reference

Public Member Functions | Public Attributes | List of all members
clan::AxisAlignedBoundingBox Class Reference
clanCore Math

`#include <aabb.h>`

## Public Member Functions
| AxisAlignedBoundingBox ()
| AxisAlignedBoundingBox (const AxisAlignedBoundingBox &aabb, const Vec3f &barycentric_min, const Vec3f &barycentric_max)
| AxisAlignedBoundingBox (const Vec3f &aabb_min, const Vec3f &aabb_max)
Vec3f | center () const
Vec3f | extents () const

## Public Attributes
Vec3f | aabb_max
Vec3f | aabb_min

## Constructor & Destructor Documentation

## ◆ AxisAlignedBoundingBox() [1/3]

clan::AxisAlignedBoundingBox::AxisAlignedBoundingBox | ( |  | ) |
| inline

## ◆ AxisAlignedBoundingBox() [2/3]

clan::AxisAlignedBoundingBox::AxisAlignedBoundingBox | ( | const Vec3f & | aabb_min,
|  | const Vec3f & | aabb_max )
| inline

## ◆ AxisAlignedBoundingBox() [3/3]

clan::AxisAlignedBoundingBox::AxisAlignedBoundingBox | ( | const AxisAlignedBoundingBox & | aabb,
|  | const Vec3f & | barycentric_min,
|  | const Vec3f & | barycentric_max )
| inline

## Member Function Documentation

## ◆ center()

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

References aabb_max, and aabb_min.

## ◆ extents()

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

References aabb_max, and aabb_min.

## Member Data Documentation

## ◆ aabb_max

Vec3f clan::AxisAlignedBoundingBox::aabb_max

Referenced by center(), and extents().

## ◆ aabb_min

Vec3f clan::AxisAlignedBoundingBox::aabb_min

Referenced by center(), and extents().

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

- aabb.h