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

Class Cube

                core.Box'.Box --+    
                                |    
               object --+       |    
                        |       |    
core.Modifier'.Modifiable --+   |    
                            |   |    
          Modifier.Modifiable --+    
                                |    
                              Box --+
                                    |
                                   Cube

Box with all sides the same length.

Instance Methods [hide private]
 
__init__(self, minPt, sideLength)
Constructs axis-aligned cube.

Inherited from Box: writeSdl

Inherited from core.Box'.Box: getCenter, getMaxPt, getMinPt, getSideLength

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

 

Constructs axis-aligned cube.

Parameters:
  • minPt (sequence of 3 floats) - lower left back corner coordinate.
  • sideLength (float) - length of all sides.
Overrides: object.__init__