Pointarray

From MoiWiki
Revision as of 05:46, 30 November 2016 by Karsten (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

pointarray

Pointarray is a special JavaScript object type in nodeeditor. It stores a sequence of values in a single array named data. It is the standard datatype to describe mathematical Points/Frames in the nodeeditor. The data array stores the following sequence for each point:

Further more the pointarray stores also some metadata:

  • recordlength describes the lengh that every point takes inside the //data// array
  • length of the data array
  • xlength describes the length of a sequence logical related points
  • ylength describes the length of a sequence logical related points
  • zlength describes the amount of logical point sequences

The meta data xlength, ylength and zlength can be used to split the data sequence in sub seqences to multiprocess e.g. curves