org.metaqtl.graph
Class ChromAxe
java.lang.Object
org.metaqtl.graph.ChromAxe
public class ChromAxe
- extends java.lang.Object
Constructor Summary |
ChromAxe(double yMin,
double yMax,
double length)
|
Method Summary |
double |
getHeight()
|
double |
getX()
|
double |
getYMax()
|
double |
getYMin()
|
void |
scale(double sy)
Scale the axe in y. |
double |
scaleHeight(double h)
|
double |
scaleY(double d)
|
void |
setX(double x)
|
void |
setYMax(double max)
|
void |
setYMin(double min)
|
double |
transformY(double d)
Do a affine transformation of the given
position d which is assumed
to be in [0,dmax] in order to have its
representation in the chromosome axe. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ChromAxe
public ChromAxe(double yMin,
double yMax,
double length)
getYMax
public double getYMax()
- Returns:
- Returns the yMax.
setYMax
public void setYMax(double max)
- Parameters:
max
- The yMax to set.
getYMin
public double getYMin()
- Returns:
- Returns the yMin.
setYMin
public void setYMin(double min)
- Parameters:
min
- The yMin to set.
getHeight
public double getHeight()
- Returns:
transformY
public double transformY(double d)
- Do a affine transformation of the given
position
d
which is assumed
to be in [0,dmax] in order to have its
representation in the chromosome axe.
- Parameters:
d
-
- Returns:
scaleY
public double scaleY(double d)
scaleHeight
public double scaleHeight(double h)
- Parameters:
d
-
- Returns:
scale
public void scale(double sy)
- Scale the axe in y.
- Parameters:
sy
-
getX
public double getX()
- Returns:
- Returns the x.
setX
public void setX(double x)
- Parameters:
x
- The x to set.