/// <summary>Generates a 3D PointCloud for a cone.</summary> /// <summary> /// Generates a 3D PointCloud for a cuboid /// </summary> /// <param name="Name">PointCloud 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="TextureBitmap">Texture bitmap. Null uses no texture</param> /// <returns></returns> public static PointCloud Cuboid(string Name, float u, float v, int numberOfPoints, System.Drawing.Color color, System.Drawing.Bitmap TextureBitmap) { PointCloud points = PointCloud.CreateCuboid(u, v, numberOfPoints); PointCloud.SetColorOfListTo(points, color); return(points); }