/// <summary> /// </summary> public static bool Parse(string start, string end, out NuGenPlotInterval result) { result = NuGenPlotInterval.Infinite; double bufferStart = 0.0; double bufferEnd = 0.0; bool parseSucceded = NuGenPlotInterval.Parse(start, out bufferStart) && NuGenPlotInterval.Parse(end, out bufferEnd); result.Start = bufferStart; result.End = bufferEnd; return parseSucceded; }
/// <summary> /// </summary> public static bool Parse(string start, string end, out NuGenPlotInterval result) { result = NuGenPlotInterval.Infinite; double bufferStart = 0.0; double bufferEnd = 0.0; bool parseSucceded = NuGenPlotInterval.Parse(start, out bufferStart) && NuGenPlotInterval.Parse(end, out bufferEnd); result.Start = bufferStart; result.End = bufferEnd; return(parseSucceded); }
private NuGenFormula(string formel, NuGenPlotInterval intervall, Color frb, bool draw, NuGenFormula[] children, double param) { _formel = formel; _children = new NuGenFormulaCollectionBase(); if (children != null) _children.AddRange(children); this._param = param; this._formulaElement = NuGenInterpreter.ParseInfixExpression(formel); this._interval = intervall; this.frb = frb; this._paintValidate = new NuGenPlotInterval(0.0, 0.0); this.draw = draw; _pth = new GraphicsPath(); _pthasympt = new GraphicsPath(); }
private NuGenFormula(string formel, NuGenPlotInterval intervall, Color frb, bool draw, NuGenFormula[] children, double param) { _formel = formel; _children = new NuGenFormulaCollectionBase(); if (children != null) { _children.AddRange(children); } this._param = param; this._formulaElement = NuGenInterpreter.ParseInfixExpression(formel); this._interval = intervall; this.frb = frb; this._paintValidate = new NuGenPlotInterval(0.0, 0.0); this.draw = draw; _pth = new GraphicsPath(); _pthasympt = new GraphicsPath(); }
/// <summary> /// Initializes a new instance of the <see cref="NuGenFormula"/> class. /// </summary> public NuGenFormula(string formel, NuGenPlotInterval intervall, Color frb, bool draw, double param) : this(formel, intervall, frb, draw, null, param) { this.isparam = true; }
/// <summary> /// Initializes a new instance of the <see cref="NuGenFormula"/> class. /// </summary> public NuGenFormula(string formel, NuGenPlotInterval intervall, Color frb) : this(formel, intervall, frb, true, null, 0.0) { this.isparam = false; }
/// <summary> /// Initializes a new instance of the <see cref="NuGenFormula"/> class. /// </summary> public NuGenFormula(string formel, NuGenPlotInterval intervall, Color frb, bool draw, NuGenFormula[] children) : this(formel, intervall, frb, draw, children, 0.0) { this.isparam = children == null; }