/// <summary> /// Create a spline </summary> </param> /// <param name="theSplineType"> the type of the spline <seealso cref= {CCSplineType} </seealso> /// <param name="theControlPoints"> a list of vector to use as control points of the spline </param> /// <param name="theIsClosed"> true if the spline cycle. </param> public CCSpline(CCSplineType theSplineType, IList <Vector3> theControlPoints, bool theIsClosed) : this(theSplineType, theIsClosed) { AddControlPoints(theControlPoints); }
/// <summary> /// Create a spline </summary> </param> /// <param name="theSplineType"> the type of the spline <seealso cref= {CCSplineType} </seealso> /// <param name="theIsClosed"> true if the spline cycle. </param> public CCSpline(CCSplineType theSplineType, bool theIsClosed) { _myIsClosed = theIsClosed; _myType = theSplineType; }