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

org.jcamp.math.IOrderedArray2D 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.math;

import javax.vecmath.Point2d;

/**
 * real interval with monotone ordered discrete points.
 * allows assignment of a single discrete point/index to a position within the interval. 
 * 
 * @author Thomas Weber
 */
public interface IOrderedArray2D
  extends IArray2D {
  
  /**
   * @return int[]
   * @param x double
   * @param y double
   */
  public int indexAt(double x, double y);
  
  /**
   * get index of point.
   * @return int[]
   * @param p Point2d
   */
  public int indexAt(Point2d p);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy