예제 #1
0
        private static void TriangleSphere()
        {
            var startingPoints = OctoSphereTri().ToList();
            var list           = new ConcurrentBag <Line>();

            foreach (var startingPoint in startingPoints)
            {
                var sphere2 = new CausticSphere(8);
                var line    = sphere2.Start(startingPoint);
                list.Add(line);
            }
            foreach (Line line in list)
            {
                Writer(line, @"C:\Workspaces\etc\szakdoga\CAUSTICSPHERETriangle4", $"PointTableOctave.txt");
            }
        }
예제 #2
0
        private static void SphereCaustic2(double alpha)
        {
            var startingPoints = SphereStart(alpha, 500, 500);
            var list           = new ConcurrentBag <Line>();

            foreach (var startingPoint in startingPoints)
            {
                var sphere2 = new CausticSphere();
                var line    = sphere2.Start(startingPoint);
                list.Add(line);
            }
            foreach (Line line in list)
            {
                Writer(line, @"C:\Workspaces\etc\szakdoga\CAUSTICSPHERE6", $"PointTable{alpha}.txt");
            }
        }