Beispiel #1
0
        private double DegreeOfInstability(SolarSystem solarSystem)
        {
            var x1 = solarSystem.Ferengi.CoordinateX;
            var y1 = solarSystem.Ferengi.CoordinateY;
            var x2 = solarSystem.Betazoid.CoordinateX;
            var y2 = solarSystem.Betazoid.CoordinateY;
            var x3 = solarSystem.Vulcan.CoordinateX;
            var y3 = solarSystem.Vulcan.CoordinateY;

            return(Perimeter.Triangle(x1, y1, x2, y2, x3, y3));
        }