예제 #1
0
        /// <summary>
        ///     Converts the CurveArray to the CurveLoop.
        /// </summary>
        /// <param name="curveArray"></param>
        /// <returns></returns>
        public static CurveLoop ToCurveLoop(this CurveArray curveArray)
        {
            if (curveArray is null)
            {
                throw new ArgumentNullException(nameof(curveArray));
            }

            return(curveArray.ToCurveList().ToCurveLoop());
        }