Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

RT_Sphere Class Reference

#include <RT_Prim.h>

Inheritance diagram for RT_Sphere:

RT_Gen RT_Prim

Collaboration diagram for RT_Sphere:

List of all members.

Public Members

Void Init (const Point &centre, GCLReal radius, RT_Object *obj, Int genID)
Bool Intersect (Point &start, Vector &dir, GCLReal tMin, GCLReal tMax)
Void UpdateBounds (Point &min, Point &max)
Void FindBounds (Point &min, Point &max)
Point centre
GCLReal radius
GCLReal sqrRad


Detailed Description

Definition at line 139 of file RT_Prim.h.


Member Function Documentation

Void RT_Sphere::FindBounds (Point & min, Point & max) [virtual]

Reimplemented from RT_Gen.

Definition at line 258 of file RT_Prim.cc.

Void RT_Sphere::Init (const Point & c, GCLReal r, RT_Object * obj, Int genID)

Reimplemented from RT_Gen.

Definition at line 199 of file RT_Prim.cc.

Bool RT_Sphere::Intersect (Point & start, Vector & dir, GCLReal tMin, GCLReal tMax) [virtual]

Reimplemented from RT_Gen.

Definition at line 211 of file RT_Prim.cc.

Void RT_Sphere::UpdateBounds (Point & min, Point & max) [virtual]

Reimplemented from RT_Gen.

Definition at line 249 of file RT_Prim.cc.


Member Data Documentation

Point RT_Sphere::centre

Definition at line 142 of file RT_Prim.h.

GCLReal RT_Sphere::radius

Definition at line 143 of file RT_Prim.h.

GCLReal RT_Sphere::sqrRad

Definition at line 144 of file RT_Prim.h.


The documentation for this class was generated from the following files:
Generated at Sat Aug 5 00:26:59 2000 for Radiator by doxygen 1.1.0 written by Dimitri van Heesch, © 1997-2000