Lines Matching refs:knots
16 * This class represents a surface described by knots, weights and control points.
25 private List<Float>[] knots; //knots of the 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').
181 * @param dim an integer specifying if the U or V knots are required
182 * @return an array of knots
185 return knots[dim];
201 return knots[0].get(basisUFunctionDegree - 1);
209 return knots[0].get(knots[0].size() - basisUFunctionDegree);
217 return knots[1].get(basisVFunctionDegree - 1);
225 return knots[1].get(knots[1].size() - basisVFunctionDegree);
254 * @param nurbKnots knots of the surface
273 throw new IllegalArgumentException("Nurb surface should have two rows of knots!");
278 throw new IllegalArgumentException("The knots' values cannot decrease!");