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__