public FlattenCurves(IVertexSource vertexSource) { m_curve3 = new Curve3(); m_curve4 = new Curve4(); VertexSource = vertexSource; lastX = (0.0); lastY = (0.0); }