|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttracer.Traceable
Base class for all visible objects.
Constructor Summary | |
Traceable()
|
Method Summary | |
abstract boolean |
hit(Ray r)
Returns a boolean indicating whether the line segment (r.origin + t*r.direction) with 0 <= t <= 1 intersects the object. |
abstract IntersectionInfo |
intersect(Ray r)
Returns an IntersectionInfo object indicating whether the ray r intersects this object or not. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Traceable()
Method Detail |
public abstract IntersectionInfo intersect(Ray r)
IntersectionInfo
public abstract boolean hit(Ray r)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |