Package esys :: Package lsm :: Package vis :: Package core :: Module cone :: Class Cone
[hide private]
[frames] | no frames]

Class Cone

   object --+    
            |    
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)
 
getTipPt(self)
 
getRadius(self)

Inherited from TruncatedCone: getCenter, getEndPt1, getEndPt2, getHeight, getRadius1, getRadius2

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__