|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object math.geom3d.transform.AffineTransform3D
public class AffineTransform3D
Field Summary | |
---|---|
protected double |
m00
|
protected double |
m01
|
protected double |
m02
|
protected double |
m03
|
protected double |
m10
|
protected double |
m11
|
protected double |
m12
|
protected double |
m13
|
protected double |
m20
|
protected double |
m21
|
protected double |
m22
|
protected double |
m23
|
Constructor Summary | |
---|---|
AffineTransform3D()
Creates a new affine transform3D set to identity |
|
AffineTransform3D(double[] coefs)
|
|
AffineTransform3D(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 | |
---|---|
static AffineTransform3D |
createRotationOx(double theta)
|
static AffineTransform3D |
createRotationOy(double theta)
|
static AffineTransform3D |
createRotationOz(double theta)
|
static AffineTransform3D |
createTranslation(double x,
double y,
double z)
|
static AffineTransform3D |
createTranslation(Vector3D vec)
|
boolean |
equals(Object obj)
Compares two transforms. |
double[] |
getCoefficients()
Returns the affine coefficients of the transform. |
AffineTransform3D |
getInverseTransform()
Computes the inverse affine transform. |
boolean |
isIdentity()
|
void |
preConcatenate(AffineTransform3D trans)
Combine this transform with another AffineTransform. |
void |
setToIdentity()
Deprecated. AffineTransform3d is immutable (0.6.3) |
void |
setTransform(AffineTransform3D trans)
Deprecated. AffineTransform3d is immutable (0.6.3) |
void |
setTransform(double n00,
double n01,
double n02,
double n03,
double n10,
double n11,
double n12,
double n13,
double n20,
double n21,
double n22,
double n23)
Deprecated. AffineTransform3d is immutable (0.6.3) |
void |
transform(AffineTransform3D trans)
Combine this transform with another AffineTransform. |
Shape3D |
transform(Shape3D shape)
Deprecated. shapes are responsible of their transform (0.6.3) |
Point3D |
transformPoint(Point3D src,
Point3D dst)
|
Point3D[] |
transformPoints(Point3D[] src,
Point3D[] dst)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected double m00
protected double m01
protected double m02
protected double m03
protected double m10
protected double m11
protected double m12
protected double m13
protected double m20
protected double m21
protected double m22
protected double m23
Constructor Detail |
---|
public AffineTransform3D()
public AffineTransform3D(double[] coefs)
public AffineTransform3D(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 Detail |
---|
public static final AffineTransform3D createTranslation(Vector3D vec)
public static final AffineTransform3D createTranslation(double x, double y, double z)
public static final AffineTransform3D createRotationOx(double theta)
public static final AffineTransform3D createRotationOy(double theta)
public static final AffineTransform3D createRotationOz(double theta)
public boolean isIdentity()
public double[] getCoefficients()
public AffineTransform3D getInverseTransform()
getInverseTransform
in interface Bijection3D
@Deprecated public void setTransform(double n00, double n01, double n02, double n03, double n10, double n11, double n12, double n13, double n20, double n21, double n22, double n23)
@Deprecated public void setTransform(AffineTransform3D trans)
@Deprecated public void setToIdentity()
public void transform(AffineTransform3D trans)
public void preConcatenate(AffineTransform3D trans)
@Deprecated public Shape3D transform(Shape3D shape)
public Point3D[] transformPoints(Point3D[] src, Point3D[] dst)
transformPoints
in interface Transform3D
public Point3D transformPoint(Point3D src, Point3D dst)
transformPoint
in interface Transform3D
public boolean equals(Object obj)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |