PyFoam :: Paraview :: SourceBase :: SourceBase :: Class SourceBase
[hide private]
[frames] | no frames]

Class SourceBase

source code

object --+
         |
        SourceBase

Base class for the sources

The member src is the actual source object

Instance Methods [hide private]
 
__init__(self, src)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
getBounds(self)
Get the bounding box of the object
source code
 
getMin(self)
Get the minimum-vector of the bounds
source code
 
getMax(self)
Get the minimum-vector of the bounds
source code
 
getCenter(self)
Return the center of the object
source code
 
getExtent(self)
Return the center of the object
source code
 
characteristicLength(self)
The characteristic length of the object
source code
 
makeVector(self, orig)
Convert a list or a tuple of length 3 to a vector for easier calculations
source code

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, src)
(Constructor)

source code 

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

Parameters:
  • src - the actual source proxy
Overrides: object.__init__