Esempio n. 1
0
 public FixedUCurve(GeneralSweptCurve parent, double u, double vmin, double vmax)
 {
     this.vmin   = vmin;
     this.vmax   = vmax;
     this.u      = u;
     this.parent = parent;
 }
Esempio n. 2
0
 protected FixedUCurve(SerializationInfo info, StreamingContext context) : base(info, context)
 {
     parent = (GeneralSweptCurve)info.GetValue("Parent", typeof(GeneralSweptCurve));
     u      = (double)info.GetValue("U", typeof(double));
     vmin   = (double)info.GetValue("Vmin", typeof(double));
     vmax   = (double)info.GetValue("Vmax", typeof(double));
 }