All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.actelion.research.chem.alignment3d.transformation.Transformation Maven / Gradle / Ivy

There is a newer version: 2024.11.2
Show newest version
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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy