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

Class DogBone

 object --+                
          |                
??.instance --+            
              |            
        AVolume --+        
                  |        
          AVolume3D --+    
                      |    
            CylinderVol --+
                          |
                         DogBone

A class defining a dogbone volume.

Instance Methods [hide private]
 
__init__(...)
Constructs a dogbone volume with the specified dimensions.
 
__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__ = 336
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(...)
(Constructor)

 

Constructs a dogbone volume with the specified dimensions.

Parameters:
  • origin (Vector3) - Coordinate of origin (centre of base) of the dogbone
  • axis (Vector3) - Unit vector in the direction of the dogbone axis
  • length (double) - Length of the dogbone
  • radius (double) - Radius of the dogbone
  • l2 (double) - L2 of the dogbone
  • r2 (double) - R2 of the dogbone
Overrides: object.__init__

__str__(...)
(Informal representation operator)

 

str(x)

Overrides: object.__str__
(inherited documentation)