/external/eigen/unsupported/Eigen/src/Splines/ |
H A D | 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) argument 45 knots.resize(parameters.size()+degree+1); 48 knots(j+degree) = parameters.segment(j,degree).mean(); 50 knots.segment(0,degree+1) = KnotVectorType::Zero(degree+1); 51 knots.segment(knots.size()-degree-1,degree+1) = KnotVectorType::Ones(degree+1); 126 KnotVectorType knots; local [all...] |
H A D | Spline.h | 56 * \param knots The spline's knot vector. 60 Spline(const OtherVectorType& knots, const OtherArrayType& ctrls) : m_knots(knots), m_ctrls(ctrls) {} argument 68 m_knots(spline.knots()), m_ctrls(spline.ctrls()) {} 71 * \brief Returns the knots of the underlying spline. 73 const KnotVectorType& knots() const { return m_knots; } function in class:Eigen::Spline 76 * \brief Returns the knots of the underlying spline. 175 static DenseIndex Span(typename SplineTraits<Spline>::Scalar u, DenseIndex degree, const typename SplineTraits<Spline>::KnotVectorType& knots); 187 * \param knots The underlying spline's knot vector. 189 static BasisVectorType BasisFunctions(Scalar u, DenseIndex degree, const KnotVectorType& knots); 198 Span( typename SplineTraits< Spline<_Scalar, _Dim, _Degree> >::Scalar u, DenseIndex degree, const typename SplineTraits< Spline<_Scalar, _Dim, _Degree> >::KnotVectorType& knots) argument 211 BasisFunctions( typename Spline<_Scalar, _Dim, _Degree>::Scalar u, DenseIndex degree, const typename Spline<_Scalar, _Dim, _Degree>::KnotVectorType& knots) argument [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/math/ |
H A D | CurveAndSurfaceMath.java | 33 List<Float> knots = nurbSpline.getKnots();
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,
argument 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 t 94 prepareNurbsKnots(List<Float> knots, int basisFunctionDegree) argument 123 computeBaseFunctionValue(int i, int k, float t, List<Float> knots) argument [all...] |
H A D | 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/jmonkeyengine/engine/src/core/com/jme3/scene/shape/ |
H A D | 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 [all...] |
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/noise/ |
H A D | ShaderUtils.java | 155 throw new RuntimeException("Spline has too few knots.");
172 public static final float[] spline(final float x, final float[][] knots) {
argument 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/opencv/ml/src/ |
H A D | 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);
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
H A D | org.eclipse.core.resources_3.6.1.R36x_v20101007-1215.jar | META-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ... |
H A D | org.eclipse.osgi_3.6.1.R36x_v20100806.jar | META-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ... |
H A D | org.eclipse.osgi_3.6.2.R36x_v20101103.jar | META-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ... |