optics
Class SurfaceFunction

java.lang.Object
  extended by optics.Optics
      extended by optics.SurfaceFunction
Direct Known Subclasses:
Aspheric, Seidel

public abstract class SurfaceFunction
extends Optics

Abstarct class to specify a two dimensional function, typically used for a wavefront.


Field Summary
 
Fields inherited from class optics.Optics
DEFAULT_WAVELENGTH, errorStream, fmt, MICRONS
 
Constructor Summary
SurfaceFunction()
           
 
Method Summary
abstract  double getValue(double x, double y)
          Method to get the value at specified position
 double getValue(javax.vecmath.Point2d p)
          Method to get value at specified position
 
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
 

Constructor Detail

SurfaceFunction

public SurfaceFunction()
Method Detail

getValue

public abstract double getValue(double x,
                                double y)
Method to get the value at specified position

Parameters:
x - the x value
y - the y value

getValue

public double getValue(javax.vecmath.Point2d p)
Method to get value at specified position