org.kabeja.math
Class TransformContext

java.lang.Object
  extended by org.kabeja.math.TransformContext

public class TransformContext
extends java.lang.Object


Constructor Summary
TransformContext()
           
TransformContext(double[][] transformMatrix)
           
 
Method Summary
 double getRotationZAxis()
           
 double getScaleX()
           
 double getScaleY()
           
 double getScaleZ()
           
 double[][] getTransformMatrix()
           
 Vector getTranslation()
           
 void setRotationZAxis(double rotationAngle)
           
 void setScale(double s)
           
 void setScale(double x, double y, double z)
           
 void setScaleX(double scaleX)
           
 void setScaleY(double scaleY)
           
 void setScaleZ(double scaleZ)
           
 void setTransformMatrix(double[][] transformMatrix)
           
 void setTranslation(Vector translation)
           
 Point transform(Point a)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransformContext

public TransformContext()

TransformContext

public TransformContext(double[][] transformMatrix)
                 throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException
Method Detail

getRotationZAxis

public double getRotationZAxis()

setRotationZAxis

public void setRotationZAxis(double rotationAngle)

setScale

public void setScale(double s)

setScale

public void setScale(double x,
                     double y,
                     double z)

getScaleX

public double getScaleX()

setScaleX

public void setScaleX(double scaleX)

getScaleY

public double getScaleY()

setScaleY

public void setScaleY(double scaleY)

getScaleZ

public double getScaleZ()

setScaleZ

public void setScaleZ(double scaleZ)

getTransformMatrix

public double[][] getTransformMatrix()

setTransformMatrix

public void setTransformMatrix(double[][] transformMatrix)

getTranslation

public Vector getTranslation()

setTranslation

public void setTranslation(Vector translation)

transform

public Point transform(Point a)