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.

There is a newer version: 0.9.2
Show 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
     */
    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