Lines Matching defs:this
10 * notice, this list of conditions and the following disclaimer.
13 * notice, this list of conditions and the following disclaimer in the
17 * may be used to endorse or promote products derived from this software
20 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
29 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
64 * @param controlPoints the control points to use to create this curve
68 this(new Spline(Spline.SplineType.CatmullRom, controlPoints, 10, false), nbSubSegments);
79 this.spline = spline;
82 this.createCatmullRomMesh(nbSubSegments);
85 this.createBezierMesh(nbSubSegments);
88 this.createNurbMesh(nbSubSegments);
92 this.createLinearMesh();
135 this.setMode(Mesh.Mode.Lines);
136 this.setBuffer(VertexBuffer.Type.Position, 3, array);
137 this.setBuffer(VertexBuffer.Type.Index, 2, indices);//(spline.getControlPoints().size() - 1) * nbSubSegments * 2
138 this.updateBound();
139 this.updateCounts();
143 * This method creates the Bezier path for this curve.
187 this.setMode(Mesh.Mode.Lines);
188 this.setBuffer(VertexBuffer.Type.Position, 3, array);
189 this.setBuffer(VertexBuffer.Type.Index, 2, indices);
190 this.updateBound();
191 this.updateCounts();
195 * This method creates the Nurb path for this curve.
224 this.setMode(Mesh.Mode.Lines);
225 this.setBuffer(VertexBuffer.Type.Position, 3, array);
226 this.setBuffer(VertexBuffer.Type.Index, 2, indices);
227 this.updateBound();
228 this.updateCounts();
257 this.setMode(Mesh.Mode.Lines);
258 this.setBuffer(VertexBuffer.Type.Position, 3, array);
259 this.setBuffer(VertexBuffer.Type.Index, 2, indices);
260 this.updateBound();
261 this.updateCounts();
265 * This method returns the length of the curve.