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

org.jcamp.spectrum.ISpectrumLabel Maven / Gradle / Ivy

Go to download

The JCAMP-DX project is the reference implemention of the IUPAC JCAMP-DX spectroscopy data standard.

There is a newer version: 0.9.2
Show newest version
package org.jcamp.spectrum;

import java.lang.Comparable;
/**
 * spectrum labels (peak labels, pattern labels, assignments etc.).
 * @author Thomas Weber
 */
public interface ISpectrumLabel extends Comparable {
    /**
     * returns the label text
     * @return String label text 
     */
    String getLabel();
    /**
     * returns current position in spectrum coordinates
     * @return double[] coordinates of the position 
     */
    double[] getPosition();
    /**
     * translate the label the translation vector amount
     * @param amount double[] translation vector
     */
    void translate(double[] amount);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy