/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/chromium_org/media/base/ |
seekable_buffer_unittest.cc | 291 const int64 kNoTS = kNoTimestamp().ToInternalValue(); 298 { kNoTS, 1000000, 0, kNoTS }, 299 { kNoTS, 4000000, 0, kNoTS }, 300 { kNoTS, 8000000, 0, kNoTS }, 301 { kNoTS, 1000000, kWriteSize / 2, kNoTS }, 302 { kNoTS, 4000000, kWriteSize / 2, kNoTS } [all...] |
/external/eigen/unsupported/test/ |
splines.cpp | 34 RowVectorXd knots(12); 35 knots << 0, 59 return Spline<double, 2, Dynamic>(knots, ctrls); 65 RowVectorXd knots(11); 66 knots << 0, 89 return Spline<double, 3, Dynamic>(knots, ctrls); 134 RowVectorXd u = spline.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/chromium_org/cc/animation/ |
timing_function_unittest.cc | 40 // Tests that the bezier timing function works with knots with y not in (0, 1).
|
/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/chromium_org/third_party/gpsd/release-3.1/ |
gps.h | 880 #define AIS_SPEED_FAST_MOVER 1022 /* >= 102.2 knots */ [all...] |
/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...] |
/hardware/qcom/camera/mm-image-codec/qexif/ |
qexif.h | 440 // "N" - Knots 546 // "N" - Knots [all...] |
/device/lge/mako/camera/ |
QCamera_Intf.h | [all...] |
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/ |
ExifInterface.java | 689 public static final String KNOTS = "N"; [all...] |
/packages/apps/Camera2/src/com/android/camera/exif/ |
ExifInterface.java | 689 public static final String KNOTS = "N"; [all...] |
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/ |
ExifInterface.java | 689 public static final String KNOTS = "N"; [all...] |
/packages/apps/Launcher3/src/com/android/gallery3d/exif/ |
ExifInterface.java | 689 public static final String KNOTS = "N"; [all...] |
/packages/apps/Mms/src/com/android/mms/exif/ |
ExifInterface.java | 689 public static final String KNOTS = "N"; [all...] |
/external/svox/pico_resources/tools/LingwareBuilding/PicoLingware_source_files/textana/en-GB/ |
en-GB_tpp_net.utf | 2144 9202 "knots"
2147 9216 "knots"
[all...] |
/external/svox/pico_resources/tools/LingwareBuilding/PicoLingware_source_files/textana/en-US/ |
en-US_tpp_net.utf | 2377 10406 "knots"
2380 10420 "knots"
[all...] |
/external/chromium_org/third_party/sqlite/src/test/ |
fts1porter.test | [all...] |