public interface P2DRange1DInterface extends FwkInterface
Modifier and Type | Method and Description |
---|---|
boolean |
contains(double value)
This method checks whether the range contains the given point.
|
boolean |
equals(P2DRange1DInterface r)
Compare this range with the given.
|
double |
getDistance()
Returns the distance of the range.
|
double |
getLower()
Retrieves the lower limit of the range.
|
double |
getMinPositiveValue()
Get the lowest value that is greater than 0.
|
double[] |
getNiceNumbers(double base,
boolean isLog,
int ticks_requested)
Get the nicenumber vector of Double's from axis.
|
java.lang.String |
getParams()
Get the parameter string.
|
double |
getUpper()
Retrieves the upper limit of the range.
|
void |
move(double distance)
Move the range.
|
void |
setDefaults()
Set all the internal properties to the default.
|
void |
setDistance(double distance)
Sets the length of the range.
|
void |
setLower(double lower)
Sets the lower limit of the range.
|
void |
setMinPositiveValue(double minPositiveValue)
Set the lowest value that is greater than 0.
|
void |
setRange(double lower,
double upper)
Set the range.
|
void |
setUpper(double upper)
Sets the upper limit of the range.
|
getVersion, release
boolean contains(double value)
value
- The value to be checked.double getLower()
getUpper()
,
getDistance()
double getMinPositiveValue()
void setMinPositiveValue(double minPositiveValue)
minPositiveValue
- the lowest value that is greater than 0. If no value is greater
than 0 the method returns Double.NaN.void setRange(double lower, double upper)
lower
- The new lower limit of the range.upper
- The new upper limit of the range.void setLower(double lower)
lower
- The new lower limit of the range.setUpper(double)
,
setDistance(double)
double getUpper()
getLower()
,
getDistance()
void setUpper(double upper)
lower
- The new lower limit of the range.setUpper(double)
,
setDistance(double)
double getDistance()
getLower()
,
getUpper()
void setDistance(double distance)
lower
- The new lower limit of the range.setLower(double)
,
setUpper(double)
void move(double distance)
distance
- The value of the distance.boolean equals(P2DRange1DInterface r)
r
- The range that should be compared to this.java.lang.String getParams()
void setDefaults()
double[] getNiceNumbers(double base, boolean isLog, int ticks_requested)
base
- The log base. If <= 1 then 10.isLog
- A boolean indicates that the scale should be logarithmic.ticks_requested
- The total number of requested tick values.
If this parameter is 0 the routine will optimized the value.