Package me.wobblyyyy.pathfinder.math
Class WheelSize
java.lang.Object
me.wobblyyyy.pathfinder.math.WheelSize
public class WheelSize
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description private doublediameter -
Constructor Summary
Constructors Constructor Description WheelSize(double diameter) -
Method Summary
Modifier and Type Method Description static WheelSizediameter(double diameter)doublegetCircumference()doublegetDiameter()doublegetRadius()static WheelSizeradius(double radius)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
diameter
private final double diameter
-
-
Constructor Details
-
WheelSize
public WheelSize(double diameter)
-
-
Method Details
-
diameter
-
radius
-
getDiameter
public double getDiameter() -
getRadius
public double getRadius() -
getCircumference
public double getCircumference()
-