/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/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) 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...] |
Spline.h | 56 * \param knots The spline's knot vector. 60 Spline(const OtherVectorType& knots, const OtherArrayType& ctrls) : m_knots(knots), m_ctrls(ctrls) {} 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); [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/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...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
org.eclipse.core.resources_3.6.1.R36x_v20101007-1215.jar | |
org.eclipse.osgi_3.6.1.R36x_v20100806.jar | |
org.eclipse.osgi_3.6.2.R36x_v20101103.jar | |
/prebuilts/tools/common/eclipse/ |
org.eclipse.osgi_3.6.2.R36x_v20110210.jar | |