Optional
number of points
[] Copy
[]
from
x[0] Copy
x[0]
to
x[x.length - 1] Copy
x[x.length - 1]
array of from / to that should be kept
[{from,to}] Copy
[{from,to}]
number of points