pogr1_holec
Class line

java.lang.Object
  extended by pogr1_holec.GO
      extended by pogr1_holec.line

public class line
extends GO

The represantation of graphical object 'line'


Field Summary
 point center
           
 double length
           
 point[] nodes
           
 double[] vector
           
 
Constructor Summary
line(point A, point B)
           
 
Method Summary
 double[] getGeneralEquation()
           
 double getX1()
           
 double getX2()
           
 double getY1()
           
 double getY2()
           
 double getZ1()
           
 double getZ2()
           
 void PaintMe(java.awt.Graphics g)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

nodes

public point[] nodes

center

public point center

vector

public double[] vector

length

public double length
Constructor Detail

line

public line(point A,
            point B)
Method Detail

getGeneralEquation

public double[] getGeneralEquation()

getX1

public double getX1()

getY1

public double getY1()

getZ1

public double getZ1()

getX2

public double getX2()

getY2

public double getY2()

getZ2

public double getZ2()

PaintMe

public void PaintMe(java.awt.Graphics g)
Specified by:
PaintMe in class GO