#include <sphere.h>
Inheritance diagram for Sphere:

Public Member Functions | |
| Sphere (DBL r) | |
| Sphere (DBL r, Vector3 l) | |
| Object3D * | duplicate () const |
| void | rotateRad (const Vector3 &v) |
| void | rotateDeg (const Vector3 &v) |
| void | scale (const Vector3 &v) |
| Intersection * | intersectLocal (const Ray &r) const |
| Intersection * | intersectLocalLimitedTime (const Ray &r, DBL maxtime) const |
| bool | isInsideAt (const Vector3 &locallocation) const |
| bool | hasFinitBounding () const |
| Vector3 | getBoundingMin () const |
| Vector3 | getBoundingMax () const |
| PatchObject * | toPatch (double precision) const |
|
|
Create sphere at origin.
|
|
||||||||||||
|
Create sphere.
|
|
|
Create a duplicate of the object. Must be of the same type!
Implements SurfacePatch3D.
|
|
|
Get bounding dimension (maximum edge). Reimplemented from Object3D.
|
|
|
Get bounding dimension (minimum edge). Reimplemented from Object3D.
|
|
|
Returns true if the surface can be enclosed by a finit box. Reimplemented from Object3D.
|
|
|
Test point for insideness.
Implements Object3D.
|
|
|
Rotate around x,y and z axis.
Reimplemented from Object3D.
|
|
|
Rotate around x,y and z axis.
Reimplemented from Object3D.
|
|
|
Scale by x,y,z factor from vector. Reimplemented from Object3D.
|
|
|
Creates an approximatly equivalent object out of 'patches'. Returns
Reimplemented from Object3D.
|
1.3.8