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.

The newest version!
package org.jcamp.spectrum;

/**
 * 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 - 2024 Weber Informatics LLC | Privacy Policy