Trees | Indices | Help |
---|
|
object --+ | dict --+ | PhysicsObject
A parent class for all physics objects.
|
|||
PhysicsObjectError Exception raised if an error occurs in the definition or the execution of a physics object. |
|
|||
new empty dictionary |
|
||
|
|||
|
|||
|
|||
D[k] if k in D, else d |
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from |
|
|||
Inherited from |
|
|||
Inherited from |
|
Creates a new particle object. If a dictionary is given, tries to use it to give values to properties.
|
force the check that the property exist before returning the value associated to value. This ensure that the correct error is always raise
|
Get the value of the property name.
|
Set the value of the property name. First check if value is a valid value for the considered property. Return True if the value has been correctly set, False otherwise. |
Checks if the proposed value is valid for a given property name. Returns True if OK. Raises an error otherwise. |
Returns the object keys sorted in a certain way. By default, alphabetical. |
String representation of the object. Outputs valid Python with improved format.
|
String representation of the object. Outputs valid Python with improved format.
|
Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Tue Jul 24 08:02:10 2012 | http://epydoc.sourceforge.net |