Go::SphereInt Class Reference
[Intersections]

Class representing spherical algebraic intersection objects. More...

#include <SphereInt.h>

Inheritance diagram for Go::SphereInt:

Go::AlgObj3DInt Go::AlgObjectInt List of all members.

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.

Detailed Description

Class representing spherical algebraic intersection objects.

Definition at line 52 of file SphereInt.h.


Constructor & Destructor Documentation

Go::SphereInt::SphereInt (  ) 

Constructor.

Used when reading from file.

Go::SphereInt::SphereInt ( Point  center,
double  radius 
)

Constructor.

Parameters:
center the center point of the sphere.
radius the radius of the sphere.


Member Function Documentation

void Go::SphereInt::read ( std::istream &  is  ) 

Read a sphere description from file.

Parameters:
is the stream containing the sphere description.

Point Go::SphereInt::center (  )  const

Get center point of the sphere.

Returns:
The center point of the sphere.

double Go::SphereInt::radius (  )  const

Get the radius of the sphere.

Returns:
The radius of the sphere.

SplineSurface* Go::SphereInt::surface (  )  const

Get a SplineSuface representing the sphere.

This can be used to visualize the object.

Returns:
The spline surface of the sphere.


The documentation for this class was generated from the following file:
Generated on Fri Nov 23 12:24:35 2007 for GoTools Intersections Library by  doxygen 1.5.1