optics
Class EvenAspheric
java.lang.Object
optics.Optics
optics.SurfaceFunction
optics.Aspheric
optics.EvenAspheric
public class EvenAspheric
- extends Aspheric
Class to implement an EvenAspheric
being a expansion of even powers of the radius
Constructor Summary |
EvenAspheric(double c,
double e,
double[] b)
Form an EvenAspheric
with specified curvature and |
EvenAspheric(double c,
double e,
int n)
Form an EvenAspheric with specifed
curvatatre and n aspheric coefficeints pre-set to
zero. |
Method Summary |
Director |
getNormal(double x,
double y)
Method to get the surface normal at x/y location |
double |
getProfile(double x,
double y)
Get the surface profile at a position x/y |
Methods inherited from class optics.Aspheric |
getAspheric, getCurvature, getNormal, getProfile, getQuadric, getValue, scale, setAspheric, setAspheric, setCurvature, setQuadric |
Methods inherited from class optics.Optics |
getDefaultWaveLength, getErrorStream, getFormatString, getName, getStaticName, getVersion, printError, setDefaultWaveLength, setErrorStream, setFormatString, setMicrons |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EvenAspheric
public EvenAspheric(double c,
double e,
double[] b)
- Form an
EvenAspheric
with specified curvature and
- Parameters:
c
- the curvaturee
- the quadric parameterb
- the Aspheric coefficients
EvenAspheric
public EvenAspheric(double c,
double e,
int n)
- Form an
EvenAspheric
with specifed
curvatatre and n aspheric coefficeints pre-set to
zero.
- Parameters:
c
- the curvaturee
- the quadric parametern
- the number of Aspheric coefficients.
getProfile
public double getProfile(double x,
double y)
- Get the surface profile at a position x/y
- Specified by:
getProfile
in class Aspheric
- Parameters:
x
- the x locationy
- the y location
- Returns:
double
the profile
getNormal
public Director getNormal(double x,
double y)
- Method to get the surface normal at x/y location
- Specified by:
getNormal
in class Aspheric
- Parameters:
x
- the x locationy
- the y location
- Returns:
Director
the surface normal