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 getCenter () const
Vec3f getSize () const
const Vec3fgetMin () const
const Vec3fgetMax () const

Static Public Member Functions

static 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::getCenter (  ) const
Vec3f cinder::AxisAlignedBox3f::getSize (  ) const
const Vec3f& cinder::AxisAlignedBox3f::getMin (  ) const
const Vec3f& cinder::AxisAlignedBox3f::getMax (  ) const
static bool cinder::AxisAlignedBox3f::calcTriangleIntersection ( const Ray ray,
const Vec3f vert0,
const Vec3f vert1,
const Vec3f vert2,
float *  result 
) [static]

Member Data Documentation


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