pointAt method

Point pointAt(
  1. double angle
)

Get a point on the ellipse boundary at the given angle in radians

Implementation

Point pointAt(double angle) {
  return Point(
    center.x + radiusX * cos(angle),
    center.y + radiusY * sin(angle),
  );
}