|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoptics.Optics
optics.OpticalSurface
optics.OpticalPlane
optics.QuadricSurface
optics.AsphericSurface
public class AsphericSurface
Prtoected class to impements a general AsphericSurface
.
The distance calcualtion requires itteration, so
use of this type of surface will be significantly
slower than analyic surfaces.
Field Summary | |
---|---|
double |
accuracy
The convergence accuracy, by defaults set to 100 or the default wavelength. |
protected Aspheric |
surface
The Aspheric surface profile |
Fields inherited from class optics.QuadricSurface |
---|
curvature, epsilon |
Fields inherited from class optics.OpticalPlane |
---|
blockedNormal, maxRadius, planeNormal |
Fields inherited from class optics.OpticalSurface |
---|
CLEAR, group, REFLECTING, REFRACTING, refractiveIndex, surfacePoint, surfaceType |
Fields inherited from class optics.Optics |
---|
DEFAULT_WAVELENGTH, errorStream, fmt, MICRONS |
Constructor Summary | |
---|---|
protected |
AsphericSurface(Position p,
double rmax,
RefractiveIndex n)
Protected constructor to form the underlying QuadricSurface to set surface point, maximum radius and Refractive Index |
Method Summary | |
---|---|
double |
distance(Position r,
Director v)
Method get the distance from a Position to the surface |
Aspheric |
getAspheric()
Method to get the Aspheric |
double |
getEdgePlane()
Get the edgePlane at the edge of the lens |
Director |
getNormal(Position r)
Method to get the surface normal, at a specified point which is assumes to be on the surface. |
void |
scale(double a)
Method to scale the surface |
void |
setAspheric(Aspheric as)
Method to set the Aspheric |
void |
setCurvature(double c)
Method to set the curvature without changeing the other aspheric parameters. |
void |
setQuadric(double e)
Method to set the quadric without changeing the other aspheric parameters. |
Methods inherited from class optics.QuadricSurface |
---|
clone, draw, getCurvature, getQuadric, toString |
Methods inherited from class optics.OpticalPlane |
---|
getBounds, getMaxRadius, getPlaneNormal, pointInPlane, setMaxRadius, setPlaneNormal |
Methods inherited from class optics.OpticalSurface |
---|
distance, edit, entranceAperture, exitAperture, fromString, fromTokens, getGroup, getIndex, getNormal, getPoint, getRefractiveIndex, getSurfacePoint, getSurfaceType, getSurfaceType, makeStandAlone, pointInPlane, setGroup, setRefractiveIndex, setSurfacePoint, setSurfaceType |
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 |
Field Detail |
---|
protected Aspheric surface
public double accuracy
Constructor Detail |
---|
protected AsphericSurface(Position p, double rmax, RefractiveIndex n)
p
- the surface pointrmax
- the maximum radiusn
- the refractive indexMethod Detail |
---|
public Aspheric getAspheric()
Aspheric
the Asphericpublic void setAspheric(Aspheric as)
as
- the Asphericpublic void setCurvature(double c)
setCurvature
in class QuadricSurface
c
- the curvaturepublic void setQuadric(double e)
setQuadric
in class QuadricSurface
e
- the quadricpublic void scale(double a)
scale
in class QuadricSurface
a
- the scale factorpublic double distance(Position r, Director v)
distance
in class QuadricSurface
r
- The ray positionv
- the ray director
double
the distance to the surfacepublic Director getNormal(Position r)
getNormal
in class QuadricSurface
r
- The position
Director3d
the surface normalpublic double getEdgePlane()
getEdgePlane
in class QuadricSurface
double
the edge plane
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |