Modifier and Type | Method and Description |
---|---|
static void |
center(javax.vecmath.Point3d[] x)
Center a cloud of points.
|
static javax.vecmath.Point3d |
centroid(javax.vecmath.Point3d[] x)
Calculate the centroid of the point cloud.
|
static javax.vecmath.Point3d[] |
clonePoint3dArray(javax.vecmath.Point3d[] x)
Clone an array of points.
|
static int |
contacts(javax.vecmath.Point3d[] x,
javax.vecmath.Point3d[] y,
double maxDistance) |
static Matrix |
formMatrix(javax.vecmath.Point3d[] a,
javax.vecmath.Point3d[] b) |
static double |
GTSlikeScore(javax.vecmath.Point3d[] x,
javax.vecmath.Point3d[] y) |
static double |
rmsd(javax.vecmath.Point3d[] x,
javax.vecmath.Point3d[] y)
Calculate the RMSD of two point arrays, already superposed.
|
static double |
rmsdMin(javax.vecmath.Point3d[] x,
javax.vecmath.Point3d[] y) |
static double |
TMScore(javax.vecmath.Point3d[] x,
javax.vecmath.Point3d[] y,
int lengthNative)
Returns the TM-Score for two superimposed sets of coordinates Yang Zhang
and Jeffrey Skolnick, PROTEINS: Structure, Function, and Bioinformatics
57:702–710 (2004)
|
static void |
transform(javax.vecmath.Matrix4d rotTrans,
javax.vecmath.Point3d[] x)
Transform all points with a 4x4 transformation matrix.
|
static void |
translate(javax.vecmath.Vector3d trans,
javax.vecmath.Point3d[] x)
Translate all points with a translation vector.
|
public static void center(javax.vecmath.Point3d[] x)
x
- array of points. Point objects will be modifiedpublic static javax.vecmath.Point3d centroid(javax.vecmath.Point3d[] x)
x
- array of points. Point objects will not be modifiedpublic static void transform(javax.vecmath.Matrix4d rotTrans, javax.vecmath.Point3d[] x)
rotTrans
- 4x4 transformation matrixx
- array of points. Point objects will be modifiedpublic static void translate(javax.vecmath.Vector3d trans, javax.vecmath.Point3d[] x)
trans
- the translation vector to applyx
- array of points. Point objects will be modifiedpublic static javax.vecmath.Point3d[] clonePoint3dArray(javax.vecmath.Point3d[] x)
x
- original array of points. Point objects will not be modifiedpublic static Matrix formMatrix(javax.vecmath.Point3d[] a, javax.vecmath.Point3d[] b)
public static double TMScore(javax.vecmath.Point3d[] x, javax.vecmath.Point3d[] y, int lengthNative)
x
- coordinate set 1y
- coordinate set 2lengthNative
- total length of native sequencepublic static double GTSlikeScore(javax.vecmath.Point3d[] x, javax.vecmath.Point3d[] y)
public static double rmsd(javax.vecmath.Point3d[] x, javax.vecmath.Point3d[] y)
x
- array of points superposed to yy
- array of points superposed to xpublic static double rmsdMin(javax.vecmath.Point3d[] x, javax.vecmath.Point3d[] y)
public static int contacts(javax.vecmath.Point3d[] x, javax.vecmath.Point3d[] y, double maxDistance)
Copyright © 2000–2018 BioJava. All rights reserved.