org.metasyntactic.graphics.tracer
Class Intersection

java.lang.Object
  |
  +--org.metasyntactic.graphics.tracer.Intersection

public class Intersection
extends java.lang.Object


Constructor Summary
Intersection()
           
Intersection(Ray patch, Shape shape, boolean inside)
          Creates a new instance of Intersection
 
Method Summary
 Ray getPatch()
          Getter for property patch.
 Shape getShape()
          Getter for property shape.
 boolean isEntering()
          Getter for property entering.
 void setEntering(boolean entering)
          Setter for property entering.
 void setPatch(Ray patch)
          Setter for property patch.
 void setShape(Shape shape)
          Setter for property shape.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Intersection

public Intersection()

Intersection

public Intersection(Ray patch,
                    Shape shape,
                    boolean inside)
Creates a new instance of Intersection

Method Detail

getPatch

public Ray getPatch()
Getter for property patch.

Returns:
Value of property patch.

setPatch

public void setPatch(Ray patch)
Setter for property patch.

Parameters:
patch - New value of property patch.

getShape

public Shape getShape()
Getter for property shape.

Returns:
Value of property shape.

setShape

public void setShape(Shape shape)
Setter for property shape.

Parameters:
shape - New value of property shape.

isEntering

public boolean isEntering()
Getter for property entering.

Returns:
Value of property entering.

setEntering

public void setEntering(boolean entering)
Setter for property entering.

Parameters:
entering - New value of property entering.