org.jscience.physics.waves.optics.rays
Class ParallelRays

java.lang.Object
  extended by org.jscience.physics.waves.optics.rays.RayCaster
      extended by org.jscience.physics.waves.optics.rays.ParallelRays

public class ParallelRays
extends RayCaster

DOCUMENT ME!


Field Summary
 
Fields inherited from class org.jscience.physics.waves.optics.rays.RayCaster
mat, rays
 
Constructor Summary
ParallelRays()
          Creates a new ParallelRays object.
ParallelRays(Double3Vector pos, Double3Vector dir, int n, double width, double w, Material mat)
          Creates a new ParallelRays object.
 
Method Summary
 double getWavelength()
          DOCUMENT ME!
 void Move(Double3Vector pos, Double3Vector dir)
          DOCUMENT ME!
 void setWavelength(double w)
          DOCUMENT ME!
 
Methods inherited from class org.jscience.physics.waves.optics.rays.RayCaster
drawRays, setInitialMaterial
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParallelRays

public ParallelRays()
Creates a new ParallelRays object.


ParallelRays

public ParallelRays(Double3Vector pos,
                    Double3Vector dir,
                    int n,
                    double width,
                    double w,
                    Material mat)
Creates a new ParallelRays object.

Parameters:
pos - DOCUMENT ME!
dir - DOCUMENT ME!
n - DOCUMENT ME!
width - DOCUMENT ME!
w - DOCUMENT ME!
mat - DOCUMENT ME!
Method Detail

setWavelength

public void setWavelength(double w)
DOCUMENT ME!

Parameters:
w - DOCUMENT ME!

getWavelength

public double getWavelength()
DOCUMENT ME!

Returns:
DOCUMENT ME!

Move

public void Move(Double3Vector pos,
                 Double3Vector dir)
DOCUMENT ME!

Parameters:
pos - DOCUMENT ME!
dir - DOCUMENT ME!