|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.Component | +--java.awt.Canvas | +--nslj.src.display.NslCanvas | +--nslj.src.display.TemporaryBezier
Inner classes inherited from class java.awt.Canvas |
java.awt.Canvas.AccessibleAWTCanvas |
Inner classes inherited from class java.awt.Component |
java.awt.Component.AccessibleAWTComponent |
Field Summary | |
Vector2[] |
ControlPoints
|
static int |
dummyv
|
static NslFrame |
frame
|
int |
indexControlPoints
|
int |
MaxCtrlPts
|
static java.lang.String |
xname
|
static java.util.Vector |
Xvariable
|
static float[] |
xy
|
static java.lang.String |
yname
|
static java.util.Vector |
Yvariable
|
Fields inherited from class nslj.src.display.NslCanvas |
C_max_x, C_max_y, C_min_x, C_min_y, canvas_name, canvas_type, drawH, drawW, drawX, drawY, dx, dy, max_data_pos, mouseAdapter, nslDisplayFrame, var_in_canvas, variable_list, windowName, x_dimension, y_dimension |
Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
TemporaryBezier()
|
Method Summary | |
Vector2 |
BezierII(int degree,
Vector2[] V,
double t)
|
double[] |
ChordLengthParameterize(Vector2[] d,
int first,
int last)
|
Vector2 |
ComputeCenterTangent(Vector2[] d,
int center)
|
Vector2 |
ComputeLeftTangent(Vector2[] d,
int end)
|
double |
ComputeMaxError(Vector2[] d,
int first,
int last,
Vector2[] bezCurve,
double[] u,
int[] splitPoint)
|
Vector2 |
ComputeRightTangent(Vector2[] d,
int end)
|
void |
DrawBezierCurve(int n,
Vector2[] curve,
java.io.PrintWriter pw)
|
void |
FitCubic(Vector2[] d,
int first,
int last,
Vector2 tHat1,
Vector2 tHat2,
double error,
java.io.PrintWriter pw)
|
void |
fitting_main(int drawing_time)
|
Vector2[] |
GenerateBezier(Vector2[] d,
int first,
int last,
double[] uPrime,
Vector2 tHat1,
Vector2 tHat2)
|
double |
NewtonRaphsonRootFind(Vector2[] Q,
Vector2 P,
double u)
|
double[] |
Reparameterize(Vector2[] d,
int first,
int last,
double[] u,
Vector2[] bezCurve)
|
void |
TemporaryBezier()
|
int |
times(int ti)
|
Vector2 |
V2Add(Vector2 a,
Vector2 b,
Vector2 c)
|
Vector2 |
V2AddII(Vector2 a,
Vector2 b)
|
double |
V2DistanceBetween2Points(Vector2 a,
Vector2 b)
|
double |
V2Dot(Vector2 a,
Vector2 b)
|
Vector2 |
V2Scale(Vector2 v,
double newlen)
|
Vector2 |
V2ScaleIII(Vector2 a,
double s)
|
Vector2 |
V2SubII(Vector2 a,
Vector2 b)
|
Methods inherited from class nslj.src.display.NslCanvas |
add_variable, collect, copy, delete_variable, draw_box, draw_rectangle, get_display_variable, get_variable_list, getC_max_y, getC_min_y, getWindowName, init, initCanvas, initEpochCanvas, mouseDragged, mousePressed, mouseReleased, nslAddVariable, nslGetName, paint, Print, refresh, set_background, set_canvas_type, set_draw_size, set_draw_size, set_min_max, setSize, setWindowName, toString, update, zoom_draw_size, zoom_draw_size, zoom_in, zoom_out |
Methods inherited from class java.awt.Canvas |
addNotify, getAccessibleContext, paint |
Methods inherited from class java.awt.Component |
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addPropertyChangeListener, addPropertyChangeListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, deliverEvent, disable, disableEvents, dispatchEvent, doLayout, enable, enable, enableEvents, enableInputMethods, firePropertyChange, getAlignmentX, getAlignmentY, getBackground, getBounds, getBounds, getColorModel, getComponentAt, getComponentAt, getComponentOrientation, getCursor, getDropTarget, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getInputContext, getInputMethodRequests, getListeners, getLocale, getLocation, getLocation, getLocationOnScreen, getMaximumSize, getMinimumSize, getName, getParent, getPeer, getPreferredSize, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, invalidate, isDisplayable, isDoubleBuffered, isEnabled, isFocusTraversable, isLightweight, isOpaque, isShowing, isValid, isVisible, keyDown, keyUp, layout, list, list, list, list, list, locate, location, lostFocus, minimumSize, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, paramString, postEvent, preferredSize, prepareImage, prepareImage, print, printAll, processComponentEvent, processEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFont, setForeground, setLocale, setLocation, setLocation, setName, setSize, setVisible, show, show, size, transferFocus, update, validate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static int dummyv
public static float[] xy
public static java.util.Vector Xvariable
public static java.util.Vector Yvariable
public static NslFrame frame
public static java.lang.String xname
public static java.lang.String yname
public Vector2[] ControlPoints
public int indexControlPoints
public int MaxCtrlPts
Constructor Detail |
public TemporaryBezier()
Method Detail |
public void TemporaryBezier()
public Vector2 V2SubII(Vector2 a, Vector2 b)
public Vector2 ComputeLeftTangent(Vector2[] d, int end)
public Vector2 ComputeRightTangent(Vector2[] d, int end)
public Vector2 ComputeCenterTangent(Vector2[] d, int center)
public double[] ChordLengthParameterize(Vector2[] d, int first, int last)
public double ComputeMaxError(Vector2[] d, int first, int last, Vector2[] bezCurve, double[] u, int[] splitPoint)
public double[] Reparameterize(Vector2[] d, int first, int last, double[] u, Vector2[] bezCurve)
public double NewtonRaphsonRootFind(Vector2[] Q, Vector2 P, double u)
public void FitCubic(Vector2[] d, int first, int last, Vector2 tHat1, Vector2 tHat2, double error, java.io.PrintWriter pw)
public Vector2[] GenerateBezier(Vector2[] d, int first, int last, double[] uPrime, Vector2 tHat1, Vector2 tHat2)
public Vector2 BezierII(int degree, Vector2[] V, double t)
public Vector2 V2Scale(Vector2 v, double newlen)
public Vector2 V2Add(Vector2 a, Vector2 b, Vector2 c)
public double V2Dot(Vector2 a, Vector2 b)
public Vector2 V2AddII(Vector2 a, Vector2 b)
public Vector2 V2ScaleIII(Vector2 a, double s)
public double V2DistanceBetween2Points(Vector2 a, Vector2 b)
public void DrawBezierCurve(int n, Vector2[] curve, java.io.PrintWriter pw)
public int times(int ti)
public void fitting_main(int drawing_time)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |