#include <sphere_space.h>
Public Member Functions | |
Sphere_Space (SPH &sph, const int nspheres) | |
void | reset () |
bool | next () |
bool | at_end () const |
const Sphere & | get_sphere () const |
void | to_xml (std::ostream &o) |
|
Constructs a sphere space from a sph space. nspheres Number of spheres to construct. |
|
Last next() has returned false. |
|
Returns a reference to the current sphere. |
|
Iterator set to next sphere. Returns false if no next sphere exists. |
|
Resets iterator through spheres. |
|
Output as XML into o. |