optics
Class ParabolicSurface

java.lang.Object
  extended by optics.Optics
      extended by optics.OpticalSurface
          extended by optics.OpticalPlane
              extended by optics.QuadricSurface
                  extended by optics.ParabolicSurface
All Implemented Interfaces:
Diagram2DComponent

public class ParabolicSurface
extends QuadricSurface

Class to implements ParabolicSurface with reference point and refractive index.


Field Summary
 
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
ParabolicSurface(double z, double c, double rmax, RefractiveIndex n)
          Form an on-axis ParabolicSurface spefifying position along z-axis, curvature and Refarctive index
ParabolicSurface(Position p, double c, double rmax, RefractiveIndex n)
          Form a ParabolicSurface spefifying three-dimensional reference point, curvature and Refarctive index
ParabolicSurface(QuadricSurface s)
          Form a ParabolicSurface with parameters from specified QuadricSurface.
 
Method Summary
 ParabolicSurface clone()
          Method to clone the current ParabolicSurface
 java.lang.String toString()
          Method to return information about the surface as a String.
 
Methods inherited from class optics.QuadricSurface
distance, draw, getCurvature, getEdgePlane, getNormal, getQuadric, scale, setCurvature, setQuadric
 
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
 

Constructor Detail

ParabolicSurface

public ParabolicSurface(double z,
                        double c,
                        double rmax,
                        RefractiveIndex n)
Form an on-axis ParabolicSurface spefifying position along z-axis, curvature and Refarctive index

Parameters:
z - z location of spherical surface
c - the curcature
rmax - the max radius
n - the Refractive Index

ParabolicSurface

public ParabolicSurface(Position p,
                        double c,
                        double rmax,
                        RefractiveIndex n)
Form a ParabolicSurface spefifying three-dimensional reference point, curvature and Refarctive index

Parameters:
p - the reference point
c - curvature
rmax - the max radius
n - the Refractive Index

ParabolicSurface

public ParabolicSurface(QuadricSurface s)
Form a ParabolicSurface with parameters from specified QuadricSurface. This will convert all QuadricSurfaces into a Spherical surface of the equivalent curvature.

Parameters:
s - the specifying surface
Method Detail

clone

public ParabolicSurface clone()
Method to clone the current ParabolicSurface

Overrides:
clone in class QuadricSurface
Returns:
ParabolicSurface 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.