Lines Matching defs:curve

54      * This method converts given curve structure into a list of geometries representing the curve. The list is used here because on object

57 * the curve structure
60 * @return a list of geometries repreenting a single curve object
70 LOGGER.warning("No front face in curve implemented yet!");//TODO: implement front face
73 LOGGER.warning("No back face in curve implemented yet!");//TODO: implement back face
175 if ((type & 0x01) != 0) {//Bezier curve
202 * This method loads the bezier curve.
204 * the translation of the curve
226 //creating the curve object
239 //creating curve
241 Curve curve = new Curve(spline, resolution);
242 if (bevelObject == null) {//creating a normal curve
243 Geometry curveGeometry = new Geometry(null, curve);
246 } else {//creating curve with bevel and taper shape
247 result = this.applyBevelAndTaper(curve, bevelObject, taperObject, smooth, blenderContext);
254 * This method loads the NURBS curve or surface.
265 * @return a list of geometries that represents the loaded NURBS curve or surface
324 if (knots[1] == null) {//creating the curve
349 * the taper curve length
351 * the percent of way along the whole taper curve
375 * This method applies bevel and taper objects to the curve.
376 * @param curve
377 * the curve we apply the objects to
386 * @return a list of geometries representing the beveled and/or tapered curve
388 protected List<Geometry> applyBevelAndTaper(Curve curve, List<Geometry> bevelObject, Curve taperObject,
390 float[] curvePoints = BufferUtils.getFloatArray(curve.getFloatBuffer(Type.Position));
392 float curveLength = curve.getLength();
477 //the amount of faces in the final mesh is the amount of edges in the bevel curve
480 //and multiplied by the amount of bevel curve repeats which is equal to the amount of vertices on the target curve
551 //creating the curve object
558 //return the first taper curve that has more than 3 control points
570 * This method returns the translation of the curve. The UP axis is taken into account here.
572 * the curve structure
573 * @return curve translation