|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.Vector<OpticalSurface>
optics.OpticalGroup
optics.Singlet
public class Singlet
Class to implement a singlet lens with two spherical
surfaces being an OpticalGroup
with a much simplfied
interface.
Field Summary |
---|
Fields inherited from class java.util.Vector |
---|
capacityIncrement, elementCount, elementData |
Fields inherited from class java.util.AbstractList |
---|
modCount |
Constructor Summary | |
---|---|
Singlet(double z,
double fc,
RefractiveIndex index,
double thick,
double bc,
double d)
For a singlet with a spefified position, two spherical surfaces and a specifed refractive index |
|
Singlet(Position p,
double fc,
RefractiveIndex index,
double thick,
double bc,
double d)
For a singlet with a spefified position, two spherical surfaces and a specifed refractive index |
Method Summary | |
---|---|
static Singlet |
biConvex(double z,
double f,
RefractiveIndex index,
double thick,
double d)
Static method to return a bi-convex Singlet specified by focal length, refractive index, approxiate thickness and diameter. |
static Singlet |
biConvex(Position p,
double f,
RefractiveIndex index,
double thick,
double d)
Static method to return a bi-convex Singlet specified by focal length, refractive index, thickness and diameter. |
double |
getBend()
Method to get the bend parameter of the Singlet lens |
static Singlet |
planoConvex(double z,
double f,
RefractiveIndex index,
double thick,
double d)
Static method to return a plano-convex Singlet specified by focal length, refractive index, approxiate thickness and diameter. |
static Singlet |
planoConvex(Position p,
double f,
RefractiveIndex index,
double thick,
double d)
Static method to return a plano-convex Singlet specified by focal length, refractive index, approxiate thickness and diameter. |
void |
setBend(double beta)
Method to set the bend parameter of the Singlet. |
Methods inherited from class optics.OpticalGroup |
---|
addSurface, getAperture, getApertureSurface, getDiagram2D, getEntranceAperture, getEntrancePupil, getExitAperture, getExitPupil, getGroupPoint, getNext, getParaxialGroup, getSurface, getTitle, read, read, read, readChooser, readChooser, reset, reverse, scale, setApertureSurface, setBackFocalLength, setGroupPoint, setTitle, write, write, write, write |
Methods inherited from class java.util.Vector |
---|
add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeRange, retainAll, set, setElementAt, setSize, size, subList, toArray, toArray, toString, trimToSize |
Methods inherited from class java.util.AbstractList |
---|
iterator, listIterator, listIterator |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.List |
---|
iterator, listIterator, listIterator |
Constructor Detail |
---|
public Singlet(Position p, double fc, RefractiveIndex index, double thick, double bc, double d)
p
- the reference point at centre of front elementfc
- curvature of front surfaceindex
- refractive index of glass.thick
- thickness at centre of singletbc
- curvature of back surfaced
- the diameter, but surfaces have same dianeterpublic Singlet(double z, double fc, RefractiveIndex index, double thick, double bc, double d)
z
- location of first surface on z axisfc
- curvature of front surfaceindex
- refractive index of glass.thick
- thickness at centre of singletbc
- curvature of back surfaced
- the diameter, but surfaces have same dianeterMethod Detail |
---|
public double getBend()
double
the bend parameterpublic void setBend(double beta)
beta
- the bend parameterpublic static Singlet biConvex(Position p, double f, RefractiveIndex index, double thick, double d)
p
- the lens position.f
- focal length at Optics.DEFAULT_WAVELENGTH
in mm.index
- the glass refractive indexthick
- centre thickness.d
- the diameterpublic static Singlet biConvex(double z, double f, RefractiveIndex index, double thick, double d)
The lens is optimised for focal length, thus the thickness may be different than specified.
z
- lens position on optical axis.f
- target focal length at Optics.DEFAULT_WAVELENGTH
index
- the glass refractive indexthick
- centre thickness (approx)d
- the diameterpublic static Singlet planoConvex(Position p, double f, RefractiveIndex index, double thick, double d)
The lens is optimised for focal length, thus the thickness may be different than specified.
p
- the lens position.f
- target focal length at Optics.DEFAULT_WAVELENGTH
index
- the glass refractive indexthick
- centre thickness (approx)d
- the diameterpublic static Singlet planoConvex(double z, double f, RefractiveIndex index, double thick, double d)
The lens is optimised for focal length, thus the thickness may be different than specified.
z
- lens position on optical axis.f
- target focal length at Optics.DEFAULT_WAVELENGTH
index
- the glass refractive indexthick
- centre thickness (approx)d
- the diameter
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |