require('topsin.genmath'); var g = new GenMath(); var r = g.lineLength({ xs: 0, ys: 0, xe: 1, ye: 0 }); print(r);