de.javagl.swogl.geometry
Interface Ray

All Known Implementing Classes:
DefaultRay

public interface Ray

Interface describing a ray.


Method Summary
 javax.vecmath.Vector3f getDirection()
          Returns a copy of the direction of the ray.
 javax.vecmath.Point3f getOrigin()
          Returns a copy of the origin of the ray.
 

Method Detail

getOrigin

javax.vecmath.Point3f getOrigin()
Returns a copy of the origin of the ray.

Returns:
The origin of the ray

getDirection

javax.vecmath.Vector3f getDirection()
Returns a copy of the direction of the ray. This direction may not be assumed to be normalized.

Returns:
The direction of the ray.