APIdia Launch Partner
Top Fields Constructors Methods
com.sun.javafx.geom

pack-priv final Class Order3

extends Curve
Class Inheritance
Imports
java.util.Vector

Field Summary

Modifier and TypeField and Description
private double
private double
private double
private double
private double
private double
private double
private double
private double
private double
private double
private double
private double
private double
private double
private double
private double
private double
private double
private double
private double
private double
private double
private double
Inherited from com.sun.javafx.geom.Curve:
DECREASINGdirectionINCREASINGTMIN

Constructor Summary

AccessConstructor and Description
public
Order3(double x0, double y0, double cx0, double cy0, double cx1, double cy1, double x1, double y1, int direction)

Method Summary

Modifier and TypeMethod and Description
public static void
addInstance(Vector<E> curves, double x0, double y0, double cx0, double cy0, double cx1, double cy1, double x1, double y1, int direction)

public String
public double
dXforT(double t, int deriv)

Implements abstract com.sun.javafx.geom.Curve.dXforT.

public double
dYforT(double t, int deriv)

Implements abstract com.sun.javafx.geom.Curve.dYforT.

public void
public double
public double
public double
public double
public static int
getHorizontalParams(double c0, double cp0, double cp1, double c1, double[] ret)

public int
public Curve
public int
getSegment(float[] coords)

Implements abstract com.sun.javafx.geom.Curve.getSegment.

public Curve
getSubCurve(double ystart, double yend, int dir)

Implements abstract com.sun.javafx.geom.Curve.getSubCurve.

public double
getX0()

Implements abstract com.sun.javafx.geom.Curve.getX0.

public double
getX1()

Implements abstract com.sun.javafx.geom.Curve.getX1.

public double
public double
public double
public double
public double
getY0()

Implements abstract com.sun.javafx.geom.Curve.getY0.

public double
getY1()

Implements abstract com.sun.javafx.geom.Curve.getY1.

public double
public double
public static void
insert(Vector<E> curves, double[] tmp, double x0, double y0, double cx0, double cy0, double cx1, double cy1, double x1, double y1, int direction)

public double
nextVertical(double t0, double t1)

Implements abstract com.sun.javafx.geom.Curve.nextVertical.

public double
refine(double a, double b, double c, double target, double t)

public static int

Returns:

the number of roots, or -1 if the equation is a constant.
solveQuadratic
(double[]
the specified array of coefficients to use to solve the quadratic equation
eqn
,
double[]
the array that contains the non-complex roots resulting from the solution of the quadratic equation
res
)

[A double version of what is in QuadCurve2D...] Solves the quadratic whose coefficients are in the eqn array and places the non-complex roots into the res array, returning the number of roots.

public static void
split(double[] coords, int pos, double t)

public double
TforY(double y)

Implements abstract com.sun.javafx.geom.Curve.TforY.

public double
XforT(double t)

Implements abstract com.sun.javafx.geom.Curve.XforT.

public double
XforY(double y)

Implements abstract com.sun.javafx.geom.Curve.XforY.

public double
YforT(double t)

Implements abstract com.sun.javafx.geom.Curve.YforT.

Inherited from com.sun.javafx.geom.Curve:
accumulateCrossingscompareTocrossingsFordiffbitsfairlyClosefindIntersectgetDirectiongetSubCurvegetWithDirectioninsertCubicinsertLineinsertMoveinsertQuadnextorderofprevrefineTforYroundsigneddiffbitstoString

Field Detail

cx0back to summary
private double cx0
cx1back to summary
private double cx1
cy0back to summary
private double cy0
cy1back to summary
private double cy1
TforY1back to summary
private double TforY1
TforY2back to summary
private double TforY2
TforY3back to summary
private double TforY3
x0back to summary
private double x0
x1back to summary
private double x1
xcoeff0back to summary
private double xcoeff0
xcoeff1back to summary
private double xcoeff1
xcoeff2back to summary
private double xcoeff2
xcoeff3back to summary
private double xcoeff3
xmaxback to summary
private double xmax
xminback to summary
private double xmin
y0back to summary
private double y0
y1back to summary
private double y1
ycoeff0back to summary
private double ycoeff0
ycoeff1back to summary
private double ycoeff1
ycoeff2back to summary
private double ycoeff2
ycoeff3back to summary
private double ycoeff3
YforT1back to summary
private double YforT1
YforT2back to summary
private double YforT2
YforT3back to summary
private double YforT3

Constructor Detail

Order3back to summary
public Order3(double x0, double y0, double cx0, double cy0, double cx1, double cy1, double x1, double y1, int direction)

Method Detail

