Package curve.line
Class CubicLine
java.lang.Object
curve.line.Line
curve.line.CurvedLine
curve.line.CubicLine
Bezier cubic curve class
-
Field Summary
Modifier and TypeFieldDescription(package private) Board
board(package private) static boolean
debug(package private) static boolean
debug 1(package private) static boolean
debug construct(package private) static boolean
debug draw(package private) static boolean
debug over(package private) static boolean
debug plerp(package private) DPoint
pp1(package private) DPoint
pp2(package private) DPoint
pp3(package private) DPoint
pp4(package private) DPoint
pp5(package private) DPoint
pp6(package private) static String
zzFields 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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
delete()
deletevoid
draw on screenvoid
drawControlLines
(Graphics g, Graphics2D g2) draw control linesvoid
draw 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 void
link to Log.mesout()
out to filevoid
reverse()
Reverse this curvetoString()
to stringMethods inherited from class curve.line.CurvedLine
drawControlLines, getCurveLength, update
Methods 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:
getPltPoint
in classCurvedLine
- Parameters:
t
- -- Returns:
- point
-
getStart
Get the first point in this curve- Overrides:
getStart
in classCurvedLine
- Returns:
- first point todo check for null
-
getEnd
Get the last point in this curve- Overrides:
getEnd
in classCurvedLine
- Returns:
- last point
-
reverse
-
drawPoints
draw points on screen- Overrides:
drawPoints
in classCurvedLine
- Parameters:
g
- -
-
draw
-
drawControlLines
-
delete
-
toString
to string- Specified by:
toString
in interfaceColour
- Specified by:
toString
in classCurvedLine
- Returns:
- string
-
out
out to file- Specified by:
out
in interfaceOut
- Specified by:
out
in classCurvedLine
- Returns:
- string
-