tennsS v1.53 Reference Manual

Copyright (C) 1997 - 2002 Mike Arnold, Altjira Software, mikea@altjira.com

Go to the previous, next section, table of contents.


Basis

Class Basis derived from Owned (size <60> bytes)

Returns the magnitude of a vector in the <preferred> direction when projected on to a vector in the <basis> direction. The length of the original vector is given by the default operator for the object referenced by <magnitude>. The return value is then shifted by minus <base>, and finally normalised to be between +/- <factor>. The magnitude object is referenced and must be of type Particle. If <asymmetry> is true then the original vector is constrained to be non-negative.


Naming

magnitude references the magnitude object

Configuration

magnitude=<ref> reference to the magnitude asymmetry=<bool> asymmetry (0) base=<data> base (60) factor=<data> factor (1) basis=<uint> basis direction in degrees (0) preferred=<uint> preferred direction in degrees (0)

Derived Classes


Go to the previous, next section, table of contents. Document generated Mon Jun 16 02:19:05 GMT 2003