optics
Class SphericalMirror

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

public class SphericalMirror
extends QuadricMirror

Class to implements Spherical Mirror with reference point


Field Summary
 
Fields inherited from class optics.QuadricMirror
centralAperture
 
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
SphericalMirror(double z, double c, double rmax)
          Constructor with three paramters
SphericalMirror(Position p, double c, double rmax)
          Consructor for Spherical Mirror spefifying three-dimensional reference point, curvature and max radius.
SphericalMirror(SphericalMirror m)
          Constrcutor for SphericalMirror with parameters from specified SphericalMirrir
 
Method Summary
 SphericalMirror clone()
          Method to clone the SphericalMirror
 java.lang.String toString()
          To string method
 
Methods inherited from class optics.QuadricMirror
draw, getCentralAperture, setCentralAperture
 
Methods inherited from class optics.QuadricSurface
distance, 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

SphericalMirror

public SphericalMirror(double z,
                       double c,
                       double rmax)
Constructor with three paramters

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

SphericalMirror

public SphericalMirror(Position p,
                       double c,
                       double rmax)
Consructor for Spherical Mirror spefifying three-dimensional reference point, curvature and max radius.

Parameters:
p - The reference point
c - curvature
rmax - the max radius

SphericalMirror

public SphericalMirror(SphericalMirror m)
Constrcutor for SphericalMirror with parameters from specified SphericalMirrir

Parameters:
m - the specifying surface
Method Detail

clone

public SphericalMirror clone()
Method to clone the SphericalMirror

Overrides:
clone in class QuadricMirror
Returns:
SphericalMirror clone of current.

toString

public java.lang.String toString()
To string method

Overrides:
toString in class QuadricMirror