Class Transform

java.lang.Object
  extended by Transform

public class Transform
extends java.lang.Object


Field Summary
static Transform IDENTITY
           
 
Method Summary
 Transform append(Transform other)
           
static Transform create(double[] mat)
           
 Transform prepend(Transform other)
           
static Transform rotateX(double theta)
           
static Transform rotateY(double theta)
           
static Transform rotateZ(double theta)
           
static Transform scale(double x, double y, double z)
           
 java.lang.String toString()
           
 Point transform(Point p)
           
 Vector transform(Vector v)
           
static Transform translate(double x, double y, double z)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

IDENTITY

public static final Transform IDENTITY
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

append

public Transform append(Transform other)

prepend

public Transform prepend(Transform other)

transform

public Point transform(Point p)

transform

public Vector transform(Vector v)

create

public static Transform create(double[] mat)

translate

public static Transform translate(double x,
                                  double y,
                                  double z)

scale

public static Transform scale(double x,
                              double y,
                              double z)

rotateX

public static Transform rotateX(double theta)

rotateY

public static Transform rotateY(double theta)

rotateZ

public static Transform rotateZ(double theta)