gama.flowviz
Class ArrowPlotter

java.lang.Object
  |
  +--gama.flowviz.ArrowPlotter

public class ArrowPlotter
extends java.lang.Object
implements Plotter

This class is capable of plotting Hedgehog Plots (Arrow Plots). Creation date: (15.01.2002 00:17:38)


Field Summary
(package private)  float[][] arrow
           
private  int distance
           
private  DrawingArea drawingArea
           
(package private)  CartesianGrid grid
           
(package private)  int height
           
(package private)  int width
           
 
Constructor Summary
ArrowPlotter(DrawingArea _drawing_area, CartesianGrid _grid)
          ArrowPlotter constructor comment.
 
Method Summary
private  float computeAngle(float x, float y)
           
 int getDistance()
          Insert the method's description here.
 void plot()
          Insert the method's description here.
 void plotArrow(int x, int y)
           
 void setDistance(int newDistance)
          Insert the method's description here.
 void update()
          update method comment.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

drawingArea

private DrawingArea drawingArea

distance

private int distance

grid

CartesianGrid grid

arrow

float[][] arrow

width

int width

height

int height
Constructor Detail

ArrowPlotter

public ArrowPlotter(DrawingArea _drawing_area,
                    CartesianGrid _grid)
ArrowPlotter constructor comment.
Method Detail

computeAngle

private float computeAngle(float x,
                           float y)

getDistance

public int getDistance()
Insert the method's description here. Creation date: (15.01.2002 00:19:46)
Returns:
int

plot

public void plot()
Insert the method's description here. Creation date: (15.01.2002 00:23:25)
Specified by:
plot in interface Plotter

plotArrow

public void plotArrow(int x,
                      int y)

setDistance

public void setDistance(int newDistance)
Insert the method's description here. Creation date: (15.01.2002 00:19:46)
Parameters:
newDistance - int

update

public void update()
update method comment.