package eecs2030.lab1; /** * A utility class for computing hypotrochoid curves generated by a Spirograph. * *

* This class assumes that the radius of the large Spirograph wheel is given by * SpiroUtil.BIG_WHEEL_RADIUS. * * @author EECS2030 Fall 2016 * */ public class SpiroUtil { private SpiroUtil() { // empty by design } /** * Radius of the big Spirograph wheel. */ public static final double BIG_WHEEL_RADIUS = 1.0; /** * Checks the small wheel radius and pencil radius. * *

* Throws an IllegalArgumentException if any of the following * are true: * *