|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoptics.Optics
optics.WaveLengthFunction
optics.RefractiveIndex
optics.CauchyIndex
public class CauchyIndex
Class to implement three point Cauchy Refractive index interpolation for wavelength in micron with n = A + B/l^2 + C/l^4
Field Summary |
---|
Fields inherited from class optics.RefractiveIndex |
---|
air, currentIndex, currentWaveLength |
Fields inherited from class optics.WaveLengthFunction |
---|
maxPlotLambda, minPlotLambda, plotPoints |
Fields inherited from class optics.Optics |
---|
DEFAULT_WAVELENGTH, errorStream, fmt, MICRONS |
Constructor Summary | |
---|---|
CauchyIndex(CauchyIndex n)
Constructor with parameters specified by CauchyIndex . |
|
CauchyIndex(double nd,
double vd)
Constructor with two parameters of d-line refractive index and the Abbe number. |
|
CauchyIndex(double a,
double b,
double c)
CauchyIndex constructor with three parameters for a wavelength in microns. |
|
CauchyIndex(int glassType)
Constructor with single int glass type parameter containing d-line refractive index and Abbe number of form nnnVVV where refractive index is 1.nnn and Abbe number VV.V. |
Method Summary | |
---|---|
CauchyIndex |
clone()
Method to return a clone of the current CauchyIndex |
double |
getIndex(double lambda)
Method to return refractive index for a specified wavelength in microns. |
void |
set(double nd,
double vd)
Method to set with two parameters. |
void |
set(double a,
double b,
double c)
Method to set all three parameters |
java.lang.String |
toString()
Default String method to get formatted name. |
Methods inherited from class optics.RefractiveIndex |
---|
fromString, fromTokens, getIndex, getIndex, getValue |
Methods inherited from class optics.WaveLengthFunction |
---|
getPlot, getPlotPoints, setPlotPoints, setPlotRange, setPlotRange, toGraph, toPlot, toPlot, toPlot |
Methods inherited from class optics.Optics |
---|
getDefaultWaveLength, getErrorStream, getFormatString, getName, getStaticName, getVersion, printError, setDefaultWaveLength, setErrorStream, setFormatString, setMicrons |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CauchyIndex(double a, double b, double c)
a
- The A constant parameterb
- The B 1/lambda^2 parameterc
- The C 1/lambda^4 paramterpublic CauchyIndex(double nd, double vd)
nd
- The refractive index on the d-linevd
- The V number.public CauchyIndex(int glassType)
glassType
- integer glass typepublic CauchyIndex(CauchyIndex n)
CauchyIndex
.
n
- the specifying CauchyIndex.Method Detail |
---|
public CauchyIndex clone()
clone
in class java.lang.Object
CauchyIndex
clone of currentpublic void set(double a, double b, double c)
a
- constant valueb
- 1/lambda^2 valuec
- 1/lambda^4 valuepublic void set(double nd, double vd)
nd
- index at d-linevd
- abbe number at d-line.public java.lang.String toString()
toString
in class java.lang.Object
String
the formatted
String
.public double getIndex(double lambda)
getIndex
in class RefractiveIndex
lambda
- wavelength in microns
double
index at specified wavelength.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |