|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SpeedAgainstTime
| Method Summary | |
|---|---|
double |
calcA(double t)
|
double |
calcS(double t)
Returns the distance travelled at time t. |
double |
calcT(double s)
Returns the time taken to travel distance s. |
double |
calcV(double t)
|
double |
getS()
|
double |
getT()
|
| Method Detail |
|---|
double calcS(double t)
java.lang.IllegalArgumentException - iff t < 0 or t > getT()double calcT(double s)
java.lang.IllegalArgumentException - iff s < 0 or s > getS()double calcV(double t)
java.lang.IllegalArgumentException - iff t < 0 or t > getT()double calcA(double t)
java.lang.IllegalArgumentException - iff t < 0 or t > getT()double getT()
double getS()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||