Exemplo n.º 1
0
 public AKT_EllipseNurbs(AKT_NurbsPoint[] pnts, int degree, double[] knots, double[] knotsreparam, double length, AKT_Plane plane, double r1, double r2, AKT_Interval dom)
     : base(pnts, degree, knots, knotsreparam, length, CurveType.Ellipse, dom)
 {
     this.plane = plane;
     this.r1    = r1;
     this.r2    = r2;
 }
Exemplo n.º 2
0
 public AKT_CircleNurbs(AKT_NurbsPoint[] pnts, int degree, double[] knots, double[] knotsreparam, double length, AKT_Plane plane, double r, AKT_Interval dom)
     : base(pnts, degree, knots, knotsreparam, length, plane, r, r, dom)
 {
     this.CurveType |= NurbsCurves.CurveType.Circle;
 }
Exemplo n.º 3
0
 public AKT_ArcNurbs(AKT_NurbsPoint[] pnts, int degree, double[] knots, double[] knotsreparam, double length, AKT_Plane plane, double r, double AngStart, double AngEnd, AKT_Interval dom)
     : base(pnts, degree, knots, knotsreparam, length, plane, r, r, dom)
 {
     this.AngStart   = AngStart;
     this.AngEnd     = AngEnd;
     this.CurveType |= NurbsCurves.CurveType.Arc;
 }