Package esys :: Package lsm :: Package vis :: Package core :: Module sphere :: Class Sphere
[hide private]
[frames] | no frames]

Class Sphere

object --+
         |
        Sphere
Known Subclasses:

Objects of this class represent spheres.

Instance Methods [hide private]
 
__init__(self, center, radius)
Initialises sphere with center-coordinate and radius.
 
getCenter(self)
Returns the coordinate of the center of this sphere.
 
getRadius(self)
Returns the radius of this sphere.

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

 

Initialises sphere with center-coordinate and radius.

Overrides: object.__init__

getCenter(self)

 

Returns the coordinate of the center of this sphere.

Returns:
Center coordinate of this sphere.

getRadius(self)

 

Returns the radius of this sphere.

Returns:
Radius of this sphere.