addInstanceback to summary
public static void addInstance(Vector<E> curves, double x0, double y0, double cx0, double cy0, double cx1, double cy1, double x1, double y1, int direction)
controlPointStringback to summary
public String controlPointString()

Overrides com.sun.javafx.geom.Curve.controlPointString.

Annotations
@Override
dXforTback to summary
public double dXforT(double t, int deriv)

Implements abstract com.sun.javafx.geom.Curve.dXforT.

Annotations
@Override
dYforTback to summary
public double dYforT(double t, int deriv)

Implements abstract com.sun.javafx.geom.Curve.dYforT.

Annotations
@Override
enlargeback to summary
public void enlarge(RectBounds r)

Implements abstract com.sun.javafx.geom.Curve.enlarge.

Annotations
@Override
getCX0back to summary
public double getCX0()
getCX1back to summary
public double getCX1()
getCY0back to summary
public double getCY0()
getCY1back to summary
public double getCY1()
getHorizontalParamsback to summary
public static int getHorizontalParams(double c0, double cp0, double cp1, double c1, double[] ret)
getOrderback to summary
public int getOrder()

Implements abstract com.sun.javafx.geom.Curve.getOrder.

Annotations
@Override
getReversedCurveback to summary
public Curve getReversedCurve()

Implements abstract com.sun.javafx.geom.Curve.getReversedCurve.

Annotations
@Override
getSegmentback to summary
public int getSegment(float[] coords)

Implements abstract com.sun.javafx.geom.Curve.getSegment.

Annotations
@Override
getSubCurveback to summary
public Curve getSubCurve(double ystart, double yend, int dir)

Implements abstract com.sun.javafx.geom.Curve.getSubCurve.

Annotations
@Override
getX0back to summary
public double getX0()

Implements abstract com.sun.javafx.geom.Curve.getX0.

Annotations
@Override
getX1back to summary
public double getX1()

Implements abstract com.sun.javafx.geom.Curve.getX1.

Annotations
@Override
getXBotback to summary
public double getXBot()

Implements abstract com.sun.javafx.geom.Curve.getXBot.

Annotations
@Override
getXMaxback to summary
public double getXMax()

Implements abstract com.sun.javafx.geom.Curve.getXMax.

Annotations
@Override
getXMinback to summary
public double getXMin()

Implements abstract com.sun.javafx.geom.Curve.getXMin.

Annotations
@Override
getXTopback to summary
public double getXTop()

Implements abstract com.sun.javafx.geom.Curve.getXTop.

Annotations
@Override
getY0back to summary
public double getY0()

Implements abstract com.sun.javafx.geom.Curve.getY0.

Annotations
@Override
getY1back to summary
public double getY1()

Implements abstract com.sun.javafx.geom.Curve.getY1.

Annotations
@Override
getYBotback to summary
public double getYBot()

Implements abstract com.sun.javafx.geom.Curve.getYBot.

Annotations
@Override
getYTopback to summary
public double getYTop()

Implements abstract com.sun.javafx.geom.Curve.getYTop.

Annotations
@Override
insertback to summary
public static void insert(Vector<E> curves, double[] tmp, double x0, double y0, double cx0, double cy0, double cx1, double cy1, double x1, double y1, int direction)
nextVerticalback to summary
public double nextVertical(double t0, double t1)

Implements abstract com.sun.javafx.geom.Curve.nextVertical.

Annotations
@Override
refineback to summary
public double refine(double a, double b, double c, double target, double t)
solveQuadraticback to summary
public static int solveQuadratic(double[] eqn, double[] res)

[A double version of what is in QuadCurve2D...] Solves the quadratic whose coefficients are in the eqn array and places the non-complex roots into the res array, returning the number of roots. The quadratic solved is represented by the equation:

    eqn = {C, B, A};
    ax^2 + bx + c = 0
A return value of -1 is used to distinguish a constant equation, which might be always 0 or never 0, from an equation that has no zeroes.
Parameters
eqn:double[]

the specified array of coefficients to use to solve the quadratic equation

res:double[]

the array that contains the non-complex roots resulting from the solution of the quadratic equation

Returns:int

the number of roots, or -1 if the equation is a constant.

splitback to summary
public static void split(double[] coords, int pos, double t)
TforYback to summary
public double TforY(double y)

Implements abstract com.sun.javafx.geom.Curve.TforY.

Annotations
@Override
XforTback to summary
public double XforT(double t)

Implements abstract com.sun.javafx.geom.Curve.XforT.

Annotations
@Override
XforYback to summary
public double XforY(double y)

Implements abstract com.sun.javafx.geom.Curve.XforY.

Annotations
@Override
YforTback to summary
public double YforT(double t)

Implements abstract com.sun.javafx.geom.Curve.YforT.

Annotations
@Override