#include <SphereInt.h>
Inheritance diagram for Go::SphereInt:
Public Member Functions | |
SphereInt () | |
Constructor. | |
SphereInt (Point center, double radius) | |
Constructor. | |
virtual | ~SphereInt () |
Destructor. | |
void | read (std::istream &is) |
Read a sphere description from file. | |
Point | center () const |
Get center point of the sphere. | |
double | radius () const |
Get the radius of the sphere. | |
SplineSurface * | surface () const |
Get a SplineSuface representing the sphere. |
Definition at line 52 of file SphereInt.h.
Go::SphereInt::SphereInt | ( | ) |
Constructor.
Used when reading from file.
Go::SphereInt::SphereInt | ( | Point | center, | |
double | radius | |||
) |
Constructor.
center | the center point of the sphere. | |
radius | the radius of the sphere. |
void Go::SphereInt::read | ( | std::istream & | is | ) |
Read a sphere description from file.
is | the stream containing the sphere description. |
Point Go::SphereInt::center | ( | ) | const |
Get center point of the sphere.
double Go::SphereInt::radius | ( | ) | const |
Get the radius of the sphere.
SplineSurface* Go::SphereInt::surface | ( | ) | const |
Get a SplineSuface representing the sphere.
This can be used to visualize the object.