Uses of Interface
com.badlogic.gdx.math.Vector
-
Packages that use Vector Package Description com.badlogic.gdx.math -
-
Uses of Vector in com.badlogic.gdx.math
Classes in com.badlogic.gdx.math with type parameters of type Vector Modifier and Type Class Description class
Bezier<T extends Vector<T>>
Implementation of the Bezier curve.class
BSpline<T extends Vector<T>>
class
CatmullRomSpline<T extends Vector<T>>
interface
Vector<T extends Vector<T>>
Encapsulates a general vector.Classes in com.badlogic.gdx.math that implement Vector Modifier and Type Class Description class
Vector2
Encapsulates a 2D vector.class
Vector3
Encapsulates a 3D vector.class
Vector4
Encapsulates a 4D vector.Fields in com.badlogic.gdx.math declared as Vector Modifier and Type Field Description T[]
BSpline. controlPoints
T[]
CatmullRomSpline. controlPoints
Methods in com.badlogic.gdx.math with type parameters of type Vector Modifier and Type Method Description static <T extends Vector<T>>
TBSpline. calculate(T out, float t, T[] points, int degree, boolean continuous, T tmp)
Calculates the n-degree b-spline value for the given position (t).static <T extends Vector<T>>
TBSpline. calculate(T out, int i, float u, T[] points, int degree, boolean continuous, T tmp)
Calculates the n-degree b-spline value for the given span (i) at the given position (u).static <T extends Vector<T>>
TCatmullRomSpline. calculate(T out, float t, T[] points, boolean continuous, T tmp)
Calculates the catmullrom value for the given position (t).static <T extends Vector<T>>
TCatmullRomSpline. calculate(T out, int i, float u, T[] points, boolean continuous, T tmp)
Calculates the catmullrom value for the given span (i) at the given position (u).static <T extends Vector<T>>
TBezier. cubic(T out, float t, T p0, T p1, T p2, T p3, T tmp)
Cubic Bezier curvestatic <T extends Vector<T>>
TBSpline. cubic(T out, float t, T[] points, boolean continuous, T tmp)
Calculates the cubic b-spline value for the given position (t).static <T extends Vector<T>>
TBSpline. cubic(T out, int i, float u, T[] points, boolean continuous, T tmp)
Calculates the cubic b-spline value for the given span (i) at the given position (u).static <T extends Vector<T>>
TBezier. cubic_derivative(T out, float t, T p0, T p1, T p2, T p3, T tmp)
Cubic Bezier curve derivativestatic <T extends Vector<T>>
TBSpline. cubic_derivative(T out, float t, T[] points, boolean continuous, T tmp)
Calculates the cubic b-spline derivative for the given position (t).static <T extends Vector<T>>
TBSpline. cubic_derivative(T out, int i, float u, T[] points, boolean continuous, T tmp)
Calculates the cubic b-spline derivative for the given span (i) at the given position (u).static <T extends Vector<T>>
TBSpline. derivative(T out, float t, T[] points, int degree, boolean continuous, T tmp)
Calculates the n-degree b-spline derivative for the given position (t).static <T extends Vector<T>>
TBSpline. derivative(T out, int i, float u, T[] points, int degree, boolean continuous, T tmp)
Calculates the n-degree b-spline derivative for the given span (i) at the given position (u).static <T extends Vector<T>>
TCatmullRomSpline. derivative(T out, float t, T[] points, boolean continuous, T tmp)
Calculates the derivative of the catmullrom spline for the given position (t).static <T extends Vector<T>>
TCatmullRomSpline. derivative(T out, int i, float u, T[] points, boolean continuous, T tmp)
Calculates the derivative of the catmullrom spline for the given span (i) at the given position (u).static <T extends Vector<T>>
TBezier. linear(T out, float t, T p0, T p1, T tmp)
Simple linear interpolationstatic <T extends Vector<T>>
TBezier. linear_derivative(T out, float t, T p0, T p1, T tmp)
Simple linear interpolation derivativestatic <T extends Vector<T>>
TBezier. quadratic(T out, float t, T p0, T p1, T p2, T tmp)
Quadratic Bezier curvestatic <T extends Vector<T>>
TBezier. quadratic_derivative(T out, float t, T p0, T p1, T p2, T tmp)
Quadratic Bezier curve derivativeMethods in com.badlogic.gdx.math with parameters of type Vector Modifier and Type Method Description static <T extends Vector<T>>
TBSpline. calculate(T out, float t, T[] points, int degree, boolean continuous, T tmp)
Calculates the n-degree b-spline value for the given position (t).static <T extends Vector<T>>
TBSpline. calculate(T out, int i, float u, T[] points, int degree, boolean continuous, T tmp)
Calculates the n-degree b-spline value for the given span (i) at the given position (u).static <T extends Vector<T>>
TCatmullRomSpline. calculate(T out, float t, T[] points, boolean continuous, T tmp)
Calculates the catmullrom value for the given position (t).static <T extends Vector<T>>
TCatmullRomSpline. calculate(T out, int i, float u, T[] points, boolean continuous, T tmp)
Calculates the catmullrom value for the given span (i) at the given position (u).static <T extends Vector<T>>
TBSpline. cubic(T out, float t, T[] points, boolean continuous, T tmp)
Calculates the cubic b-spline value for the given position (t).static <T extends Vector<T>>
TBSpline. cubic(T out, int i, float u, T[] points, boolean continuous, T tmp)
Calculates the cubic b-spline value for the given span (i) at the given position (u).static <T extends Vector<T>>
TBSpline. cubic_derivative(T out, float t, T[] points, boolean continuous, T tmp)
Calculates the cubic b-spline derivative for the given position (t).static <T extends Vector<T>>
TBSpline. cubic_derivative(T out, int i, float u, T[] points, boolean continuous, T tmp)
Calculates the cubic b-spline derivative for the given span (i) at the given position (u).static <T extends Vector<T>>
TBSpline. derivative(T out, float t, T[] points, int degree, boolean continuous, T tmp)
Calculates the n-degree b-spline derivative for the given position (t).static <T extends Vector<T>>
TBSpline. derivative(T out, int i, float u, T[] points, int degree, boolean continuous, T tmp)
Calculates the n-degree b-spline derivative for the given span (i) at the given position (u).static <T extends Vector<T>>
TCatmullRomSpline. derivative(T out, float t, T[] points, boolean continuous, T tmp)
Calculates the derivative of the catmullrom spline for the given position (t).static <T extends Vector<T>>
TCatmullRomSpline. derivative(T out, int i, float u, T[] points, boolean continuous, T tmp)
Calculates the derivative of the catmullrom spline for the given span (i) at the given position (u).Bezier
Bezier. set(T... points)
Bezier
Bezier. set(T[] points, int offset, int length)
BSpline
BSpline. set(T[] controlPoints, int degree, boolean continuous)
CatmullRomSpline
CatmullRomSpline. set(T[] controlPoints, boolean continuous)
Constructors in com.badlogic.gdx.math with parameters of type Vector Constructor Description Bezier(T... points)
Bezier(T[] points, int offset, int length)
BSpline(T[] controlPoints, int degree, boolean continuous)
CatmullRomSpline(T[] controlPoints, boolean continuous)
-