moonlander.library

## Class Track

- java.lang.Object
- - moonlander.library.Track

-     public class Track
      extends java.lang.Object

  Track keeps hold of multiple TrackKey-objects. Each track maps directly to one track in GNU Rocket.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Track(java.lang.String name)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `double` | `getValue(double row)` Returns value of the track for the given (fractional) row.
    `void` | `printKeys()` For testing
    `java.lang.String` | `toString()`

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### Track

          public Track(java.lang.String name)

  - ### Method Detail

    - #### printKeys

          public void printKeys()

      For testing

    - #### getValue

          public double getValue(double row)

      Returns value of the track for the given (fractional) row.
      Parameters:
        `row` -
      Returns:
        interpolated value for the row

    - #### toString

          public java.lang.String toString()

      Overrides:
        `toString` in class `java.lang.Object`

Processing library Moonlander by Antti Hirvonen. (c) 2018