GlobeEngine
ge::BoundingSphere Class Reference

#include <BoundingSphere.h>

Public Member Functions

 BoundingSphere ()
 
 ~BoundingSphere ()
 
void clear ()
 
void create (const vmml::Vector3d &_midPoint, double radius)
 
double intersect (const vmml::Vector3d &_point) const
 
bool isPointInside (vmml::Vector3d _position) const
 
void set (const vmml::Vector3d &_midPoint, double _radius)
 
void setMidPoint (const vmml::Vector3d &_midPoint)
 
void setRadius (double _radius)
 
const vmml::Vector3d getMidPoint () const
 
double getRadius () const
 
void draw (std::shared_ptr< ge::Camera > _cam)
 

Constructor & Destructor Documentation

ge::BoundingSphere::BoundingSphere ( )
inline
ge::BoundingSphere::~BoundingSphere ( )
inline

Member Function Documentation

void ge::BoundingSphere::clear ( )
void ge::BoundingSphere::create ( const vmml::Vector3d &  _midPoint,
double  radius 
)
void ge::BoundingSphere::draw ( std::shared_ptr< ge::Camera _cam)
const vmml::Vector3d ge::BoundingSphere::getMidPoint ( ) const
double ge::BoundingSphere::getRadius ( ) const
double ge::BoundingSphere::intersect ( const vmml::Vector3d &  _point) const
bool ge::BoundingSphere::isPointInside ( vmml::Vector3d  _position) const
void ge::BoundingSphere::set ( const vmml::Vector3d &  _midPoint,
double  _radius 
)
void ge::BoundingSphere::setMidPoint ( const vmml::Vector3d &  _midPoint)
void ge::BoundingSphere::setRadius ( double  _radius)

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