Table of Contents

Struct CelestialFrame

Namespace
KSP.Sim
Assembly
Assembly-CSharp.dll
public struct CelestialFrame
Inherited Members
Extension Methods

Fields

X

public Vector3d X

Field Value

Vector3d

Y

public Vector3d Y

Field Value

Vector3d

Z

public Vector3d Z

Field Value

Vector3d

Properties

Rotation

public QuaternionD Rotation { get; }

Property Value

QuaternionD

Methods

LocalToWorld(Vector3d)

public Vector3d LocalToWorld(Vector3d r)

Parameters

r Vector3d

Returns

Vector3d

OrbitalFrame(double, double, double, ref CelestialFrame)

public static void OrbitalFrame(double LAN, double Inc, double ArgPe, ref CelestialFrame cf)

Parameters

LAN double
Inc double
ArgPe double
cf CelestialFrame

PlanetaryFrame(double, double, double, ref CelestialFrame)

public static void PlanetaryFrame(double ra, double dec, double rot, ref CelestialFrame cf)

Parameters

ra double
dec double
rot double
cf CelestialFrame

RotateFrame(QuaternionD, ref CelestialFrame)

public static void RotateFrame(QuaternionD rotation, ref CelestialFrame cf)

Parameters

rotation QuaternionD
cf CelestialFrame

SetFrame(double, double, double, ref CelestialFrame)

public static void SetFrame(double A, double B, double C, ref CelestialFrame cf)

Parameters

A double
B double
C double
cf CelestialFrame

WorldToLocal(Vector3d)

public Vector3d WorldToLocal(Vector3d r)

Parameters

r Vector3d

Returns

Vector3d