/external/jmonkeyengine/engine/src/core/com/jme3/cinematic/ |
D | MotionPath.java | 62 private Spline spline = new Spline(); field in MotionPath 109 for (Iterator<Vector3f> it = spline.getControlPoints().iterator(); it.hasNext();) { in attachDebugNode() 116 switch (spline.getType()) { in attachDebugNode() 137 Geometry lineGeometry = new Geometry("line", new Curve(spline, 0)); in CreateLinearPath() 147 Geometry lineGeometry = new Geometry("line", new Curve(spline, 10)); in CreateCatmullRomPath() 155 oc.write(spline, "spline", null); in write() 161 spline = (Spline) in.readSavable("spline", null); in read() 173 distance = distance % spline.getTotalLength(); in getWayPointIndexForDistance() 175 for (Float len : spline.getSegmentsLength()) { in getWayPointIndexForDistance() 182 return new Vector2f((float) spline.getControlPoints().size() - 1, 1.0f); in getWayPointIndexForDistance() [all …]
|
/external/jmonkeyengine/engine/src/core/com/jme3/scene/shape/ |
D | Curve.java | 51 private Spline spline; field in Curve 77 public Curve(Spline spline, int nbSubSegments) { in Curve() argument 79 this.spline = spline; in Curve() 80 switch (spline.getType()) { in Curve() 98 float[] array = new float[((spline.getControlPoints().size() - 1) * nbSubSegments + 1) * 3]; in createCatmullRomMesh() 99 short[] indices = new short[(spline.getControlPoints().size() - 1) * nbSubSegments * 2]; in createCatmullRomMesh() 102 for (Iterator<Vector3f> it = spline.getControlPoints().iterator(); it.hasNext();) { in createCatmullRomMesh() 112 spline.interpolate((float) j / nbSubSegments, cptCP, temp); in createCatmullRomMesh() 126 for (int j = 0; j < (spline.getControlPoints().size() - 1) * nbSubSegments; j++) { in createCatmullRomMesh() 152 int centerPointsAmount = (spline.getControlPoints().size() + 2) / 3; in createBezierMesh() [all …]
|
/external/eigen/unsupported/test/ |
D | splines.cpp | 99 Spline3d spline = spline3d(); in eval_spline3d() local 128 Vector3d pt = spline(u(i)); in eval_spline3d() 136 Spline3d spline = spline3d(); in eval_spline3d_onbrks() local 138 RowVectorXd u = spline.knots(); in eval_spline3d_onbrks() 156 Vector3d pt = spline(u(i)); in eval_spline3d_onbrks() 163 Spline2d spline = closed_spline2d(); in eval_closed_spline2d() local 196 Vector2d pt = spline(u(i)); in eval_closed_spline2d() 214 const Spline2d spline = SplineFitting<Spline2d>::Interpolate(points,3); in check_global_interpolation2d() local 218 PointType pt = spline( chord_lengths(i) ); in check_global_interpolation2d() 226 const Spline2d spline = SplineFitting<Spline2d>::Interpolate(points,3,chord_lengths); in check_global_interpolation2d() local [all …]
|
/external/eigen/unsupported/Eigen/src/Splines/ |
D | Spline.h | 82 Spline(const Spline<Scalar, Dimension, OtherDegree>& spline) : in Spline() argument 83 m_knots(spline.knots()), m_ctrls(spline.ctrls()) {} in Spline() 292 …void derivativesImpl(const SplineType& spline, typename SplineType::Scalar u, DenseIndex order, De… in derivativesImpl() argument 302 const DenseIndex p = spline.degree(); in derivativesImpl() 303 const DenseIndex span = spline.span(u); in derivativesImpl() 310 …const BasisDerivativeType basis_func_ders = spline.template basisFunctionDerivatives<DerivativeOrd… in derivativesImpl() 316 …const Block<const ControlPointVectorType,Dimension,Order> ctrl_pts(spline.ctrls(),0,span-p,Dimensi… in derivativesImpl() 350 …void basisFunctionDerivativesImpl(const SplineType& spline, typename SplineType::Scalar u, DenseIn… in basisFunctionDerivativesImpl() argument 358 const KnotVectorType& U = spline.knots(); in basisFunctionDerivativesImpl() 360 const DenseIndex p = spline.degree(); in basisFunctionDerivativesImpl() [all …]
|
/external/eigen/unsupported/Eigen/ |
D | Splines | 16 * \defgroup Splines_Module Spline and spline fitting module 18 * This module provides a simple multi-dimensional spline class while 19 * offering most basic functionality to fit a spline to point sets.
|
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/noise/ |
D | ShaderUtils.java | 133 public static final float spline(float x, final float[] knot) { in spline() method in ShaderUtils 172 public static final float[] spline(final float x, final float[][] knots) { in spline() method in ShaderUtils 175 retval[i] = ShaderUtils.spline(x, knots[i]); in spline()
|
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/curves/ |
D | CurvesHelper.java | 240 Spline spline = new Spline(SplineType.Bezier, controlPoints, 0, false); in loadBezierCurve() local 241 Curve curve = new Curve(spline, resolution); in loadBezierCurve() 560 Spline spline = new Spline(SplineType.Bezier, controlPoints, 0, false); in loadTaperObject() local 562 return new Curve(spline, resolution); in loadTaperObject()
|
/external/jmonkeyengine/ |
D | NOTICE | 1054 * Ipo (interpolation object) consists of several b-spline curves (connected 3rd 1746 * The spline inverse kinematic constraint. Available for blender 2.50+.
|