org.math.plot.render
Class Projection

java.lang.Object
  extended by org.math.plot.render.Projection
Direct Known Subclasses:
Projection2D, Projection3D

public abstract class Projection
extends Object


Field Summary
(package private)  int[][] baseScreenCoords
           
protected  double borderCoeff
           
static double DEFAULT_BORDER
           
protected  AWTDrawer draw
           
 
Constructor Summary
Projection(AWTDrawer _draw)
           
 
Method Summary
protected abstract  double[] baseCoordsScreenProjectionRatio(double[] xyz)
           
 void dilate(int[] screenOrigin, double[] screenRatio)
           
protected  void initBaseCoordsProjection()
           
private  double log(double x)
           
 int[] screenProjection(double[] pC)
           
 int[] screenProjectionBaseRatio(double[] rC)
           
 void translate(int[] screenTranslation)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

baseScreenCoords

int[][] baseScreenCoords

DEFAULT_BORDER

public static double DEFAULT_BORDER

borderCoeff

protected double borderCoeff

draw

protected AWTDrawer draw
Constructor Detail

Projection

public Projection(AWTDrawer _draw)
Method Detail

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)