|
Visual Computing Library
devel
|
Public Types | |
| using | BoxType = Box3< Scalar > |
| using | PointType = Point3< Scalar > |
| using | ScalarType = Scalar |
Public Member Functions | |
| template<typename S > | |
| auto | cast () const |
| Point3< Scalar > & | center () |
| const Point3< Scalar > & | center () const |
| Scalar | circumference () const |
| Scalar | diameter () const |
| bool | intersects (const Box3< Scalar > &b) const |
| Checks if a sphere intersects with a Box. | |
| bool | isInside (const Point3< Scalar > &p) const |
| Scalar & | radius () |
| const Scalar & | radius () const |
| Sphere (const Point3< Scalar > ¢er, Scalar radius) | |
| Scalar | surfaceArea () const |
| Scalar | volume () const |
Private Attributes | |
| Point3< Scalar > | mCenter |
| Scalar | mRadius |
|
inline |