Ejemplo n.º 1
0
 Line.prototype.isParallelTo = function (l) {
     return isZero(this[0] * l[1] - this[1] * l[0]);
 };
Ejemplo n.º 2
0
 Line.prototype.isFinite = function () {
     return !isZero(this[0]) || !isZero(this[1]);
 };