Package esys :: Package lsm :: Package vis :: Package povray :: Module cylinder :: Class Disk
[hide private]
[frames] | no frames]

Class Disk

                  object --+        
                           |        
      core.cylinder.Cylinder --+    
                               |    
              object --+       |    
                       |       |    
core.modifier.Modifiable --+   |    
                           |   |    
         modifier.Modifiable --+    
                               |    
                        Cylinder --+
                                   |
                                  Disk

Objects of this class represent cylinders.

Instance Methods [hide private]
 
__init__(self, center, radius, height=None, direction=None)
Initialises cylinder with center-end-point coordinates and radius.

Inherited from Cylinder: writeSdl

Inherited from core.cylinder.Cylinder: getCenter, getEndPt1, getEndPt2, getHeight, getRadius

Inherited from modifier.Modifiable: apply, applySingle

Inherited from core.modifier.Modifiable: applySequence, getModifierList

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, center, radius, height=None, direction=None)
(Constructor)

 

Initialises cylinder with center-end-point coordinates and radius.

Parameters:
  • endPt1 - Center coordinate of one end.
  • endPt2 - Center coordinate of other end.
  • radius - Radius of cylinder.
Overrides: object.__init__
(inherited documentation)