utilities
Class Curve

java.lang.Object
  |
  +--utilities.Curve

public class Curve
extends java.lang.Object


Field Summary
 float Ax
           
 float Ay
           
 float Bx
           
 float By
           
 float Cx
           
 float Cy
           
 int Ndiv
           
 
Constructor Summary
Curve()
           
Curve(float Ax, float Ay, float Bx, float By, float Cx, float Cy)
           
Curve(float Ax, float Ay, float Bx, float By, float Cx, float Cy, int Ndiv)
           
 
Method Summary
 void draw(java.awt.Graphics gra, float x, float y)
           
 java.awt.Point getPoint(float dist, float x, float y)
           
 void PutCurve(float Ax, float Ay, float Bx, float By, float Cx, float Cy)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

Ax

public float Ax

Ay

public float Ay

Bx

public float Bx

By

public float By

Cx

public float Cx

Cy

public float Cy

Ndiv

public int Ndiv
Constructor Detail

Curve

public Curve(float Ax,
             float Ay,
             float Bx,
             float By,
             float Cx,
             float Cy,
             int Ndiv)

Curve

public Curve(float Ax,
             float Ay,
             float Bx,
             float By,
             float Cx,
             float Cy)

Curve

public Curve()
Method Detail

PutCurve

public void PutCurve(float Ax,
                     float Ay,
                     float Bx,
                     float By,
                     float Cx,
                     float Cy)

draw

public void draw(java.awt.Graphics gra,
                 float x,
                 float y)

getPoint

public java.awt.Point getPoint(float dist,
                               float x,
                               float y)