optics
Class TiltedPlane

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

public class TiltedPlane
extends OpticalPlane


Field Summary
 
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
TiltedPlane(Position p, Director u)
           
TiltedPlane(Position p, Director u, RefractiveIndex index)
           
 
Method Summary
 double distance(Position r, Director v)
          Get distance from a specified point to the OpticalPlane.
 void setSurfaceNormal(Director u)
           
 
Methods inherited from class optics.OpticalPlane
clone, draw, getBounds, getCurvature, getEdgePlane, getMaxRadius, getNormal, getPlaneNormal, pointInPlane, scale, setMaxRadius, setPlaneNormal, toString
 
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

TiltedPlane

public TiltedPlane(Position p,
                   Director u,
                   RefractiveIndex index)

TiltedPlane

public TiltedPlane(Position p,
                   Director u)
Method Detail

setSurfaceNormal

public void setSurfaceNormal(Director u)

distance

public double distance(Position r,
                       Director v)
Description copied from class: OpticalPlane
Get distance from a specified point to the OpticalPlane.

Overrides:
distance in class OpticalPlane
Parameters:
r - the ray position
v - the ray direction
Returns:
double the distance