public FixedUCurve(GeneralSweptCurve parent, double u, double vmin, double vmax) { this.vmin = vmin; this.vmax = vmax; this.u = u; this.parent = parent; }
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)); }