public void Draw(IDrawer d) { d.DrawStartPoint(curveGetPoint(0)); for (double i = 1; i < n; ++i) { d.DrawIntermediatePoints(curveGetPoint(i / n), curveGetPoint((i + 1) / n)); } d.DrawFinishPoint(curveGetPoint(1)); }