Class SuperPositions
- java.lang.Object
-
- org.biojava.nbio.structure.geometry.SuperPositions
-
public class SuperPositions extends Object
SuperPositions is a Class that provides static helper methods and an easy access to the whole family ofSuperPositionalgorithms.It defines a static SuperPosition object and uses it for calculation.
- Since:
- 5.0.0
- Author:
- Aleix Lafita
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static doublegetRmsd(javax.vecmath.Point3d[] fixed, javax.vecmath.Point3d[] moved)Use theSuperPosition.getRmsd(Point3d[], Point3d[])method of the default static SuperPosition algorithm contained in this Class.static doublegetRmsdAtOrigin(javax.vecmath.Point3d[] fixed, javax.vecmath.Point3d[] moved)Use theSuperPosition.getRmsd(Point3d[], Point3d[])method of the default static SuperPosition algorithm contained in this Class, assuming that the point arrays are centered at the origin.static voidsetDefaultSuperPosition(SuperPositionAbstract defaultAlgorithm)static javax.vecmath.Matrix4dsuperpose(javax.vecmath.Point3d[] fixed, javax.vecmath.Point3d[] moved)Use theSuperPosition.superpose(Point3d[], Point3d[])method of the default static SuperPosition algorithm contained in this Class.static javax.vecmath.Matrix4dsuperposeAndTransform(javax.vecmath.Point3d[] fixed, javax.vecmath.Point3d[] moved)Use theSuperPosition.superposeAndTransform(Point3d[], Point3d[])method of the default static SuperPosition algorithm contained in this Class.static javax.vecmath.Matrix4dsuperposeAndTransformAtOrigin(javax.vecmath.Point3d[] fixed, javax.vecmath.Point3d[] moved)Use theSuperPosition.superposeAndTransform(Point3d[], Point3d[])method of the default static SuperPosition algorithm contained in this Class, assuming that the point arrays are centered at the origin.static javax.vecmath.Matrix4dsuperposeAtOrigin(javax.vecmath.Point3d[] fixed, javax.vecmath.Point3d[] moved)Use theSuperPosition.superpose(Point3d[], Point3d[])method of the default static SuperPosition algorithm contained in this Class, assuming that the point arrays are centered at the origin.
-
-
-
Method Detail
-
superpose
public static javax.vecmath.Matrix4d superpose(javax.vecmath.Point3d[] fixed, javax.vecmath.Point3d[] moved)
Use theSuperPosition.superpose(Point3d[], Point3d[])method of the default static SuperPosition algorithm contained in this Class.
-
superposeAtOrigin
public static javax.vecmath.Matrix4d superposeAtOrigin(javax.vecmath.Point3d[] fixed, javax.vecmath.Point3d[] moved)
Use theSuperPosition.superpose(Point3d[], Point3d[])method of the default static SuperPosition algorithm contained in this Class, assuming that the point arrays are centered at the origin.
-
superposeAndTransform
public static javax.vecmath.Matrix4d superposeAndTransform(javax.vecmath.Point3d[] fixed, javax.vecmath.Point3d[] moved)
Use theSuperPosition.superposeAndTransform(Point3d[], Point3d[])method of the default static SuperPosition algorithm contained in this Class.
-
superposeAndTransformAtOrigin
public static javax.vecmath.Matrix4d superposeAndTransformAtOrigin(javax.vecmath.Point3d[] fixed, javax.vecmath.Point3d[] moved)
Use theSuperPosition.superposeAndTransform(Point3d[], Point3d[])method of the default static SuperPosition algorithm contained in this Class, assuming that the point arrays are centered at the origin.
-
getRmsd
public static double getRmsd(javax.vecmath.Point3d[] fixed, javax.vecmath.Point3d[] moved)
Use theSuperPosition.getRmsd(Point3d[], Point3d[])method of the default static SuperPosition algorithm contained in this Class.
-
getRmsdAtOrigin
public static double getRmsdAtOrigin(javax.vecmath.Point3d[] fixed, javax.vecmath.Point3d[] moved)
Use theSuperPosition.getRmsd(Point3d[], Point3d[])method of the default static SuperPosition algorithm contained in this Class, assuming that the point arrays are centered at the origin.
-
setDefaultSuperPosition
public static void setDefaultSuperPosition(SuperPositionAbstract defaultAlgorithm)
-
-