public class AffineTransform extends Object implements Transform
This class is from the
Constructor Summary
Constructor and Description
AffineTransform()
AffineTransform(double[] coefs)
AffineTransform(double xx,
double yx,
double zx,
double tx,
double xy,
double yy,
double zy,
double ty,
double xz,
double yz,
double zz,
double tz)
Method Summary
Modifier and Type
Method and Description
Vectorapply(Vector vector)
double[]coefficients()
AffineTransformcombine(AffineTransform other)
Transformcombine(Transform other)
Transform that combines this transform with another.
AffineTransformconcatenate(AffineTransform that)
that, then this affine transform.
AffineTransforminverse()
booleanisIdentity()
AffineTransformpreConcatenate(AffineTransform that)
that.
AffineTransformrotateX(double theta)
AffineTransformrotateY(double theta)
AffineTransformrotateZ(double theta)
AffineTransformscale(double s)
AffineTransformscale(double sx,
double sy,
double sz)
AffineTransformscale(Vector vec)
StringtoString()
AffineTransformtranslate(double x,
double y,
double z)
AffineTransformtranslate(Vector vec)
public AffineTransform()
public AffineTransform(double[] coefs)
public AffineTransform(double xx,
double yx,
double zx,
double tx,
double xy,
double yy,
double zy,
double ty,
double xz,
double yz,
double zz,
double tz)
public boolean isIdentity()
TransformIf it is not known, then false must be returned.
isIdentity in interface Transformpublic double[] coefficients()
public AffineTransform inverse()
public AffineTransform concatenate(AffineTransform that)
that, then this affine transform.that - the transform to apply firstpublic AffineTransform preConcatenate(AffineTransform that)
that.that - the transform to apply in a second steppublic AffineTransform translate(Vector vec)
public AffineTransform translate(double x, double y, double z)
public AffineTransform rotateX(double theta)
public AffineTransform rotateY(double theta)
public AffineTransform rotateZ(double theta)
public AffineTransform scale(double s)
public AffineTransform scale(double sx, double sy, double sz)
public AffineTransform scale(Vector vec)
public Vector apply(Vector vector)
Transformpublic AffineTransform combine(AffineTransform other)
public Transform combine(Transform other)
TransformTransform that combines this transform with another.Copyright © 2010-2014. All Rights Reserved.