/SolarSystem/Body.cs

https://bitbucket.org/efouts/solarsystem · C# · 21 lines · 20 code · 1 blank · 0 comment · 0 complexity · b18c54916f3e9aebdccc250f1e3a4d27 MD5 · raw file

  1. using MathNet.Numerics.LinearAlgebra.Double;
  2. using MathNet.Numerics.LinearAlgebra.Generic;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.Linq;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. namespace SolarSystem
  9. {
  10. public class Body
  11. {
  12. public String Name { get; set; }
  13. public Double Radius { get; set; }
  14. public Double Mass { get; set; }
  15. public Vector<Double> Position { get; set; }
  16. public Vector<Double> Velocity { get; set; }
  17. public Double Rotation { get; set; }
  18. public Double RotationVelocity { get; set; }
  19. }
  20. }