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

Class Cone

                   object --+        
                            |        
     core.Cone'.TruncatedCone --+    
                                |    
               object --+       |    
                        |       |    
core.Modifier'.Modifiable --+   |    
                            |   |    
          Modifier.Modifiable --+    
                                |    
                    TruncatedCone --+
                                    |
                                   Cone

Objects of this class represent cones.

Instance Methods [hide private]
 
__init__(self, basePt, tipPt, radius)
Initialises cone with center-end-point coordinates and corresponding radii.
 
getBasePt(self)
 
getRadius(self)
 
getTipPt(self)

Inherited from TruncatedCone: writeSdl

Inherited from core.Cone'.TruncatedCone: getCenter, getEndPt1, getEndPt2, getHeight, getRadius1, getRadius2

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, basePt, tipPt, radius)
(Constructor)

 

Initialises cone with center-end-point coordinates and corresponding radii.

Parameters:
  • basePt (sequence of 3 floats) - Center coordinate of one end.
  • tipPt (sequence of 3 floats) - Center coordinate of other end.
  • radius (float) - Radius at basePt.
Overrides: object.__init__