C# Класс kOS.Suffixed.OrbitInfo

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

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

Метод Описание
GetPositionAtUT ( kOS.Suffixed.TimeSpan timeStamp ) : kOS.Suffixed.Vector

Get the position of this thing in this orbit at the given time. Note that it does NOT take into account any encounters or maneuver nodes - it assumes the current orbit patch remains followed forever.

GetVelocityAtUT ( kOS.Suffixed.TimeSpan timeStamp ) : OrbitableVelocity

Get the velocity pairing of this thing in this orbit at the given time. Note that it does NOT take into account any encounters or maneuver nodes - it assumes the current orbit patch remains followed forever.

OrbitInfo ( ) : System
OrbitInfo ( Orbit orb, SharedObjects sharedObj ) : System
OrbitInfo ( Orbitable orb, SharedObjects sharedObj ) : System
ToString ( ) : string

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

Метод Описание
GetHasNextPatch ( ) : BooleanValue

Find out whether or not the orbit has a next patch.

GetNextPatch ( ) : OrbitInfo

Return the next OrbitInfo after this one (i.e. transitional encounter)

GetNextPatchETA ( ) : ScalarValue

Returns the ETA of when the nextpatch will happen

InitializeSuffixes ( ) : void

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

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

Get the position of this thing in this orbit at the given time. Note that it does NOT take into account any encounters or maneuver nodes - it assumes the current orbit patch remains followed forever.
public GetPositionAtUT ( kOS.Suffixed.TimeSpan timeStamp ) : kOS.Suffixed.Vector
timeStamp kOS.Suffixed.TimeSpan The universal time to query for
Результат kOS.Suffixed.Vector

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

Get the velocity pairing of this thing in this orbit at the given time. Note that it does NOT take into account any encounters or maneuver nodes - it assumes the current orbit patch remains followed forever.
public GetVelocityAtUT ( kOS.Suffixed.TimeSpan timeStamp ) : OrbitableVelocity
timeStamp kOS.Suffixed.TimeSpan The universal time to query for
Результат OrbitableVelocity

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

public OrbitInfo ( ) : System
Результат System

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

public OrbitInfo ( Orbit orb, SharedObjects sharedObj ) : System
orb Orbit
sharedObj SharedObjects
Результат System

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

public OrbitInfo ( Orbitable orb, SharedObjects sharedObj ) : System
orb Orbitable
sharedObj SharedObjects
Результат System

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

public ToString ( ) : string
Результат string