Exemple #1
0
        /// <summary>
        /// Convert the standard vector to arrays of int
        /// </summary>
        /// <returns>Arrays of int</returns>
        public MDMatch[][] ToArrayOfArray()
        {
            int size = Size;

            MDMatch[][] res = new MDMatch[size][];
            for (int i = 0; i < size; i++)
            {
                using (OclPlatformInfo v = this[i])
                {
                    res[i] = v.ToArray();
                }
            }
            return(res);
        }
Exemple #2
0
        /// <summary>
        /// Convert the standard vector to arrays of int
        /// </summary>
        /// <returns>Arrays of int</returns>
        public Rectangle[][] ToArrayOfArray()
        {
            int size = Size;

            Rectangle[][] res = new Rectangle[size][];
            for (int i = 0; i < size; i++)
            {
                using (OclPlatformInfo v = this[i])
                {
                    res[i] = v.ToArray();
                }
            }
            return(res);
        }