pointAtAngle method
generates a point at a specified angle and distance from a center point
Implementation
Point pointAtAngle(double radius, double angle) {
double x = this.x + radius * cos(angle);
double y = this.y + radius * sin(angle);
return Point(x, y);
}