|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Object | +--jumbo.euclid.Polar
Polar - Polar coordinates (r, theta)
| Constructor Summary | |
Polar()
|
|
Polar(Complex c)
|
|
Polar(double a,
Angle b)
|
|
Polar(Polar a)
|
|
| Method Summary | |
Polar |
divideBy(Polar f)
divide a polar by a polar |
boolean |
equals(Polar a)
are two polar equal? |
double |
getR()
gets radial part |
Angle |
getTheta()
gets angular part |
double |
getX()
get X, Y and XY coords |
Real2 |
getXY()
|
double |
getY()
|
Polar |
multiplyBy(double f)
multiply a polar by a scalar |
Polar |
multiplyBy(Polar f)
multiply a polar by a polar |
Polar |
plus(Polar a2)
add two polars |
void |
subtract()
unary minus |
Polar |
subtract(Polar a2)
subtract two polars |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
| Constructor Detail |
public Polar()
public Polar(double a,
Angle b)
public Polar(Complex c)
public Polar(Polar a)
| Method Detail |
public double getR()
public Angle getTheta()
public Polar plus(Polar a2)
public Polar subtract(Polar a2)
public void subtract()
public Polar multiplyBy(Polar f)
public Polar multiplyBy(double f)
public Polar divideBy(Polar f)
throws java.lang.ArithmeticException
public boolean equals(Polar a)
public double getX()
public double getY()
public Real2 getXY()
public java.lang.String toString()
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||