# Cinder

# cinder::AxisAlignedBox3f Class Reference

`#include <AxisAlignedBox.h>`

List of all members.

## Public Member Functions
| AxisAlignedBox3f ()
| AxisAlignedBox3f (const Vec3f &aMin, const Vec3f &aMax)
bool | intersects (const Ray &ray)
int | intersect (const Ray &ray, float intersections[2])
Vec3f | length ()
const Vec3f & | min () const
const Vec3f & | max () const
## Protected Member Functions
bool | calcTriangleIntersection (const Ray &ray, const Vec3f &vert0, const Vec3f &vert1, const Vec3f &vert2, float *result)
## Protected Attributes
Vec3f | mExtents [2]
Vec3f | mVerts [8]

## Constructor & Destructor Documentation

cinder::AxisAlignedBox3f::AxisAlignedBox3f | ( |  | ) |

cinder::AxisAlignedBox3f::AxisAlignedBox3f | ( | const Vec3f & | aMin,
|  | const Vec3f & | aMax |
| ) |  |  |

## Member Function Documentation

bool cinder::AxisAlignedBox3f::intersects | ( | const Ray & | ray | ) |

int cinder::AxisAlignedBox3f::intersect | ( | const Ray & | ray,
|  | float | intersections[2] |
| ) |  |  |

Vec3f cinder::AxisAlignedBox3f::length | ( |  | ) |

const Vec3f& cinder::AxisAlignedBox3f::min | ( |  | ) | const

const Vec3f& cinder::AxisAlignedBox3f::max | ( |  | ) | const

bool cinder::AxisAlignedBox3f::calcTriangleIntersection | ( | const Ray & | ray,
|  | const Vec3f & | vert0,
|  | const Vec3f & | vert1,
|  | const Vec3f & | vert2,
|  | float * | result |
| ) |  |  | `[protected]`

## Member Data Documentation

Vec3f cinder::AxisAlignedBox3f::mExtents[2]`[protected]`

Vec3f cinder::AxisAlignedBox3f::mVerts[8]`[protected]`

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

- include/cinder/AxisAlignedBox.h
- src/cinder/AxisAlignedBox.cpp