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 double
diameter
-
Constructor Summary
Constructors Constructor Description WheelSize(double diameter)
-
Method Summary
Modifier and Type Method Description static WheelSize
diameter(double diameter)
double
getCircumference()
double
getDiameter()
double
getRadius()
static WheelSize
radius(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()
-