HomeSort by relevance Sort by last modified time
    Searched defs:Spline (Results 1 - 5 of 5) sorted by null

  /frameworks/base/core/java/android/util/
Spline.java 20 * Performs spline interpolation given a set of control points.
23 public final class Spline {
28 private Spline(float[] x, float[] y, float[] m) {
35 * Creates a monotone cubic spline from a given set of control points.
37 * The spline is guaranteed to pass through each control point exactly.
41 * This function uses the Fritsch-Carlson method for computing the spline parameters.
52 public static Spline createMonotoneCubicSpline(float[] x, float[] y) {
99 return new Spline(x, y, m);
104 * Clamps X to the domain of the spline.
123 // We know this will be within the spline due to the boundary tests
    [all...]
  /external/eigen/unsupported/Eigen/src/Splines/
Spline.h 19 * \class Spline class
20 * \brief A class representing multi-dimensional spline curves.
23 * point of the B-spline is associated with a basis function
35 class Spline
38 typedef _Scalar Scalar; /*!< The spline curve's scalar type. */
39 enum { Dimension = _Dim /*!< The spline curve's dimension. */ };
40 enum { Degree = _Degree /*!< The spline curve's degree. */ };
42 /** \brief The point type the spline is representing. */
43 typedef typename SplineTraits<Spline>::PointType PointType;
46 typedef typename SplineTraits<Spline>::KnotVectorType KnotVectorType
    [all...]
  /external/jmonkeyengine/engine/src/core/com/jme3/math/
Spline.java 17 public class Spline implements Savable {
27 private List<Float> knots; //knots of NURBS spline
28 private float[] weights; //weights of NURBS spline
29 private int basisFunctionDegree; //degree of NURBS spline basis function (computed automatically)
37 public Spline() {
41 * Create a spline
42 * @param splineType the type of the spline @see {SplineType}
43 * @param controlPoints an array of vector to use as control points of the spline
52 * @param curveTension the tension of the spline
53 * @param cycle true if the spline cycle
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/ui/
Spline.java 29 public class Spline {
39 private static final String LOGTAG = "Spline";
44 public Spline() {
48 public Spline(Spline spline) {
50 for (int i = 0; i < spline.mPoints.size(); i++) {
51 ControlPoint p = spline.mPoints.elementAt(i);
54 if (spline.mCurrentControlPoint == p) {
76 case Spline.RED
412 Spline spline = new Spline(); local
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/
FilterShowActivity.java 73 import com.android.gallery3d.filtershow.ui.Spline;
337 Spline.setCurveHandle(curveHandle, curveHandleSize);
338 Spline.setCurveWidth((int) getPixelsFromDip(3));
    [all...]

Completed in 440 milliseconds