|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecthhreco.recognition.ZernikeMoments.Complex
Data structure for a complex number with real and imaginary parts.
Constructor Summary | |
ZernikeMoments.Complex()
Create a complex number with real and imaginary parts set to 0. |
|
ZernikeMoments.Complex(double re,
double im)
Create a complex number with the specified real and imaginary values. |
Method Summary | |
double |
getIM()
Return the imaginary part. |
double |
getMagnitude()
Return the magnitude of this complex number. |
double |
getRE()
Return the real part. |
void |
setIM(double im)
Set the imaginary part. |
void |
setRE(double re)
Set the real part. |
java.lang.String |
toString()
Text representation of this complex number. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ZernikeMoments.Complex()
public ZernikeMoments.Complex(double re, double im)
Method Detail |
public void setRE(double re)
public void setIM(double im)
public double getRE()
public double getIM()
public double getMagnitude()
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |