Exemplo n.º 1
0
        static void Main(string[] args)
        {
            Console.WriteLine("Hello World!");

            var igloo = new Igloo();

            igloo.Build();

            StlWriter.Create(@"C:\Temp\igloo.stl", igloo.Triangles, igloo.Vertexes);

            Console.WriteLine("Done!");
        }
Exemplo n.º 2
0
            public bool TestUse(Igloo obj)
            {
                if (!TestRepaired(obj))
                {
                    return(false);
                }

                if (obj.UseCount > 0)
                {
                    return(false);
                }

                if (obj.NumberOfSpots() < 2)
                {
                    return(false);
                }

                return(true);
            }