Package PyFoam :: Package Paraview :: Module SimpleSources :: Class Sphere
[hide private]
[frames] | no frames]

Class Sphere

source code

           object --+        
                    |        
SourceBase.SourceBase --+    
                        |    
             SimpleSource --+
                            |
                           Sphere

Displays a sphere

Instance Methods [hide private]
 
__init__(self, name, center, relRadius=0.01, absRadius=None)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code

Inherited from SimpleSource: __del__, unregister

Inherited from SourceBase.SourceBase: characteristicLength, getBounds, getCenter, getExtent, getMax, getMin, makeVector

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, name, center, relRadius=0.01, absRadius=None)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Parameters:
  • name - name under which the sphere should be displayed
  • center - the center of the sphere
  • relRadius - radius relative to the characteristic length
  • absRadius - absolute radius. Overrides relRadius if set
Overrides: object.__init__