reb
Class Sphere

Object
  extended by reb:Sphere

class 
Object:Sphere

class for creating sphere objects

The sphere object contains arguments for recursion level and generator sphere identifier for facilitate use with Sphere Inversions


Ultra Fractal Source

Toggle UF Source Code Display

 class Sphere {
 ; class for creating sphere objects  <br>
 ; <p>
 ; The sphere object contains arguments for recursion level and
 ; generator sphere identifier for facilitate use with Sphere
 ; Inversions
 
 public:
 
 ; Sphere constructor
 ; @param center = (x,y) coordinates of the sphere center
 ; @param height = z coordinate of sphere center
 ; @param radius = sphere radius
 ; @param level = recursion level of the sphere
 ; @param generator = index of generator sphere
 func Sphere(complex center, float height, float radius, int level, int generator)
     fCen = center
     fRad = radius
     fZ = height
     fLevel = level
     fGen = generator
   endfunc
 
   int fLevel
   complex fCen
   float fRad
   float fZ
   int fGen
 
 default:
   title = "Sphere"
   int param v_sphere
     caption = "Version (Sphere)"
     default = 100
     hint = "This version parameter is used to detect when a change has been made to the formula that is incompatible with the previous version. When that happens, this field will reflect the old version number to alert you to the fact that an alternate rendering is being used."
     visible = @v_sphere < 100
   endparam
 
 }
 


Constructor Summary
Sphere()
           
Sphere(complex center, float height, float radius, int level, int generator)
          Sphere constructor
 
Method Summary
 
Methods inherited from class Object
 

Constructor Detail

Sphere

public Sphere(complex center,
              float height,
              float radius,
              int level,
              int generator)
Sphere constructor

Parameters:
center - = (x,y) coordinates of the sphere center
height - = z coordinate of sphere center
radius - = sphere radius
level - = recursion level of the sphere
generator - = index of generator sphere

Sphere

public Sphere()