org.jmat.gui.plotObjects
Class Base
java.lang.Object
|
+--org.jmat.gui.plotObjects.Base
- All Implemented Interfaces:
- CommandLinePrintable
- Direct Known Subclasses:
- Base2D, Base3D
- public abstract class Base
- extends java.lang.Object
- implements CommandLinePrintable
|
Constructor Summary |
Base(Coord[] b)
|
Base(double[] Xmi,
double[] Xma,
int[] dim,
int[] scales,
double bC)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LINEAR
public static final int LINEAR
- See Also:
- Constant Field Values
LOG
public static final int LOG
- See Also:
- Constant Field Values
DEFAULT_BORDER
public static double DEFAULT_BORDER
baseCoords
protected Coord[] baseCoords
precisionUnit
protected double[] precisionUnit
Xmin
protected double[] Xmin
Xmax
protected double[] Xmax
panelSize
protected int[] panelSize
dimension
protected int dimension
borderCoeff
protected double borderCoeff
axesScales
protected int[] axesScales
Base
public Base(Coord[] b)
Base
public Base(double[] Xmi,
double[] Xma,
int[] dim,
int[] scales,
double bC)
setPanelSize
public void setPanelSize(int[] dim)
setAxesScales
public void setAxesScales(int[] scales)
setAxesScales
public void setAxesScales(int i,
int scale)
getBorder
public double getBorder()
getCoords
public Coord[] getCoords()
getDimension
public int getDimension()
getAxesScales
public int[] getAxesScales()
getAxeScale
public int getAxeScale(int i)
getMinBounds
public double[] getMinBounds()
getMaxBounds
public double[] getMaxBounds()
getPrecisionUnit
public double[] getPrecisionUnit()
setFixedBounds
public void setFixedBounds(int i,
double Xmi,
double Xma)
setFixedBounds
public void setFixedBounds(double[] Xmi,
double[] Xma)
setnRoundBounds
public void setnRoundBounds(int i,
double Xmi,
double Xma)
setnRoundBounds
public void setnRoundBounds(double[] Xmi,
double[] Xma)
includeInBounds
public void includeInBounds(int dim,
double XY)
includeInBounds
public void includeInBounds(double[] XY)
translate
public void translate(int[] screenTranslation)
dilate
public void dilate(int[] screenOrigin,
double[] screenRatio)
updateScreenCoord
public void updateScreenCoord()
setBaseCoords
public void setBaseCoords()
screenProjection
public int[] screenProjection(double[] pC)
baseCoordsScreenProjectionRatio
protected abstract double[] baseCoordsScreenProjectionRatio(double[] xyz)
getGravCenter
public RelativeCoord getGravCenter()
authorizedLogScale
public boolean authorizedLogScale(int i)
toCommandLine
public void toCommandLine(java.lang.String title)
- Specified by:
toCommandLine in interface CommandLinePrintable