| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectphysics.LineFormula
public class LineFormula
LineFormula.java Created: Sat Nov 20 15:32:21 2004
| Constructor Summary | |
|---|---|
LineFormula(java.awt.Point p,
            double m)
Creates a new LineFormula instance. | 
|
| Method Summary | |
|---|---|
 int | 
getX0()
getX0
 Return the intial X value | 
 double | 
getXCoeffcient()
Return the number of X's  | 
 double | 
getXIntercept()
Return the X-axis intercept  | 
 int | 
getY0()
Return the Intial Y value  | 
 int | 
getYIntercept()
Return the Y-axis intercept of this line  | 
| Methods inherited from class java.lang.Object | 
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public LineFormula(java.awt.Point p,
                   double m)
LineFormula instance.
p - a java.awt.Point valuem - the y-intercept| Method Detail | 
|---|
public int getYIntercept()
int valuepublic double getXIntercept()
double valuepublic double getXCoeffcient()
double valuepublic int getY0()
int valuepublic int getX0()
getX0
 Return the intial X value
int value
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||