public class DoubleCubicCurve<V,E> extends AbstractEdgeShapeTransformerWithIndex<V,E> implements HasFunction
indexFunction, loop, yOffsetBase, yOffsetIncrement| Constructor and Description |
|---|
DoubleCubicCurve() |
| Modifier and Type | Method and Description |
|---|---|
java.awt.geom.Point2D |
getValueAt(double t,
java.awt.Shape shape)
Function
|
static void |
main(java.lang.String[] args) |
static java.awt.geom.CubicCurve2D.Double[] |
toCubicCurves(java.awt.geom.Path2D path) |
java.awt.Shape |
toShape()
Shape view
|
java.awt.Shape |
toShape(double controlY,
boolean isBackwards)
Create shape
|
getEdgeIndexFunction, getYOffsetBase, getYOffsetIncrement, setEdgeIndexFunction, setYOffsetBase, setYOffsetIncrement, transformpublic java.awt.Shape toShape(double controlY,
boolean isBackwards)
AbstractEdgeShapeTransformerWithIndextoShape in class AbstractEdgeShapeTransformerWithIndex<V,E>controlY - Y controlisBackwards - whether edge is backwardspublic java.awt.Shape toShape()
EdgeShapertoShape in interface EdgeShapertoShape in class AbstractEdgeShapeTransformerWithIndex<V,E>public java.awt.geom.Point2D getValueAt(double t,
java.awt.Shape shape)
HasFunctiongetValueAt in interface HasFunctiont - function input in [0,1] rangeshape - shape instancepublic static java.awt.geom.CubicCurve2D.Double[] toCubicCurves(java.awt.geom.Path2D path)
public static void main(java.lang.String[] args)