linearalgebra.graph
Class GraphVector

java.lang.Object
  extended by linearalgebra.graph.GraphObject
      extended by linearalgebra.graph.GraphVector

public class GraphVector
extends GraphObject


Field Summary
(package private)  java.awt.Shape arrow
           
(package private)  java.awt.Color c
           
(package private)  java.awt.geom.Line2D line
           
private  NumericVectorInterface o
           
private  NumericVectorInterface v
           
 
Constructor Summary
GraphVector(NumericVectorInterface v, NumericVectorInterface offset, java.awt.Color c)
           
 
Method Summary
 void paint(java.awt.Graphics2D g)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

v

private NumericVectorInterface v

o

private NumericVectorInterface o

c

java.awt.Color c

line

java.awt.geom.Line2D line

arrow

java.awt.Shape arrow
Constructor Detail

GraphVector

public GraphVector(NumericVectorInterface v,
                   NumericVectorInterface offset,
                   java.awt.Color c)
Method Detail

paint

public void paint(java.awt.Graphics2D g)
Specified by:
paint in class GraphObject