optics
Class SphericalSurface
java.lang.Object
optics.Optics
optics.OpticalSurface
optics.OpticalPlane
optics.QuadricSurface
optics.SphericalSurface
- All Implemented Interfaces:
- Diagram2DComponent
public class SphericalSurface
- extends QuadricSurface
Class to implements SphericalSurface
with
reference point and refractive index. This is the main
refractive surface for ray tracing.
Method Summary |
SphericalSurface |
clone()
Method to clone the current SphericalSurface |
java.lang.String |
toString()
Method to return information about the surface as a
String . |
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 |
SphericalSurface
public SphericalSurface(double z,
double c,
double rmax,
RefractiveIndex n)
- Form an on-axis
SphericalSurface
spefifying position along z-axis, curvature and Refarctive index
- Parameters:
z
- z location of spherical surfacec
- the curcaturermax
- the max radiusn
- the Refractive Index
SphericalSurface
public SphericalSurface(Position p,
double c,
double rmax,
RefractiveIndex n)
- Form a
SphericalSurface
spefifying three-dimensional
reference point, curvature and Refarctive index
- Parameters:
p
- The reference pointc
- curvature
param rmax the max radiusn
- the Reftactive Index
SphericalSurface
public SphericalSurface(QuadricSurface s)
- Form a
SphericalSurface
with parameters from
specified QuadricSurface
. This will convert
all QuadricSurfaces into a Spherical surface of the
equivalent curvature.
- Parameters:
s
- the specifying surface
clone
public SphericalSurface clone()
- Method to clone the current
SphericalSurface
- Overrides:
clone
in class QuadricSurface
- Returns:
SphericalSurface
clone of current.
toString
public java.lang.String toString()
- Method to return information about the surface as a
String
.
- Overrides:
toString
in class QuadricSurface
- Returns:
String
the information String.