C# Класс Trajectories.Trajectory

Наследование: UnityEngine.MonoBehaviour
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
AddPatch IEnumerable
FindOrbitBodyIntersection double
GetWorldPositionAtUT UnityEngine.Vector3d
computeTrajectoryIncrement IEnumerable
createOrbitFromState Orbit

Открытые методы

Метод Описание
ComputeTrajectory ( Vessel vessel, Trajectories.DescentProfile profile, bool incremental ) : void
ComputeTrajectory ( Vessel vessel, float AoA, bool incremental ) : void
FixedUpdate ( ) : void
GetGroundAltitude ( CelestialBody body, Vector3 relativePosition ) : double
InvalidateAerodynamicModel ( ) : void
RealMaxAtmosphereAltitude ( CelestialBody body ) : double
SetTarget ( CelestialBody body = null, Vector3 relativePosition = null ) : void
Start ( ) : void
Update ( ) : void
calculateRotatedPosition ( CelestialBody body, Vector3 relativePosition, double time ) : Vector3

Приватные методы

Метод Описание
AddPatch ( VesselState startingState, Trajectories.DescentProfile profile ) : IEnumerable
FindOrbitBodyIntersection ( Orbit orbit, double startTime, double endTime, double bodyAltitude ) : double
GetWorldPositionAtUT ( Orbit orbit, double ut ) : UnityEngine.Vector3d
computeTrajectoryIncrement ( Vessel vessel, Trajectories.DescentProfile profile ) : IEnumerable
createOrbitFromState ( VesselState state ) : Orbit

Описание методов

ComputeTrajectory() публичный Метод

public ComputeTrajectory ( Vessel vessel, Trajectories.DescentProfile profile, bool incremental ) : void
vessel Vessel
profile Trajectories.DescentProfile
incremental bool
Результат void

ComputeTrajectory() публичный Метод

public ComputeTrajectory ( Vessel vessel, float AoA, bool incremental ) : void
vessel Vessel
AoA float
incremental bool
Результат void

FixedUpdate() публичный Метод

public FixedUpdate ( ) : void
Результат void

GetGroundAltitude() публичный статический Метод

public static GetGroundAltitude ( CelestialBody body, Vector3 relativePosition ) : double
body CelestialBody
relativePosition Vector3
Результат double

InvalidateAerodynamicModel() публичный Метод

public InvalidateAerodynamicModel ( ) : void
Результат void

RealMaxAtmosphereAltitude() публичный статический Метод

public static RealMaxAtmosphereAltitude ( CelestialBody body ) : double
body CelestialBody
Результат double

SetTarget() публичный Метод

public SetTarget ( CelestialBody body = null, Vector3 relativePosition = null ) : void
body CelestialBody
relativePosition Vector3
Результат void

Start() публичный Метод

public Start ( ) : void
Результат void

Update() публичный Метод

public Update ( ) : void
Результат void

calculateRotatedPosition() публичный статический Метод

public static calculateRotatedPosition ( CelestialBody body, Vector3 relativePosition, double time ) : Vector3
body CelestialBody
relativePosition Vector3
time double
Результат Vector3