org.kabeja.math
Class TransformContext
java.lang.Object
org.kabeja.math.TransformContext
public class TransformContext
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TransformContext
public TransformContext()
TransformContext
public TransformContext(double[][] transformMatrix)
throws java.lang.IllegalArgumentException
- Throws:
java.lang.IllegalArgumentException
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)