Sirikata
Public Member Functions | Static Public Member Functions | Private Attributes
Sirikata::BoundingSphere< real > Class Template Reference

#include <BoundingSphere.hpp>

Collaboration diagram for Sirikata::BoundingSphere< real >:

List of all members.

Public Member Functions

 BoundingSphere ()
 BoundingSphere (const Vector3< real > &center, float radius)
float32 radius () const
Vector3< real > center () const
BoundingSphere< real > recenter (const Vector3< real > &newCenter)
BoundingSpheremergeIn (const BoundingSphere &rhs)
BoundingSphere merge (const BoundingSphere &rhs) const
bool contains (const BoundingSphere &other) const
bool contains (const BoundingSphere &other, real epsilon) const
bool contains (const Vector3< real > &pt) const
bool invalid () const
bool degenerate () const
real volume () const
bool operator== (const BoundingSphere &rhs)
bool operator!= (const BoundingSphere &rhs)

Static Public Member Functions

static BoundingSphere< real > null ()

Private Attributes

Vector3< real > mCenter
float32 mRadius

template<typename real>
class Sirikata::BoundingSphere< real >


Constructor & Destructor Documentation

template<typename real>
Sirikata::BoundingSphere< real >::BoundingSphere ( ) [inline]
template<typename real>
Sirikata::BoundingSphere< real >::BoundingSphere ( const Vector3< real > &  center,
float  radius 
) [inline]

Member Function Documentation

template<typename real>
Vector3<real> Sirikata::BoundingSphere< real >::center ( ) const [inline]
template<typename real>
bool Sirikata::BoundingSphere< real >::contains ( const BoundingSphere< real > &  other,
real  epsilon 
) const [inline]
template<typename real>
bool Sirikata::BoundingSphere< real >::contains ( const Vector3< real > &  pt) const [inline]
template<typename real>
bool Sirikata::BoundingSphere< real >::contains ( const BoundingSphere< real > &  other) const [inline]
template<typename real>
bool Sirikata::BoundingSphere< real >::degenerate ( ) const [inline]
template<typename real>
bool Sirikata::BoundingSphere< real >::invalid ( ) const [inline]
template<typename real>
BoundingSphere Sirikata::BoundingSphere< real >::merge ( const BoundingSphere< real > &  rhs) const [inline]
template<typename real>
BoundingSphere& Sirikata::BoundingSphere< real >::mergeIn ( const BoundingSphere< real > &  rhs) [inline]
template<typename real>
static BoundingSphere<real> Sirikata::BoundingSphere< real >::null ( ) [inline, static]
template<typename real>
bool Sirikata::BoundingSphere< real >::operator!= ( const BoundingSphere< real > &  rhs) [inline]
template<typename real>
bool Sirikata::BoundingSphere< real >::operator== ( const BoundingSphere< real > &  rhs) [inline]
template<typename real>
float32 Sirikata::BoundingSphere< real >::radius ( ) const [inline]
template<typename real>
BoundingSphere<real> Sirikata::BoundingSphere< real >::recenter ( const Vector3< real > &  newCenter) [inline]
template<typename real>
real Sirikata::BoundingSphere< real >::volume ( ) const [inline]

Member Data Documentation

template<typename real>
Vector3<real> Sirikata::BoundingSphere< real >::mCenter [private]
template<typename real>
float32 Sirikata::BoundingSphere< real >::mRadius [private]

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