public final class Transformation3D extends Object
| Modifier and Type | Field and Description |
|---|---|
double |
xd |
double |
xx |
double |
xy |
double |
xz |
double |
yd |
double |
yx |
double |
yy |
double |
yz |
double |
zd |
double |
zx |
double |
zy |
double |
zz |
| Constructor and Description |
|---|
Transformation3D() |
| Modifier and Type | Method and Description |
|---|---|
Transformation3D |
copy() |
static void |
inverse(Transformation3D src,
Transformation3D result)
Calculates the Inverse transformation.
|
void |
mul(Transformation3D right) |
void |
mulLeft(Transformation3D left) |
static void |
multiply(Transformation3D a,
Transformation3D b,
Transformation3D result)
Performs multiplication of matrices a and b and places result into
result.
|
void |
setScale(double scaleX,
double scaleY,
double scaleZ) |
void |
setTranslate(double deltax,
double deltay,
double deltaz) |
void |
setZero()
Sets all elements to 0, thus producing and invalid transformation.
|
Envelope3D |
transform(Envelope3D env)
Transforms an envelope.
|
Point3D |
transform(Point3D src) |
void |
transform(Point3D[] points,
int start,
int count) |
void |
transform(Point3D[] pointsIn,
int count,
Point3D[] pointsOut) |
void |
translate(double deltax,
double deltay,
double deltaz) |
public double xx
public double yx
public double zx
public double xd
public double xy
public double yy
public double zy
public double yd
public double xz
public double yz
public double zz
public double zd
public void setZero()
public void setScale(double scaleX,
double scaleY,
double scaleZ)
public void setTranslate(double deltax,
double deltay,
double deltaz)
public void translate(double deltax,
double deltay,
double deltaz)
public Envelope3D transform(Envelope3D env)
public void transform(Point3D[] points, int start, int count)
public void mul(Transformation3D right)
public void mulLeft(Transformation3D left)
public static void multiply(Transformation3D a, Transformation3D b, Transformation3D result)
public static void inverse(Transformation3D src, Transformation3D result)
src - The input transformation.result - The inverse of the input transformation. Throws the
GeometryException("math singularity") exception if the Inverse
can not be calculated.public Transformation3D copy()
Copyright © 2020. All rights reserved.