C# 클래스 kOS.Suffixed.OrbitInfo

상속: kOS.Suffixed.SpecialValue
파일 보기 프로젝트 열기: KSP-KOS/KOS 1 사용 예제들

공개 메소드들

메소드 설명
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