Class Surface

java.lang.Object
  extended by Surface
Direct Known Subclasses:
Polygon, Sphere

public abstract class Surface
extends java.lang.Object

Represents an abstract surface in the scene.


Field Summary
static Surface EMPTY
           
 
Constructor Summary
Surface()
           
 
Method Summary
abstract  Intersection getIntersection(Ray query)
          Returns information about the closest point on this surface that the query ray hits, where the ``distance'' along the ray will be at least one.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EMPTY

public static final Surface EMPTY
Constructor Detail

Surface

public Surface()
Method Detail

getIntersection

public abstract Intersection getIntersection(Ray query)
Returns information about the closest point on this surface that the query ray hits, where the ``distance'' along the ray will be at least one.