public Sun() { NumericEccentricity = 0; TurnAroundTime = 0; PlanetMass = CelestialBody.SUN_G / CelestialBody.GRAVITATIONCONSTANT; Weights = new Vector2(1, 0); Diameter = 500000000; Initialize(); VelocityApproximation = new RK5(Velocity, CelestialBody.Delta); VelocityApproximation.f = a; PositionApproximation = new Euler(Position, CelestialBody.Delta); PositionApproximation.f = v; }
public Venus() { NumericEccentricity = 0.0067f; TurnAroundTime = 19414166.4f; PlanetMass = 4.869E24; Weights = new Vector2(0.99f, 0.01f); Diameter = 50000000; Initialize(); VelocityApproximation = new RK5(Velocity, CelestialBody.Delta); VelocityApproximation.f = a; PositionApproximation = new Euler(Position, CelestialBody.Delta); PositionApproximation.f = v; Color = Color.Yellow; }
public Pluto() { NumericEccentricity = 0.2488f; TurnAroundTime = 7831375200.0f; PlanetMass = 1.27E22; Weights = new Vector2(0.9f, 0.4f); Diameter = 50000000; Initialize(); VelocityApproximation = new RK5(Velocity, CelestialBody.Delta); VelocityApproximation.f = a; PositionApproximation = new Euler(Position, CelestialBody.Delta); PositionApproximation.f = v; Color = Color.SlateGray; }
public Mercury() { NumericEccentricity = 0.20563069f; TurnAroundTime = 7600521.6f; PlanetMass = 3.285E23; Weights = new Vector2(0.99f, 0.06f); Diameter = 50000000; Initialize(); VelocityApproximation = new RK5(Velocity, CelestialBody.Delta); VelocityApproximation.f = a; PositionApproximation = new Euler(Position, CelestialBody.Delta); PositionApproximation.f = v; Color = Color.Gray; }
public Neptun() { NumericEccentricity = 0.0113f; TurnAroundTime = 5196817440.0f; PlanetMass = 1.024E26; Weights = new Vector2(0.95f, 0.2f); Diameter = 50000000; Initialize(); VelocityApproximation = new RK5(Velocity, CelestialBody.Delta); VelocityApproximation.f = a; PositionApproximation = new Euler(Position, CelestialBody.Delta); PositionApproximation.f = v; Color = Color.CornflowerBlue; }
public Uranus() { NumericEccentricity = 0.0472f; TurnAroundTime = 2649370896.0f; PlanetMass = 8.683E25; Weights = new Vector2(0.99f, 0.06f); Diameter = 50000000; Initialize(); VelocityApproximation = new RK5(Velocity, CelestialBody.Delta); VelocityApproximation.f = a; PositionApproximation = new Euler(Position, CelestialBody.Delta); PositionApproximation.f = v; Color = Color.CadetBlue; }
public Earth() { NumericEccentricity = 0.0167f; TurnAroundTime = 31558118.4f; PlanetMass = 5.972E24; Weights = new Vector2(0.99f, 0.01f); Diameter = 50000000; Initialize(); VelocityApproximation = new RK5(Velocity, CelestialBody.Delta); VelocityApproximation.f = a; PositionApproximation = new Euler(Position, CelestialBody.Delta); PositionApproximation.f = v; Color = Color.Blue; }
public Mars() { NumericEccentricity = 0.0935f; TurnAroundTime = 59355072.0f; PlanetMass = 6.39E23; Weights = new Vector2(0.99f, 0.01f); Diameter = 50000000; Initialize(); VelocityApproximation = new RK5(Velocity, CelestialBody.Delta); VelocityApproximation.f = a; PositionApproximation = new Euler(Position, CelestialBody.Delta); PositionApproximation.f = v; Color = Color.Orange; }