|
|||||||||
| 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.FixedIndex
public class FixedIndex
Class to implement a Fixed Index that does not vary with wavelength.
| 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 | |
|---|---|
FixedIndex()
Constructor with no parameters, defaults to Constants.AIR (normally 1.0). |
|
FixedIndex(double index)
Constructor with single parameter. |
|
| Method Summary | |
|---|---|
FixedIndex |
Air()
Static method to return the air index |
FixedIndex |
clone()
Method to get clone of the current FixedIndex. |
double |
getIndex(double lambda)
Method to return refractive index for a specified wavelength. |
void |
setIndex(double n)
Method to set the index. |
java.lang.String |
toString()
Method to get the name in format readable by OpticalGroup.fromFile |
| 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 FixedIndex(double index)
index - The refractive index valuepublic FixedIndex()
Constants.AIR (normally 1.0).
Constants.AIR| Method Detail |
|---|
public FixedIndex clone()
FixedIndex.
clone in class java.lang.ObjectFixedIndex clone of current index.public java.lang.String toString()
toString in class java.lang.Objectpublic void setIndex(double n)
n - the refrative index value.public double getIndex(double lambda)
getIndex in class RefractiveIndexlambda - Wavelength in microns (ignored)
double the refractive index value.public FixedIndex Air()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||