Class Translation
- java.lang.Object
-
- com.actelion.research.chem.alignment3d.transformation.Translation
-
- All Implemented Interfaces:
Transformation
public class Translation extends java.lang.Object implements Transformation
-
-
Field Summary
-
Fields inherited from interface com.actelion.research.chem.alignment3d.transformation.Transformation
DELIMITER, ROTATION, SCALING, TRANSLATION
-
-
Constructor Summary
Constructors Constructor Description Translation(double[] translation)
Translation(double x, double y, double z)
Translation(Coordinates translation)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
apply(double[] coords)
void
apply(Coordinates coords)
static Translation
decode(java.lang.String s)
java.lang.String
encode()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.actelion.research.chem.alignment3d.transformation.Transformation
apply, apply
-
-
-
-
Constructor Detail
-
Translation
public Translation(double[] translation)
-
Translation
public Translation(Coordinates translation)
-
Translation
public Translation(double x, double y, double z)
-
-
Method Detail
-
apply
public void apply(Coordinates coords)
- Specified by:
apply
in interfaceTransformation
-
apply
public void apply(double[] coords)
- Specified by:
apply
in interfaceTransformation
-
decode
public static Translation decode(java.lang.String s)
-
encode
public java.lang.String encode()
- Specified by:
encode
in interfaceTransformation
-
-