static AttributeUtils.Tuple<org.graphstream.ui.geom.Point2,Double> |
CubicCurve.approxIntersectionPointOnCurve(org.graphstream.ui.graphicGraph.GraphicEdge edge,
Connector c,
org.graphstream.ui.view.camera.DefaultCamera2D camera) |
Use a dichotomy method to evaluate the intersection between the `edge` destination node
shape and the Bézier curve of the connector `c`.
|
static AttributeUtils.Tuple<org.graphstream.ui.geom.Point2,Double> |
CubicCurve.approxIntersectionPointOnCurve(org.graphstream.ui.graphicGraph.GraphicEdge edge,
Connector c,
org.graphstream.ui.view.camera.DefaultCamera2D camera,
int maxDepth) |
Use a dichotomy method to evaluate the intersection between the `edge` destination node
shape and the Bézier curve of the connector `c`.
|
static double |
CubicCurve.approxLengthOfCurve(Connector c) |
Evaluate the length of a Bézier curve by taking n points on the curve and summing the lengths of
the n+1 segments thus defined.
|
static double |
CubicCurve.approxLengthOfCurveQuick(Connector c) |
Evaluate the length of a Bézier curve by taking four points on the curve and summing the lengths of
the five segments thus defined.
|
static double |
CubicCurve.approxLengthOfCurveQuickAndDirty(Connector c) |
A quick and dirty hack to evaluate the length of a cubic bezier curve.
|
static AttributeUtils.Tuple<org.graphstream.ui.geom.Point2,org.graphstream.ui.geom.Point2> |
CubicCurve.approxVectorEnteringCurve(org.graphstream.ui.graphicGraph.GraphicEdge edge,
Connector c,
org.graphstream.ui.view.camera.DefaultCamera2D camera) |
Return two points, one inside and the second outside of the shape of the destination node
of the given `edge`, the points can be used to deduce a vector along the Bézier curve entering
point in the shape.
|