Visualization LibraryA lightweight C++ OpenGL middleware for 2D/3D graphics |
[Home] [Tutorials] [All Classes] [Grouped Classes] |
#include <Sphere.hpp>
Public Member Functions | |
| Sphere () | |
| Sphere (const AABB &aabb) | |
| void | setNull () |
| void | setPoint () |
| bool | isNull () const |
| bool | isPoint () const |
| void | setCenter (const vec3 ¢er) |
| const vec3 & | center () const |
| void | setRadius (Real radius) |
| Real | radius () const |
| bool | includes (const Sphere &other) const |
| Sphere & | operator= (const AABB &aabb) |
| Sphere | operator+ (const Sphere &other) |
| const Sphere & | operator+= (const Sphere &other) |
| void | transformed (Sphere &sphere, const mat4 &mat) const |
| Sphere | transformed (const mat4 &mat) const |
Protected Attributes | |
| vec3 | mCenter |
| Real | mRadius |
| vl::Sphere::Sphere | ( | ) | [inline] |
| vl::Sphere::Sphere | ( | const AABB & | aabb | ) | [inline] |
| void vl::Sphere::setNull | ( | ) | [inline] |
| void vl::Sphere::setPoint | ( | ) | [inline] |
| bool vl::Sphere::isNull | ( | ) | const [inline] |
| bool vl::Sphere::isPoint | ( | ) | const [inline] |
| void vl::Sphere::setCenter | ( | const vec3 & | center | ) | [inline] |
| const vec3& vl::Sphere::center | ( | ) | const [inline] |
| void vl::Sphere::setRadius | ( | Real | radius | ) | [inline] |
| Real vl::Sphere::radius | ( | ) | const [inline] |
| bool vl::Sphere::includes | ( | const Sphere & | other | ) | const [inline] |
vec3 vl::Sphere::mCenter [protected] |
Real vl::Sphere::mRadius [protected] |