StrVec is a standard format for representing sets of
numerical vectors as text.
A polygon (i.e., a closed vector) is represented within the characters
[ and ]. A path (non-circular, or open vector) is represented within { and }.
In addition, enclosing ( and ) denote a general or don't-care vector. Vector elements are represented within these, surrounded by pairs of (
and ).
A vector element can really be anything - support is currently limited to
float numbers and 2- or 3-dimensional float elements. The X and Y (and Z) elements are
here separated by a semicolon.
Examples:
- 2-d closed vectors: [(1;2)(3;4)][(5;6)(7;8)]
- 3-d open vectors: {(1;2;3)(3;4;5)}{(5;6;7)(7;8;9)}
- Float vectors: [(1)(2)(3)][(4)(5)(6)]
|