Class RayIntervals

java.lang.Object
  extended by RayIntervals

public class RayIntervals
extends java.lang.Object

This class can contain a Ray3D together with a number of Interval1Ds. This tuple represents a collection of intervals along the ray. The intervals should be defined in terms of the parameter of the ray.


Constructor Summary
RayIntervals()
          Creates an empty RayIntervals
RayIntervals(Ray3D ray)
          Creates a new RayIntervals object and sets its ray to the supplied one.
 
Method Summary
 java.util.Vector getIntervals()
          Returns the current intervals along the ray.
 Ray3D getRay()
          Returns the current ray.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RayIntervals

public RayIntervals()
Creates an empty RayIntervals


RayIntervals

public RayIntervals(Ray3D ray)
Creates a new RayIntervals object and sets its ray to the supplied one.

Parameters:
ray - the new ray.
Method Detail

getRay

public Ray3D getRay()
Returns the current ray.

Returns:
the ray.

getIntervals

public java.util.Vector getIntervals()
Returns the current intervals along the ray.

Returns:
the intervals.