9 #ifndef GlobeEngine_BoundingSphere_h
10 #define GlobeEngine_BoundingSphere_h
12 #include <vmmlib/vmmlib.hpp>
25 void create(
const vmml::Vector3d& _midPoint,
double radius);
27 double intersect(
const vmml::Vector3d& _point)
const;
30 void set(
const vmml::Vector3d& _midPoint,
double _radius);
35 void draw(std::shared_ptr<ge::Camera> _cam);
38 vmml::Vector3d midPoint;
~BoundingSphere()
Definition: BoundingSphere.h:23
void create(const vmml::Vector3d &_midPoint, double radius)
Definition: BoundingSphere.cpp:17
void draw(std::shared_ptr< ge::Camera > _cam)
Definition: BoundingSphere.cpp:46
BoundingSphere()
Definition: BoundingSphere.h:22
double getRadius() const
Definition: BoundingSphere.cpp:72
void clear()
Definition: BoundingSphere.cpp:11
bool isPointInside(vmml::Vector3d _position) const
Definition: BoundingSphere.cpp:37
void set(const vmml::Vector3d &_midPoint, double _radius)
Definition: BoundingSphere.cpp:51
Definition: AvalancheTrainingSimulationEngine.h:28
const vmml::Vector3d getMidPoint() const
Definition: BoundingSphere.cpp:67
void setMidPoint(const vmml::Vector3d &_midPoint)
Definition: BoundingSphere.cpp:57
void setRadius(double _radius)
Definition: BoundingSphere.cpp:62
double intersect(const vmml::Vector3d &_point) const
Definition: BoundingSphere.cpp:23
Definition: BoundingSphere.h:19