public class Base
extends java.lang.Object
The user need supply the lower and upper bounds for each axis. These bounds usually are extended (a little) internally for better view purpose.
| Constructor and Description |
|---|
Base(double[] lowerBound,
double[] upperBound)
Constructor.
|
Base(double[] lowerBound,
double[] upperBound,
boolean extendBound)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
extendBound(double[] lowerBound,
double[] upperBound)
Extend lower and upper bounds.
|
void |
extendBound(int i)
Rounds the bounds for axis i.
|
void |
extendLowerBound(double[] bound)
Extend lower bounds.
|
void |
extendUpperBound(double[] bound)
Extend upper bounds.
|
double[][] |
getCoordinateSpace()
Returns the coordinates.
|
int |
getDimension()
Returns the dimensionality of coordinates.
|
double[] |
getLowerBounds()
Returns the lower bounds.
|
int[] |
getPrecisionDigits()
Returns the precision unit digits of axes.
|
double[] |
getPrecisionUnit()
Returns the precision units of axes.
|
double[] |
getUpperBounds()
Returns the upper bounds.
|
void |
reset()
Reset base coordinates.
|
void |
setBound(double[] lowerBound,
double[] upperBound)
Sets the axis bounds without applying the extending heuristic.
|
java.lang.String |
toString() |
public Base(double[] lowerBound,
double[] upperBound)
public Base(double[] lowerBound,
double[] upperBound,
boolean extendBound)
public void reset()
public int getDimension()
public void extendBound(int i)
public void setBound(double[] lowerBound,
double[] upperBound)
lowerBound - the lower bound.upperBound - the upper boundpublic double[][] getCoordinateSpace()
public double[] getLowerBounds()
public double[] getUpperBounds()
public double[] getPrecisionUnit()
public int[] getPrecisionDigits()
public void extendLowerBound(double[] bound)
public void extendUpperBound(double[] bound)
public void extendBound(double[] lowerBound,
double[] upperBound)
public java.lang.String toString()
toString in class java.lang.Object