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 |
|
force the check that the property exist before returning the value associated to value. This ensure that the correct error is always raise
|
Creates a new particle object. If a dictionary is given, tries to use it to give values to properties.
|
String representation of the object. Outputs valid Python with improved format.
|
String representation of the object. Outputs valid Python with improved format.
|
Checks if the proposed value is valid for a given property name. Returns True if OK. Raises an error otherwise. |
Get the value of the property name.
|
Returns the object keys sorted in a certain way. By default, alphabetical. |
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. |
Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Thu Dec 20 09:18:00 2018 | http://epydoc.sourceforge.net |