|
Rings Version 0.3 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectthreeD.raytracer.engine.Intersection
An Intersection object stores data for the intersections between a ray and a surface.
| Constructor Summary | |
Intersection(Ray ray,
Surface surface,
double[] intersections)
Constructs a new Intersection object that represents an intersection between the specified Ray and Surface objects at the specified points along the ray represented by the Ray object. |
|
| Method Summary | |
double[] |
getIntersections()
Returns the intersections stored by this Intersection object. |
Ray |
getRay()
Returns the Ray object stored by this Intersection object. |
Surface |
getSurface()
Returns the Surface object stored by this Intersection object. |
java.lang.String |
toString()
Returns a String representation of this Intersection object. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public Intersection(Ray ray,
Surface surface,
double[] intersections)
| Method Detail |
public Ray getRay()
public Surface getSurface()
public double[] getIntersections()
public java.lang.String toString()
|
Rings Version 0.3 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||