/// <summary>Generates a 3D Model for a cone.</summary>


        /// <summary>
        /// Generates a 3D Model for a cuboid
        /// </summary>
        /// <param name="Name">Model name</param>
        /// <param name="u">Length of the lower part</param>
        /// <param name="v">Length of the high part</param>
        /// <param name="numberOfPoints">Number of points to use in circumference</param>
        /// <param name="Color">Color vector</param>
        /// <param name="Texture">Texture bitmap. Null uses no texture</param>
        /// <returns></returns>
        public static Model Cuboid(string Name, double u, double v, int numberOfPoints, System.Drawing.Color color, System.Drawing.Bitmap Texture)
        {
            PointCloudVertices points = PointCloudVertices.CreateCuboid(u, v, numberOfPoints);

            PointCloudVertices.SetColorOfListTo(points, color);

            Model myModel = new Model("Cuboid");

            myModel.PointCloud = points.ToPointCloud();

            return(myModel);
        }