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

Class Sphere



PyMOLObject --+    
              |    
    ShapeObject --+
                  |
                 Sphere

Sphere

Instance Methods [hide private]
  __init__(self, center, radius, **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, center, radius, **attr)
(Constructor)

 
Parameters:
  • center (Scientific.Geometry.Vector) - the center of the sphere
  • radius (positive number) - the sphere radius
  • attr - graphics attributes as keyword parameters
Overrides: PyMOLObject.__init__

cgoObjects(self, material)