Modifier and Type | Field and Description |
---|---|
double |
SMALL_NUMBER |
Constructor and Description |
---|
Dimension1D() |
Dimension1D(double min,
double max) |
Modifier and Type | Method and Description |
---|---|
void |
addPadding(double fraction) |
void |
addPadding(double frLow,
double frHigh) |
Dimension1D |
clone() |
boolean |
contains(double x) |
double |
convert(double x,
Dimension1D dim) |
void |
copy(Dimension1D dim) |
List<Double> |
getDimensionTicks(int maxTicks)
returns an array of nice numbers to represent the dimension
as axis.
|
List<Double> |
getDimensionTicksLog(int maxTicks) |
double |
getFraction(double point) |
double |
getLength() |
boolean |
getLog() |
double |
getMax() |
double |
getMin() |
double |
getPoint(double fraction) |
void |
grow(double point) |
double |
length() |
static void |
main(String[] args) |
void |
setLog(boolean flag) |
void |
setMinMax(double min,
double max) |
String |
toString() |
public final double SMALL_NUMBER
public Dimension1D()
public Dimension1D(double min, double max)
public final void setMinMax(double min, double max)
public double getMin()
public boolean getLog()
public void setLog(boolean flag)
public double getMax()
public Dimension1D clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
public void copy(Dimension1D dim)
public double getFraction(double point)
public double getPoint(double fraction)
public double getLength()
public double convert(double x, Dimension1D dim)
public double length()
public void grow(double point)
public List<Double> getDimensionTicks(int maxTicks)
maxTicks
- public boolean contains(double x)
public void addPadding(double fraction)
public void addPadding(double frLow, double frHigh)
public static void main(String[] args)
Jas4pp 1.5 © Java Analysis Studio for Particle Physics