raytracer.internal
Class Transformation

java.lang.Object
  |
  +--raytracer.internal.Transformation

public class Transformation
extends java.lang.Object

Represents geometric transformations with matrices


Constructor Summary
Transformation()
          Creates a "do-nothing" transformation
 
Method Summary
 Matrix getInverse()
          Returns the inverse of the transformation matrix
 Matrix getMatrix()
          Returns the transformation matrix
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Transformation

public Transformation()
Creates a "do-nothing" transformation

Method Detail

getMatrix

public Matrix getMatrix()
Returns the transformation matrix

Returns:
Tranformation matrix

getInverse

public Matrix getInverse()
Returns the inverse of the transformation matrix

Returns:
Inverse of tranformation matrix