public class InterpolatingTreeMap
Interpolating Tree Maps are used to get values at points that are not defined by making a guess from points that are defined. This uses linear interpolation.
Credit to FRC Team 254: InterpolatingTreeMap.java
Constructor and Description |
---|
InterpolatingTreeMap()
Interpolating Tree Maps are used to get values at points that are not defined by making a guess from points that are
defined. This uses linear interpolation.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Double |
getInterpolated(double key)
Returns the linearly-interpolated value for key or null if it's out of range.
|
public InterpolatingTreeMap()
Interpolating Tree Maps are used to get values at points that are not defined by making a guess from points that are defined. This uses linear interpolation.
Credit to FRC Team 254: InterpolatingTreeMap.java