C# 클래스 kOS.Suffixed.BodyTarget

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

공개 메소드들

메소드 설명
AltitudeFromPosition ( kOS.Suffixed.Vector position ) : ScalarValue

Interpret the vector given as a 3D position, and return the altitude above sea level of this body.

BodyTarget ( ) : System
BodyTarget ( CelestialBody body, SharedObjects shareObj ) : System
BodyTarget ( string name, SharedObjects shareObj ) : System
Dump ( ) : Dump
Equals ( object obj ) : bool
GeoCoordinatesFromPosition ( kOS.Suffixed.Vector position ) : GeoCoordinates

Interpret the vector given as a 3D position, and return the geocoordinates directly underneath it on this body.

GetDistance ( ) : double
GetHashCode ( ) : int
GetName ( ) : StringValue
GetNorthVector ( ) : kOS.Suffixed.Vector
GetOrbitAtUT ( double desiredUT ) : Orbit
GetPosition ( ) : kOS.Suffixed.Vector
GetPositionAtUT ( kOS.Suffixed.TimeSpan timeStamp ) : kOS.Suffixed.Vector
GetSuffix ( string suffixName ) : ISuffixResult
GetUpVector ( ) : kOS.Suffixed.Vector
GetVelocities ( ) : OrbitableVelocity
GetVelocitiesAtUT ( kOS.Suffixed.TimeSpan timeStamp ) : OrbitableVelocity
LoadDump ( Dump dump ) : void
SetSharedObjects ( SharedObjects sharedObjects ) : void
ToString ( ) : string
operator ( ) : bool

보호된 메소드들

메소드 설명
Equals ( BodyTarget other ) : bool

비공개 메소드들

메소드 설명
BodyInitializeSuffixes ( ) : void
RawAngularVelFromRelative ( Vector3 angularVelFromKSP ) : kOS.Suffixed.Vector

Annoyingly, KSP returns CelestialBody.angularVelociy in a frame of reference relative to the ship facing instead of the universe facing. This would be wonderful if that was their philosophy everywhere, but it's not - its just a weird exception for this one case. This transforms it back into raw universe axes again:

메소드 상세

AltitudeFromPosition() 공개 메소드

Interpret the vector given as a 3D position, and return the altitude above sea level of this body.
public AltitudeFromPosition ( kOS.Suffixed.Vector position ) : ScalarValue
position kOS.Suffixed.Vector Vector to use as the 3D position in ship-raw coords
리턴 ScalarValue

BodyTarget() 공개 메소드

public BodyTarget ( ) : System
리턴 System

BodyTarget() 공개 메소드

public BodyTarget ( CelestialBody body, SharedObjects shareObj ) : System
body CelestialBody
shareObj SharedObjects
리턴 System

BodyTarget() 공개 메소드

public BodyTarget ( string name, SharedObjects shareObj ) : System
name string
shareObj SharedObjects
리턴 System

Dump() 공개 메소드

public Dump ( ) : Dump
리턴 Dump

Equals() 보호된 메소드

protected Equals ( BodyTarget other ) : bool
other BodyTarget
리턴 bool

Equals() 공개 메소드

public Equals ( object obj ) : bool
obj object
리턴 bool

GeoCoordinatesFromPosition() 공개 메소드

Interpret the vector given as a 3D position, and return the geocoordinates directly underneath it on this body.
public GeoCoordinatesFromPosition ( kOS.Suffixed.Vector position ) : GeoCoordinates
position kOS.Suffixed.Vector Vector to use as the 3D position in ship-raw coords
리턴 GeoCoordinates

GetDistance() 공개 메소드

public GetDistance ( ) : double
리턴 double

GetHashCode() 공개 메소드

public GetHashCode ( ) : int
리턴 int

GetName() 공개 메소드

public GetName ( ) : StringValue
리턴 StringValue

GetNorthVector() 공개 메소드

public GetNorthVector ( ) : kOS.Suffixed.Vector
리턴 kOS.Suffixed.Vector

GetOrbitAtUT() 공개 메소드

public GetOrbitAtUT ( double desiredUT ) : Orbit
desiredUT double
리턴 Orbit

GetPosition() 공개 메소드

public GetPosition ( ) : kOS.Suffixed.Vector
리턴 kOS.Suffixed.Vector

GetPositionAtUT() 공개 메소드

public GetPositionAtUT ( kOS.Suffixed.TimeSpan timeStamp ) : kOS.Suffixed.Vector
timeStamp kOS.Suffixed.TimeSpan
리턴 kOS.Suffixed.Vector

GetSuffix() 공개 메소드

public GetSuffix ( string suffixName ) : ISuffixResult
suffixName string
리턴 ISuffixResult

GetUpVector() 공개 메소드

public GetUpVector ( ) : kOS.Suffixed.Vector
리턴 kOS.Suffixed.Vector

GetVelocities() 공개 메소드

public GetVelocities ( ) : OrbitableVelocity
리턴 OrbitableVelocity

GetVelocitiesAtUT() 공개 메소드

public GetVelocitiesAtUT ( kOS.Suffixed.TimeSpan timeStamp ) : OrbitableVelocity
timeStamp kOS.Suffixed.TimeSpan
리턴 OrbitableVelocity

LoadDump() 공개 메소드

public LoadDump ( Dump dump ) : void
dump Dump
리턴 void

SetSharedObjects() 공개 메소드

public SetSharedObjects ( SharedObjects sharedObjects ) : void
sharedObjects SharedObjects
리턴 void

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

operator() 공개 정적인 메소드

public static operator ( ) : bool
리턴 bool