Various data types are defined by TSIPP. They are all built as Tcl lists, so standard list operations can be used to construct and access them. The tcl_precision variable is used when formatting all floating point numbers. The value of this variable is set to the Tcl defined maximum less one when TSIPP is initialized. In many cases, the precision can be reduce for a slight increase in performance without altering the generation of images. The following data structures are used by TSIPP:
{x y z}
.
{{x y z} {u v w}}
.
{x y z}
.
0
or
1
, true
or false
, t
or
f
(upper or lower case). Only 0
or 1
are valid in Tcl expressions and commands that return booleans only return
0
or 1
.
R
, then it is taken as radians, if it
is prefixed with D
, then it is taken as degrees. (e.g. 1.2, R1.2,
D10.5). If no prefix is specified, some commands assume degrees, some assume
radians. See the documentation of the specific command.
{{1.2 1.4 0.1 0} {2.1 2.3 1.6 0} {2.4 6.1 2.6 0} {2.9 1.1 3.6 1}}
Be careful, many commands take lists of the above data types, which are themselves lists.