Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Organize SystemBodies classes into appropriately named modules #4

Open
AdamAngle opened this issue Dec 16, 2021 · 0 comments
Open

Organize SystemBodies classes into appropriately named modules #4

AdamAngle opened this issue Dec 16, 2021 · 0 comments

Comments

@AdamAngle
Copy link
Owner

Right now, the SunBody and PlanetBody classes are located inside the SystemBodies module. However, there is also an unused module named OrbitalBody that could be deleted. The PlanetBody could actually inherit certain things from the OrbitalBody class (since it orbits), then have the Sun and Planets be abstracted away into only containing their specific JPL Horizons values and rendering routines, which allows for other types of objects, like parabolic orbits (for comets), to be created.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant