public BezierCurve(params Vector2[] points) { if (points == null) throw new ArgumentNullException("points", "Must point to a valid list of Vector2 structures."); this.points = new List<Vector2>(points); this.Parallel = 0.0f; }