RSphere

Package: INCLUDE
Include: vrs/rsphere.h


Methods:

Sphere Shape.
public:

RSphere
RSphere(float r=1, const Vector& = Vector(0,0,0) );
RSphere(const RSphere&);
virtual ~RSphere();
The actual sphere representation depends on the rendering device.
The sphere may be tessellated according to the tessellation
attribute.

setCenter, getCenter, setRadius, getRadius
virtual void setCenter(const Vector&);
virtual Vector getCenter() const;
virtual void setRadius(float);
virtual float getRadius() const;
The sphere is defined by its midpoint and radius.

boundingBox
virtual RVolume boundingBox() const;

operator==, operator=
RSphere& operator=(const RSphere&);
int operator==(const RSphere&) const;

Base Classes:

RAnalytic
RShape
RenderObj
SharedObj


AutoDOC 2.0: Created on luxemburg, Wed Jul 2 11:58:46 MET DST 1997