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

Class Line

source code

           object --+        
                    |        
SourceBase.SourceBase --+    
                        |    
             SimpleSource --+
                            |
                           Line

Displays a line

Instance Methods [hide private]
 
__init__(self, name, pt1, pt2)
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, pt1, pt2)
(Constructor)

source code 

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

Parameters:
  • name - name under which the line should be displayed
  • pt1 - the start of the line
  • pt2 - the end of the line
Overrides: object.__init__