org.math.plot.render
Class Projection
java.lang.Object
org.math.plot.render.Projection
- Direct Known Subclasses:
- Projection2D, Projection3D
public abstract class Projection
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
baseScreenCoords
int[][] baseScreenCoords
DEFAULT_BORDER
public static double DEFAULT_BORDER
borderCoeff
protected double borderCoeff
draw
protected AWTDrawer draw
Projection
public Projection(AWTDrawer _draw)
initBaseCoordsProjection
protected void initBaseCoordsProjection()
translate
public void translate(int[] screenTranslation)
dilate
public void dilate(int[] screenOrigin,
double[] screenRatio)
screenProjection
public int[] screenProjection(double[] pC)
screenProjectionBaseRatio
public int[] screenProjectionBaseRatio(double[] rC)
log
private double log(double x)
baseCoordsScreenProjectionRatio
protected abstract double[] baseCoordsScreenProjectionRatio(double[] xyz)