Esempio n. 1
0
        /// <summary>
        /// Needs to calculate Length of the curve. If you have it - create this class passing 'length' parameter.
        /// </summary>
        /// <param name="t"></param>
        /// <returns></returns>
        public Percent PercentAt(double t)
        {
            var     subLength = Crv.GetLength(new Interval(Domain.T0, t));
            Percent p         = subLength / Length;

            return(p);
        }