Class SuperPositions
java.lang.Object
org.biojava.nbio.structure.geometry.SuperPositions
SuperPositions is a Class that provides static helper methods and an easy
 access to the whole family of 
SuperPosition algorithms.
 It defines a static SuperPosition object and uses it for calculation.
- Since:
- 5.0.0
- Author:
- Aleix Lafita
- 
Method SummaryModifier and TypeMethodDescriptionstatic 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 Details- 
superposepublic 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.
- 
superposeAtOriginpublic 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.
- 
superposeAndTransformpublic 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.
- 
superposeAndTransformAtOriginpublic 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.
- 
getRmsdUse theSuperPosition.getRmsd(Point3d[], Point3d[])method of the default static SuperPosition algorithm contained in this Class.
- 
getRmsdAtOriginUse 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
 
-