Package | Description |
---|---|
com.badlogic.gdx.math |
Modifier and Type | Class and 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.
|
Modifier and Type | Class and Description |
---|---|
class |
Vector2
Encapsulates a 2D vector.
|
class |
Vector3
Encapsulates a 3D vector.
|
Modifier and Type | Field and Description |
---|---|
T[] |
CatmullRomSpline.controlPoints |
T[] |
BSpline.controlPoints |
Modifier and Type | Method and Description |
---|---|
static <T extends Vector<T>> |
CatmullRomSpline.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>> |
BSpline.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>> |
CatmullRomSpline.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>> |
BSpline.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>> |
BSpline.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>> |
Bezier.cubic_derivative(T out,
float t,
T p0,
T p1,
T p2,
T p3,
T tmp)
Cubic Bezier curve derivative
|
static <T extends Vector<T>> |
BSpline.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>> |
BSpline.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>> |
Bezier.cubic(T out,
float t,
T p0,
T p1,
T p2,
T p3,
T tmp)
Cubic Bezier curve
|
static <T extends Vector<T>> |
BSpline.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>> |
CatmullRomSpline.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>> |
BSpline.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>> |
CatmullRomSpline.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>> |
BSpline.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>> |
Bezier.linear_derivative(T out,
float t,
T p0,
T p1,
T tmp)
Simple linear interpolation derivative
|
static <T extends Vector<T>> |
Bezier.linear(T out,
float t,
T p0,
T p1,
T tmp)
Simple linear interpolation
|
static <T extends Vector<T>> |
Bezier.quadratic_derivative(T out,
float t,
T p0,
T p1,
T p2,
T tmp)
Quadratic Bezier curve derivative
|
static <T extends Vector<T>> |
Bezier.quadratic(T out,
float t,
T p0,
T p1,
T p2,
T tmp)
Quadratic Bezier curve
|
Modifier and Type | Method and Description |
---|---|
static <T extends Vector<T>> |
CatmullRomSpline.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>> |
BSpline.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>> |
CatmullRomSpline.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>> |
BSpline.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>> |
BSpline.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>> |
BSpline.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>> |
BSpline.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>> |
BSpline.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>> |
CatmullRomSpline.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>> |
BSpline.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>> |
CatmullRomSpline.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>> |
BSpline.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).
|
Bezier |
Bezier.set(T... points) |
CatmullRomSpline |
CatmullRomSpline.set(T[] controlPoints,
boolean continuous) |
BSpline |
BSpline.set(T[] controlPoints,
int degree,
boolean continuous) |
Bezier |
Bezier.set(T[] points,
int offset,
int length) |
Constructor and Description |
---|
Bezier(T... points) |
Bezier(T[] points,
int offset,
int length) |
BSpline(T[] controlPoints,
int degree,
boolean continuous) |
CatmullRomSpline(T[] controlPoints,
boolean continuous) |
Copyright © 2015. All rights reserved.