setPolarization

abstract fun setPolarization(v: P)

set the polarization versor, e.g. a versor indicating the direction in which the cell will move the next time.

Parameters

v

The Position representing the new polarization versor. Note: v MUST be a versor, so a vector with module = 1.