|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.ObjectesraMath.Geometry
| Constructor Summary | |
Geometry()
|
|
| Method Summary | |
static double |
angle(double[] aa,
double[] bb,
double[] cc)
|
static double[] |
centerOfGeometry(double[][] positions,
double[] weights)
Compute the center of geometry of a set of 3D-coordinates and massses. |
static double |
dihedral(double[] ii,
double[] jj,
double[] kk,
double[] ll)
The dihedral angle following IUPAC-IUB convention. |
static double |
distance(double[] aa,
double[] bb)
|
static double |
fitAndRmsd(double[][] posA,
double[][] posB,
double[] weights)
fit two structures and compute the rmsd. |
static double[][] |
inertiaTensor(double[][] coords,
double[] weights)
Compute the inertia tensor for a set of 3D-coordinates with masses. |
static double |
iupac2math(double iupacDihedral)
Transform a IUPAC dihedral angle into a dihedral angle following the mathematical standard conventions: a counterclockwise rotation is positive; default ranges go from [0, 2pi] |
static double[][] |
lineRotationMatrix(double[] p,
double[] d,
double angle)
Build rotation matrix for (counterclockwise) rotation around an arbitary line, using a point and a direction from that point on the line. |
static double |
rgyr(double[][] positions,
double[] masses)
|
static double |
rmsd(double[][] posA,
double[][] posB)
|
static double |
rmsd(double[][] posA,
double[][] posB,
double[] weights)
|
static double[][] |
rotate(double[][] rotMatrix,
double[][] coords)
Rotate point using a supplied rotationmatrix. |
static double[][] |
rotateAndShift(double[][] rotMatrix,
double[][] coords)
Rotate point using a supplied rotationmatrix. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Geometry()
| Method Detail |
public static double distance(double[] aa,
double[] bb)
aa - bb -
public static double angle(double[] aa,
double[] bb,
double[] cc)
aa - first positionbb - second (center) positioncc - third position
public static double dihedral(double[] ii,
double[] jj,
double[] kk,
double[] ll)
The dihedral angle following IUPAC-IUB convention.
Biochemistry, 9, (1970) 3471. http://www.iupac.org/goldbook/T06406.pdf
ii - jj - kk - ll -
public static double iupac2math(double iupacDihedral)
iupacDihedral -
public static double[] centerOfGeometry(double[][] positions,
double[] weights)
positions - the coordinatesweights - the weights associated with the coordinates
public static double rgyr(double[][] positions,
double[] masses)
positions - masses -
public static double rmsd(double[][] posA,
double[][] posB)
posA - first positionsposB - second positions
public static double rmsd(double[][] posA,
double[][] posB,
double[] weights)
posA - first positionsposB - second positionsweights - weightings (e.g. masses)
public static double fitAndRmsd(double[][] posA,
double[][] posB,
double[] weights)
posA - first positionsposB - second positionsweights - weightings (e.g. masses)
public static double[][] inertiaTensor(double[][] coords,
double[] weights)
coords - the coordinates usedweights - the weights associated with the coordinates
public static double[][] lineRotationMatrix(double[] p,
double[] d,
double angle)
p - point on line (e.g. origin: 0,0,0)d - line direction (e.g. z-axis: 0 0 1)angle - rotation angle in radians (e.g. Math.PI = 180 degrees)
public static double[][] rotate(double[][] rotMatrix,
double[][] coords)
rotMatrix - rotation matrixcoords - the coordinates to rotate
public static double[][] rotateAndShift(double[][] rotMatrix,
double[][] coords)
rotMatrix - rotation matrixcoords - the coordinates to rotate
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||