
org.jcamp.math.IOrderedArray2D Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jcamp-dx Show documentation
Show all versions of jcamp-dx Show documentation
The JCAMP-DX project is the reference implemention of the IUPAC JCAMP-DX spectroscopy data standard.
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
*/
int indexAt(double x, double y);
/**
* get index of point.
* @return int[]
* @param p Point2d
*/
int indexAt(Point2d p);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy