CTransform

class CTransform[source]

Bases: object

Contains properties relating to the spatial components.

pos

position of the center in pixels

Type:

2 x 1 numpy array

last_pos

last position of the center in pixels.

Type:

2 x 1 numpy array

vel 2 x 1 numpy array

velocity of the center in pixels per timestep

__init__()[source]

Methods

__init__

Attributes

pos

last_pos

vel