Swarm-NG  1.1
swarmng.Body Class Reference

A body object within a system. More...

Classes

class  Attribute
 Attributes of the body, it is just a list of floating point values. More...
 
class  Components
 Representetive for one component (x,y,z) of the object Contains position and velocity for that component. More...
 

Public Member Functions

def distance_to_origin
 Distance to (0,0,0) (floating point value)
 
def speed
 Magnitude of the velocity (floating point value)
 

Properties

 mass = property
 mass of the body (floating point)
 
 pos = property
 Position: a list of 3 floating point values: [ x,y,z ].
 
 vel = property
 Velocity: a list of 3 floating point values: [ vx,vy,vz ].
 

Detailed Description

A body object within a system.

Definition at line 164 of file __init__.doc.py.


The documentation for this class was generated from the following file: