Module gengeo :: Class EllipsoidVol
[hide private]
[frames] | no frames]

Class EllipsoidVol

 object --+            
          |            
??.instance --+        
              |        
        AVolume --+    
                  |    
          AVolume3D --+
                      |
                     EllipsoidVol

A class defining an ellipsoid. Major axes are axis-aligned.

Instance Methods [hide private]
 
__init__(...)
Constructs an ellipsoid with the specified centre and axis-aligned lengths.
 
__str__(...)
str(x)

Inherited from AVolume: __reduce__

Inherited from unreachable.instance: __new__

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __subclasshook__

Class Variables [hide private]
  __instance_size__ = 72
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(...)
(Constructor)

 

Constructs an ellipsoid with the specified centre and axis-aligned lengths. WARNING: The surface particles are not fitted to the ellipsoid surface, resulting in blob-like particle clusters.

Parameters:
  • centre (Vector3) - Coordinates of the centre of the ellipsoid
  • Lx (double) - Length of ellipsoid major axis in x-direction
  • Ly (double) - Length of ellipsoid major axis in y-direction
  • Lz (double) - Length of ellipsoid major axis in z-direction
Overrides: object.__init__

__str__(...)
(Informal representation operator)

 

str(x)

Overrides: object.__str__
(inherited documentation)