/SolarSystem/Body.cs
https://bitbucket.org/efouts/solarsystem · C# · 21 lines · 20 code · 1 blank · 0 comment · 0 complexity · b18c54916f3e9aebdccc250f1e3a4d27 MD5 · raw file
- using MathNet.Numerics.LinearAlgebra.Double;
- using MathNet.Numerics.LinearAlgebra.Generic;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
-
- namespace SolarSystem
- {
- public class Body
- {
- public String Name { get; set; }
- public Double Radius { get; set; }
- public Double Mass { get; set; }
- public Vector<Double> Position { get; set; }
- public Vector<Double> Velocity { get; set; }
- public Double Rotation { get; set; }
- public Double RotationVelocity { get; set; }
- }
- }