com.actelion.research.chem.alignment3d.transformation.Transformation Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of openchemlib Show documentation
Show all versions of openchemlib Show documentation
Open Source Chemistry Library
package com.actelion.research.chem.alignment3d.transformation;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.io.Serializable;
import java.util.zip.ZipEntry;
import java.util.zip.ZipInputStream;
import java.util.zip.ZipOutputStream;
import java.util.Base64;
import com.actelion.research.chem.Coordinates;
import com.actelion.research.chem.StereoMolecule;
import com.actelion.research.chem.conf.Conformer;
public interface Transformation {
public static final String ROTATION = "r";
public static final String TRANSLATION = "t";
public static final String SCALING = "s";
public static final String DELIMITER = " ";
public void apply(Coordinates coords);
public void apply(double[] coords);
public default void apply(StereoMolecule mol) {
for(int a=0;a