Package curve.line
Class CubicLine
java.lang.Object
curve.line.Line
curve.line.CurvedLine
curve.line.CubicLine
Bezier cubic curve class
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) Boardboard(package private) static booleandebug(package private) static booleandebug 1(package private) static booleandebug construct(package private) static booleandebug draw(package private) static booleandebug over(package private) static booleandebug plerp(package private) DPointpp1(package private) DPointpp2(package private) DPointpp3(package private) DPointpp4(package private) DPointpp5(package private) DPointpp6(package private) static StringzzFields inherited from class curve.line.CurvedLine
bias, Bt, curveLength, LUT_resolution, LUT_x, LUT_y, order, originalInterval, ppal, ratios, span_t, x_values, y_values -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete()deletevoiddraw on screenvoiddrawControlLines(Graphics g, Graphics2D g2) draw control linesvoiddraw points on screengetEnd()Get the last point in this curvegetPltPoint(double t) get plot pointgetStart()Get the first point in this curve(package private) static voidlink to Log.mesout()out to filevoidreverse()Reverse this curvetoString()to stringMethods inherited from class curve.line.CurvedLine
drawControlLines, getCurveLength, updateMethods inherited from class curve.line.Line
addArea, clearArea, clearAreas, clearSelected, cloneLine, drawLineSegment, flipSelected, getAreas, getColourIndex, getDirty, getID, getSID, isSelected, logPoints, returnPointIndex, setColourIndex, setDirty, setSelected
-
Field Details
-
zz
zz -
debugDraw
static boolean debugDrawdebug draw -
debugConstruct
static boolean debugConstructdebug construct -
debug
static boolean debugdebug -
debugOver
static boolean debugOverdebug over -
debug1
static boolean debug1debug 1 -
debugplerp
static boolean debugplerpdebug plerp -
board
Board boardboard -
pp1
DPoint pp1pp1 -
pp2
DPoint pp2pp2 -
pp3
DPoint pp3pp3 -
pp4
DPoint pp4pp4 -
pp5
DPoint pp5pp5 -
pp6
DPoint pp6pp6
-
-
Constructor Details
-
CubicLine
-
CubicLine
-
-
Method Details
-
log
-
getPltPoint
get plot point- Specified by:
getPltPointin classCurvedLine- Parameters:
t- -- Returns:
- point
-
getStart
Get the first point in this curve- Overrides:
getStartin classCurvedLine- Returns:
- first point todo check for null
-
getEnd
Get the last point in this curve- Overrides:
getEndin classCurvedLine- Returns:
- last point
-
reverse
-
drawPoints
draw points on screen- Overrides:
drawPointsin classCurvedLine- Parameters:
g- -
-
draw
-
drawControlLines
-
delete
-
toString
to string- Specified by:
toStringin interfaceColour- Specified by:
toStringin classCurvedLine- Returns:
- string
-
out
out to file- Specified by:
outin interfaceOut- Specified by:
outin classCurvedLine- Returns:
- string
-