|
'STRAP:multiple sequence alignments ' | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object charite.christo.protein.Matrix3D
public final class Matrix3D
A matrix defines an affine transformation in 3D space.
Field Summary | |
---|---|
static int |
FORMAT_EXPLAIN
|
static int |
FORMAT_JMOL
|
static int |
FORMAT_PLAIN
|
static int |
FORMAT_PYMOL
|
static int |
FORMAT_ROUNDED
|
static Matrix3D[] |
NONE
|
Constructor Summary | |
---|---|
Matrix3D()
Create a new unit matrix |
|
Matrix3D(BA ba)
|
|
Matrix3D(double xx,
double xy,
double xz,
double xo,
double yx,
double yy,
double yz,
double yo,
double zx,
double zy,
double zz,
double zo)
|
|
Matrix3D(Matrix3D m)
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
|
int |
getBiomolecule()
|
double |
getDeterminant(boolean normalize)
|
java.lang.String |
getName()
|
double[][] |
getRotation()
|
double[] |
getTranslation()
|
int |
hashCode()
|
boolean |
isUnit()
|
int |
modificationCount()
|
static void |
mostDistantPoints3(float[] xyz,
int len,
int[] result)
|
Matrix3D |
mult(Matrix3D rhs)
Multiply this matrix by a second: M=M*R |
Matrix3D |
newInverse()
|
boolean |
parse(BA ba)
|
boolean |
parsePlain(byte[] text,
int begin,
int end)
|
Matrix3D |
rotate(char axis,
double theta)
rotate theta degrees about the x,y,z axis |
Matrix3D |
scale(double f)
Scale by f in all dimensions |
Matrix3D |
setRotation(double[][] r)
|
Matrix3D |
setTranslation(double[] t)
|
Matrix3D |
setTranslation(double tx,
double ty,
double tz)
|
java.lang.String |
toString()
|
java.lang.String |
toText(int format,
java.lang.String linePrefix)
|
float[] |
transformPoints(float[] v,
float[] tv0,
int n0)
|
Matrix3D |
unit()
Set to unit matrix |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final Matrix3D[] NONE
public static final int FORMAT_PLAIN
public static final int FORMAT_JMOL
public static final int FORMAT_PYMOL
public static final int FORMAT_EXPLAIN
public static final int FORMAT_ROUNDED
Constructor Detail |
---|
public Matrix3D()
public Matrix3D(BA ba)
public Matrix3D(double xx, double xy, double xz, double xo, double yx, double yy, double yz, double yo, double zx, double zy, double zz, double zo)
public Matrix3D(Matrix3D m)
Method Detail |
---|
public double[][] getRotation()
public double[] getTranslation()
public java.lang.String getName()
public int getBiomolecule()
public Matrix3D scale(double f)
public Matrix3D rotate(char axis, double theta)
public Matrix3D mult(Matrix3D rhs)
public Matrix3D newInverse()
public Matrix3D unit()
public Matrix3D setTranslation(double tx, double ty, double tz)
public Matrix3D setTranslation(double[] t)
public Matrix3D setRotation(double[][] r)
public boolean parsePlain(byte[] text, int begin, int end)
public boolean parse(BA ba)
public boolean isUnit()
public double getDeterminant(boolean normalize)
public float[] transformPoints(float[] v, float[] tv0, int n0)
public static void mostDistantPoints3(float[] xyz, int len, int[] result)
public int modificationCount()
modificationCount
in interface HasModiCount
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toText(int format, java.lang.String linePrefix)
|
'STRAP:multiple sequence alignments ' | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |