The EVENTDISPLAYC Project
Back to the index
ThreeDSphere.cxx
#include "ThreeDSphere.h"
#include "VRMLWindow.h"
#include "VRMLFile.h"
#include <iostream.h>
ThreeDSphere::ThreeDSphere()
{
}
ThreeDSphere::ThreeDSphere(const SFFloat& radius):
_radius(radius)
{
}
ThreeDSphere::ThreeDSphere(const ThreeDSphere& original):
_radius(original._radius)
{
}
ThreeDSphere::~ThreeDSphere()
{
}
ThreeDSphere& ThreeDSphere::operator=(const ThreeDSphere& original)
{
_radius = original._radius;
return(*this);
}
void ThreeDSphere::plot(const VRMLWindow&) const
{
}
void ThreeDSphere::plot(const VRMLFile& scene) const
{
scene.out() << "Sphere {\t";
scene.out() << "radius\t" << _radius << "\t";
scene.out() << "}" << endl;
}
Back to the index
Created on Thu Jun 27 1996 by Julius Hrivnac using the HTML generator
Ddl2Html