private void updateLineM() { LineM.Clear(); for (double i = 0; i <= 3.2; i += 0.1) { LineM.Add(new KeyValuePair <double, double>(i, c * Math.Pow(i, 2))); } }
protected void updateLines() { LineN.Clear(); LineM.Clear(); LineI.Clear(); for (double i = 0.1; i <= 1.2; i += 0.1) { LineN.Add(new KeyValuePair <double, double>(CalculateM(i) * CalculateN(i), CalculateN(i))); LineM.Add(new KeyValuePair <double, double>(CalculateM(i) * CalculateN(i), CalculateM(i))); LineI.Add(new KeyValuePair <double, double>(CalculateM(i) * CalculateN(i), i)); } }
public LineVM(Point midPoint) { _lineM = new LineM(midPoint); }