isPointInsideOval method
Implementation
bool isPointInsideOval(
Offset ovalCenter, double semiMajorAxis, double semiMinorAxis) {
double xTerm = (dx - ovalCenter.dx) / semiMajorAxis;
double yTerm = (dy - ovalCenter.dy) / semiMinorAxis;
return (xTerm * xTerm + yTerm * yTerm) <= 1;
}