Class ArcCurveFit
- java.lang.Object
-
- androidx.constraintlayout.core.motion.utils.CurveFit
-
- androidx.constraintlayout.core.motion.utils.ArcCurveFit
-
public class ArcCurveFit extends CurveFit
This provides provides a curve fit system that stitches the x,y path together with quarter ellipses
-
-
Field Summary
Fields Modifier and Type Field Description static intARC_START_FLIPstatic intARC_START_HORIZONTALstatic intARC_START_LINEARstatic intARC_START_VERTICAL
-
Constructor Summary
Constructors Constructor Description ArcCurveFit(int[] arcModes, double[] time, double[][] y)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidgetPos(double t, double[] v)voidgetPos(double t, float[] v)doublegetPos(double t, int j)voidgetSlope(double t, double[] v)doublegetSlope(double t, int j)double[]getTimePoints()
-
-
-
Field Detail
-
ARC_START_VERTICAL
public static final int ARC_START_VERTICAL
- See Also:
- Constant Field Values
-
ARC_START_HORIZONTAL
public static final int ARC_START_HORIZONTAL
- See Also:
- Constant Field Values
-
ARC_START_FLIP
public static final int ARC_START_FLIP
- See Also:
- Constant Field Values
-
ARC_START_LINEAR
public static final int ARC_START_LINEAR
- See Also:
- Constant Field Values
-
-
Method Detail
-
getTimePoints
public double[] getTimePoints()
- Specified by:
getTimePointsin classCurveFit
-
-