|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object physics.FormulaSolver
public class FormulaSolver
FormulaSolver.java Created: Sat Nov 20 16:51:27 2004
LineFormula
Constructor Summary | |
---|---|
FormulaSolver(LineFormula l1,
LineFormula l2)
Creates a new FormulaSolver instance. |
Method Summary | |
---|---|
double |
solveX()
Solves for the X value of where the two lines intersect |
double |
solveY()
Solves for the Y value of where the two lines intersect |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FormulaSolver(LineFormula l1, LineFormula l2)
FormulaSolver
instance.
l1
- a LineFormula
valuel2
- a LineFormula
valueMethod Detail |
---|
public double solveY()
double
public double solveX()
double
value
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |