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

Class Shape

 object --+    
          |    
??.instance --+
              |
             Shape

A shape designed for insertion into a ShapeList.

Instance Methods [hide private]
 
__init__(...)
Raises an exception This class cannot be instantiated from Python
 
__reduce__(...)
helper for pickle
 
makeOrientationRandom(...)
Sets the shape to be randomly orientated every time it is inserted.

Inherited from unreachable.instance: __new__

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(...)
(Constructor)

 

Raises an exception This class cannot be instantiated from Python

Overrides: object.__init__

__reduce__(...)

 

helper for pickle

Overrides: object.__reduce__
(inherited documentation)

makeOrientationRandom(...)

 

Sets the shape to be randomly orientated every time it is inserted.

Parameters:
  • v (integer) - 1 to use a random orientation, 0 for constant orientation