mathigon/euclid.js

Scale center point in ellipse

burimar opened this issue · 1 comments

Hello, the method scale on the ellipse does not scale the center point but only the axes. It would be nice if the behavior was the same as in the circle. Many thanks in advance!

  scale(sx: number, sy = sx) {
    return new Ellipse(this.c.scale(sx, sy), this.a * sx, this.b * sy, this.angle);
  }

Fixed in #139