Package esys :: Package lsm :: Package vis :: Package povray :: Module Cylinder' :: Class Cylinder
[hide private]
[frames] | no frames]

Class Cylinder

                   object --+    
                            |    
      core.Cylinder'.Cylinder --+
                                |
               object --+       |
                        |       |
core.Modifier'.Modifiable --+   |
                            |   |
          Modifier.Modifiable --+
                                |
                               Cylinder
Known Subclasses:

Instance Methods [hide private]
 
__init__(self, endPt1, endPt2, radius)
Initialises cylinder with center-end-point coordinates and radius.
 
writeSdl(self, f)

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, endPt1, endPt2, radius)
(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)

writeSdl(self, f)

 
Overrides: Modifier.Modifiable.writeSdl