Searched defs:nurbKnots (Results 1 - 2 of 2) sorted by relevance
/external/jmonkeyengine/engine/src/core/com/jme3/scene/shape/ |
H A D | Surface.java | 34 * @param nurbKnots knots of the surface
40 private Surface(List<List<Vector4f>> controlPoints, List<Float>[] nurbKnots,
argument 42 this.validateInputData(controlPoints, nurbKnots, uSegments, vSegments);
47 this.knots = nurbKnots;
49 CurveAndSurfaceMath.prepareNurbsKnots(nurbKnots[0], basisUFunctionDegree);
50 if (nurbKnots[1] != null) {
52 CurveAndSurfaceMath.prepareNurbsKnots(nurbKnots[1], basisVFunctionDegree);
61 * @param nurbKnots knots of the surface
68 public static final Surface createNurbsSurface(List<List<Vector4f>> controlPoints, List<Float>[] nurbKnots,
argument 70 Surface result = new Surface(controlPoints, nurbKnots, uSegment 258 validateInputData(List<List<Vector4f>> controlPoints, List<Float>[] nurbKnots, int uSegments, int vSegments) argument [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/math/ |
H A D | Spline.java | 57 throw new IllegalArgumentException("To create NURBS spline use: 'public Spline(Vector3f[] controlPoints, float[] weights, float[] nurbKnots)' constructor!"); 86 throw new IllegalArgumentException("To create NURBS spline use: 'public Spline(Vector3f[] controlPoints, float[] weights, float[] nurbKnots)' constructor!"); 99 * @param nurbKnots the nurb's spline knots 101 public Spline(List<Vector4f> controlPoints, List<Float> nurbKnots) { argument 103 for(int i=0;i<nurbKnots.size()-1;++i) { 104 if(nurbKnots.get(i)>nurbKnots.get(i+1)) { 112 this.knots = nurbKnots; 113 this.basisFunctionDegree = nurbKnots.size() - weights.length;
|
Completed in 59 milliseconds