|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectoptics.Optics
optics.SurfaceFunction
optics.Aspheric
public abstract class Aspheric
Abstract class to implement an Aspheric
surface profile.
| Field Summary | |
|---|---|
protected double[] |
bc
The aspheric components |
protected double |
curvature
The basic curvature |
protected double |
epsilon
The conic shape factor |
| Fields inherited from class optics.Optics |
|---|
DEFAULT_WAVELENGTH, errorStream, fmt, MICRONS |
| Constructor Summary | |
|---|---|
Aspheric()
|
|
| Method Summary | |
|---|---|
double |
getAspheric(int i)
Method to get the specifed Aspheric coefficient. |
double |
getCurvature()
Method to get the curvature |
abstract Director |
getNormal(double x,
double y)
Abstract method to get the surface normal at point x/y |
Director |
getNormal(javax.vecmath.Point2d pt)
Method to get the surface normal at Point2d |
abstract double |
getProfile(double x,
double y)
Abstarct method to get the surface profile. |
double |
getProfile(javax.vecmath.Point2d pt)
Method to get the surface profile at a Point2d |
double |
getQuadric()
Method to get the Quadric parameter |
double |
getValue(double x,
double y)
Method to get the value used by SurfaceFunction. |
void |
scale(double a)
Method to scale the Aspheric |
void |
setAspheric(double[] b)
Method to set the aspheric expansion |
void |
setAspheric(int i,
double val)
Method to set one aspheric components |
void |
setCurvature(double c)
Method to set the curvature |
void |
setQuadric(double e)
Method to set the Quardic parameter |
| Methods inherited from class optics.SurfaceFunction |
|---|
getValue |
| 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 |
| Field Detail |
|---|
protected double curvature
protected double epsilon
protected double[] bc
| Constructor Detail |
|---|
public Aspheric()
| Method Detail |
|---|
public void setCurvature(double c)
c - the curvaturepublic double getCurvature()
double the curvaturepublic void setQuadric(double e)
e - the Quadric parameterpublic double getQuadric()
public void setAspheric(double[] b)
b - the aspheric expansion
public void setAspheric(int i,
double val)
i - the coefficient indexval - the valuepublic double getAspheric(int i)
i - the aspheric component index
double value of component.public void scale(double a)
a - the scale factor
public double getValue(double x,
double y)
getValue in class SurfaceFunctionx - the x locationy - the y location
double the function value
public abstract double getProfile(double x,
double y)
x - the x valuey - the y valuepublic double getProfile(javax.vecmath.Point2d pt)
Point2d
pt - the Point
public abstract Director getNormal(double x,
double y)
x - the x location.y - the y location
Director the surface normalpublic Director getNormal(javax.vecmath.Point2d pt)
Point2d
pt - the Point.
Director the surface normal
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||