Class in Zendir.Universe | Inherits from UniverseSystem

Declaration

class SolarSystem;

Description

Container class for spawning in all Universe models and simulation objects. This will handle the creation of the planets, environments and the epoch of the simulation.


Properties

DeclaredDescription
CoordinateFrameThe base coordinate frame used by the Universe system
CurrentDateThe current date of the simulation including the current simulated time
CurrentElapsedThe elapsed time since the simulation started.
CurrentSecondsThe current number of seconds the Simulation has been executed for.
EpochThe starting Epoch (UTC) of the simulation
In_SunPlanetStateMsgThe message that stores the state of the Sun in the simulation
NumCelestialBodiesThe number of celestial bodies that exist in the simulation.
Out_EpochMsgThe message storing the current date of the simulation including the current simulatedtime.
Out_SpaceWeatherDataMsgThe space weather message if it has been created by the NRLMSIS model
Out_TimeMsgA reference to the time message and the epoch and coordinate framesof the simulation.
ZeroBaseThe zero base (what is set to 0,0,0) in coordinates
InheritedDescription
IsEnabledIs true if the object is currently enabled.
NameThe display name or tag of this object.

Methods

DeclaredDescription
ContainsBodyChecks if a gravity body exists in the current simulation.
CreateAlbedoPlanetAverageCreates a new Albedo configuration around a certain planet using the averagealbedo planet model.
CreateAlbedoPlanetLookupCreates a new Albedo configuration around a certain planet using the lookupdata model that uses a valid file-path to load the data.
CreateAtmosphereExponentialCreates a new exponential atmosphere and attaches it to a planet in the Universe
CreateAtmosphereNRLMSISCreates the NRL-MSIS-E-90 Atmosphere around the Earth and attaches it to the planetin the Universe. The series of parameters provided are the solar flux and space weatherindices.
CreateMagneticFieldCenteredDipoleCreates a new centered dipole magnetic field and attaches it to the planet in the Universe
CreateMagneticFieldWMMCreates the World Magnetic Model (WMM) Magnetosphere around the Earthand connects up all the associated data with the right data.
CreateSolarSystemAttempts to create every single valid body in the Solar Systemthat can exist in the simulation.
GetBodyAttempts to find a celestial body if it exists. If it does not exists,it will create the celestial body from the name that is passed in.
GetCelestialBodiesReturns a list of all celestial bodies that exist in the simulation.
GetPlanetMessagesReturns the list of all the planet messages that exist in the simulation.This will not include the sun in this array.
GetPropagatedGeodeticsReturns an Vector3 array with the propagated geodetics.
IsLineOfSightDetermines if one object is in line of sight of another objecttaking in account all of the positions of the planets and theirradius.
RemoveAlbedoAttempts to remove an albedo from a planet if it currently does exist.This will ensure that it will not run if expected.
RemoveAtmosphereAttempts to remove an atmosphere from a planet if it currently does exist.This will ensure that it will not run if expected.
RemoveMagneticFieldAttempts to remove a magnetic field from a planet if it currently does exist.This will ensure that it will not run if expected.
RemoveSphericalHarmonicsRemoves the spherical harmonics from a planet if it currently does exist.
SetCoordinateFrameUpdates the coordinate frame of the simulation to a new coordinate,based on whether the frame is a zero base or not.
SetEarthSpaceWeatherCreates the space weather flags around earth and attaches to the NRLMSIS modelif it already exists.
SetEpochSets the Epoch of the Simulation and adjusts the timebased on the current seconds.
SetIntegratorTypeMethod to set the integrator type for all integratorobjects that exists.
SetSphericalHarmonicsSets the Spherical Harmonics level based on the degree and the bodybeing used. This will use some default values.
SetZeroBaseUpdates the state of the zero-base of the simulation origin based onwhere the simulation is currently located.
InheritedDescription
DestroyRemoves the current object from the simulation.