Exemplo n.º 1
0
        /// <summary>
        /// Returns all edges of the given axis.
        ////
        public double[] Edges(IAxis axis)
        {
            int b = axis.Bins;

            double[] bounds = new double[b + 1];
            for (int i = 0; i < b; i++)
            {
                bounds[i] = axis.BinLowerEdge(i);
            }
            bounds[b] = axis.UpperEdge;
            return(bounds);
        }