/external/jmonkeyengine/engine/src/core/com/jme3/math/ |
CurveAndSurfaceMath.java | 33 List<Float> knots = nurbSpline.getKnots();
local 39 float val = weights[i] * CurveAndSurfaceMath.computeBaseFunctionValue(i, nurbSpline.getBasisFunctionDegree(), u, knots);
56 * @param knots
57 * the nurbs' knots
65 public static void interpolate(float u, float v, List<List<Vector4f>> controlPoints, List<Float>[] knots,
75 * CurveAndSurfaceMath.computeBaseFunctionValue(i, basisVFunctionDegree, v, knots[1])
76 * CurveAndSurfaceMath.computeBaseFunctionValue(j, basisUFunctionDegree, u, knots[0]);
85 * This method prepares the knots to be used. If the knots represent non-uniform B-splines (first and last knot values are being
86 * repeated) it leads to NaN results during calculations. This method adds a small number to each of such knots to avoid NaN's. [all...] |
Spline.java | 27 private List<Float> knots; //knots of NURBS spline field in class:Spline 99 * @param nurbKnots the nurb's spline knots 105 throw new IllegalArgumentException("The knots values cannot decrease!"); 112 this.knots = nurbKnots; 119 CurveAndSurfaceMath.prepareNurbsKnots(knots, basisFunctionDegree); 370 return knots.get(basisFunctionDegree - 1); 379 return knots.get(weights.length); 383 * This method returns NURBS' spline knots. 384 * @return NURBS' spline knots [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/analysis/polynomials/ |
PolynomialSplineFunction.java | 64 /** Spline segment interval delimiters (knots). Size is n+1 for n segments. */ 65 private final double knots[]; field in class:PolynomialSplineFunction 87 * The constructor copies both arrays and assigns the copies to the knots 90 * @param knots spline segment interval delimiters 93 * @throws IllegalArgumentException if knots has length less than 2, 94 * <code>polynomials.length != knots.length - 1 </code>, or the knots array 98 public PolynomialSplineFunction(double knots[], PolynomialFunction polynomials[]) { 99 if (knots.length < 2) { 102 2, knots.length) [all...] |
/external/eigen/unsupported/Eigen/src/Splines/ |
SplineFitting.h | 25 * The knots are computed as 31 * where \f$p\f$ is the degree and \f$m+1\f$ the number knots 36 * \param[out] knots The output knot vector. 41 void KnotAveraging(const KnotVectorType& parameters, DenseIndex degree, KnotVectorType& knots) 43 knots.resize(parameters.size()+degree+1); 46 knots(j+degree) = parameters.segment(j,degree).mean(); 48 knots.segment(0,degree+1) = KnotVectorType::Zero(degree+1); 49 knots.segment(knots.size()-degree-1,degree+1) = KnotVectorType::Ones(degree+1); 123 KnotVectorType knots; local [all...] |
Spline.h | 71 * \param knots The spline's knot vector. 75 Spline(const OtherVectorType& knots, const OtherArrayType& ctrls) : m_knots(knots), m_ctrls(ctrls) {} 83 m_knots(spline.knots()), m_ctrls(spline.ctrls()) {} 86 * \brief Returns the knots of the underlying spline. 88 const KnotVectorType& knots() const { return m_knots; } function in class:Eigen::Spline 91 * \brief Returns the knots of the underlying spline. 190 static DenseIndex Span(typename SplineTraits<Spline>::Scalar u, DenseIndex degree, const typename SplineTraits<Spline>::KnotVectorType& knots); 202 * \param knots The underlying spline's knot vector. 204 static BasisVectorType BasisFunctions(Scalar u, DenseIndex degree, const KnotVectorType& knots); [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/scene/shape/ |
Surface.java | 16 * This class represents a surface described by knots, weights and control points.
25 private List<Float>[] knots; //knots of the surface
field in class:Surface 34 * @param nurbKnots knots of the surface
47 this.knots = nurbKnots;
61 * @param nurbKnots knots of the surface
96 CurveAndSurfaceMath.interpolate(u, v, controlPoints, knots, basisUFunctionDegree, basisVFunctionDegree, interpolationResult);
179 * This method returns the knots for specified dimension (U knots - value: '0',
180 * V knots - value: '1'). [all...] |
/external/eigen/unsupported/test/ |
splines.cpp | 38 RowVectorXd knots(12); 39 knots << 0, 63 return Spline<double, 2, Dynamic>(knots, ctrls); 69 RowVectorXd knots(11); 70 knots << 0, 93 return Spline<double, 3, Dynamic>(knots, ctrls); 138 RowVectorXd u = spline.knots();
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/analysis/interpolation/ |
BivariateRealGridInterpolator.java | 36 * @param fval The values of the interpolation points on all the grid knots:
|
TrivariateRealGridInterpolator.java | 39 * @param fval the values of the interpolation points on all the grid knots:
|
BicubicSplineInterpolator.java | 85 // Partial derivatives with respect to x at the grid knots 94 // Partial derivatives with respect to y at the grid knots
|
SmoothingBicubicSplineInterpolator.java | 118 // Partial derivatives with respect to x at the grid knots 127 // Partial derivatives with respect to y at the grid knots
|
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/noise/ |
ShaderUtils.java | 155 throw new RuntimeException("Spline has too few knots.");
172 public static final float[] spline(final float x, final float[][] knots) {
173 float[] retval = new float[knots.length];
174 for (int i = 0; i < knots.length; i++) {
175 retval[i] = ShaderUtils.spline(x, knots[i]);
|
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/curves/ |
CurvesHelper.java | 272 //loading the knots
273 List<Float>[] knots = new List[2];
local 275 for (int i = 0; i < knots.length; ++i) {
281 knots[i] = new ArrayList<Float>(knotsAmount);
283 knots[i].add(Float.valueOf(blenderInputStream.readFloat()));
324 if (knots[1] == null) {//creating the curve
325 Spline nurbSpline = new Spline(controlPoints.get(0), knots[0]);
336 Surface nurbSurface = Surface.createNurbsSurface(controlPoints, knots, resolu, resolv, orderU, orderV);
|
/external/opencv/ml/src/ |
ml_inner_functions.cpp | 188 float* knots = (float*)cvAlloc( len * sizeof(float) ); local 195 knots[0] = probs[0]; 197 knots[i] = knots[i - 1] + probs[i]; 202 if ( CV_MAT_ELEM(*univals, float, 0, i) <= knots[j] ) 209 cvFree(&knots); [all...] |
/device/asus/flo/camera/mm-image-codec/qexif/ |
qexif.h | 440 // "N" - Knots 546 // "N" - Knots [all...] |
/device/lge/hammerhead/camera/mm-image-codec/qexif/ |
qexif.h | 440 // "N" - Knots 546 // "N" - Knots [all...] |
/device/moto/shamu/camera/mm-image-codec/qexif/ |
qexif.h | 440 // "N" - Knots 546 // "N" - Knots [all...] |
/external/pdfium/core/src/fxcodec/lcms2/lcms2-2.6/src/ |
cmslut.c | 749 // function on knots. returns TRUE if all ok, FALSE otherwise. 870 // function on knots. returns TRUE if all ok, FALSE otherwise. [all...] |
/hardware/qcom/camera/mm-image-codec/qexif/ |
qexif.h | 440 // "N" - Knots 546 // "N" - Knots [all...] |
/device/moto/shamu/camera/QCamera/HAL2/core/inc/ |
QCamera_Intf.h | [all...] |
/external/libexif/libexif/ |
exif-tag.c | 140 "miles per hour, and knots."), ESL_GPS}, [all...] |
/external/libexif/po/ |
en_AU.po | [all...] |
en_GB.po | [all...] |
/external/libexif/ |
ChangeLog | 87 * Changed "knots" to more clear "nautical miles" (Ubuntu Launchpad bug [all...] |
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/ |
ExifInterface.java | 689 public static final String KNOTS = "N"; [all...] |