public class ShapeUtil
extends Object
- Author:
- Bill Kuker
https://github.com/bkuker/motorsim
-
Method Summary
static double
static double
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
area
public static double area(Shape a)
-
perimeter
public static double perimeter(Shape a)