Package Scientific :: Package Visualization :: Module PyMOL :: Class Cone
[hide private]
[frames] | no frames]

Class Cone



PyMOLObject --+    
              |    
    ShapeObject --+
                  |
                 Cone

Cone

Instance Methods [hide private]
  __init__(self, point1, point2, radius, face=True, **attr)
  cgoObjects(self, material)

Inherited from ShapeObject: __add__, getPymolObjects, use

Inherited from PyMOLObject: __copy__, __getitem__, __setitem__, writeToFile


Class Variables [hide private]

Inherited from ShapeObject: attribute_names


Method Details [hide private]

__init__(self, point1, point2, radius, face=True, **attr)
(Constructor)

 
Parameters:
  • point1 (Scientific.Geometry.Vector) - the tip of the cone
  • point2 (Scientific.Geometry.Vector) - end point of the cone axis
  • radius (positive number) - the radius at the base
  • face (bool) - a boolean flag, specifying if the circular bottom is visible
  • attr - graphics attributes as keyword parameters
Overrides: PyMOLObject.__init__

cgoObjects(self, material)