A Point can be defined in several ways
If points are defined with only a x and y component, then z will be set to 0 automatically.
x
y
z
// p1, p2, p3 and p4 are all the same when parsed by `getPoint`p1 = new Fig.Point(2, 3);p2 = [2, 3];p3 = '[2, 3]';p4 = { f1Type: 'p', state: [2, 3] };p5 = [2, 3, 0]; Copy
// p1, p2, p3 and p4 are all the same when parsed by `getPoint`p1 = new Fig.Point(2, 3);p2 = [2, 3];p3 = '[2, 3]';p4 = { f1Type: 'p', state: [2, 3] };p5 = [2, 3, 0];
A Point can be defined in several ways
If points are defined with only a
xandycomponent, thenzwill be set to 0 automatically.