Example #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Evaluator1D"/> class.
 /// </summary>
 /// <param name="points">The points.</param>
 public Evaluator1D(int points)
 {
     //    Create a single line of points.
     ControlPoints.CreateGrid(points, 1);
     Name = "1D Evaluator (Bezier Curve)";
     Transformation.RotateX = 180;
 }
Example #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="NurbsSurface"/> class.
 /// </summary>
 public NurbsSurface()
 {
     Name = "NURBS Surface";
     ControlPoints.CreateGrid(4, 4);
 }
Example #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="NurbsCurve"/> class.
 /// </summary>
 public NurbsCurve()
 {
     Name = "NURBS Curve";
     ControlPoints.CreateGrid(4, 1);
 }
Example #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Evaluator2D"/> class.
 /// </summary>
 /// <param name="u">The u.</param>
 /// <param name="v">The v.</param>
 public Evaluator2D(int u, int v)
 {
     ControlPoints.CreateGrid(u, v);
     Name = "2D Evaluator (Bezier Patch)";
     Transformation.RotateX = 180;
 }