C# 클래스 SpaceSim.Proxies.MassiveBodyProxy

Massive body proxy used for doing orbital approximations and traces.
상속: SpaceSim.Physics.GravitationalBodyBase, IMassiveBody
파일 보기 프로젝트 열기: zlynn1990/SpaceSim 1 사용 예제들

공개 메소드들

메소드 설명
ComputeBoundingBox ( ) : RectangleD
FixedUpdate ( SpaceSim.Physics.TimeStep timeStep ) : void
GetAtmosphericDensity ( double altitude ) : double
GetAtmosphericViscosity ( double altitude ) : double
GetIspMultiplier ( double altitude ) : double
GetRelativeHeight ( DVector2 position ) : double
GetSurfaceGravity ( ) : double
MassiveBodyProxy ( DVector2 position, DVector2 velocity, IMassiveBody massiveBody ) : System.Drawing
Update ( double dt ) : void
Visibility ( RectangleD cameraBounds ) : double

메소드 상세

ComputeBoundingBox() 공개 메소드

public ComputeBoundingBox ( ) : RectangleD
리턴 VectorMath.RectangleD

FixedUpdate() 공개 메소드

public FixedUpdate ( SpaceSim.Physics.TimeStep timeStep ) : void
timeStep SpaceSim.Physics.TimeStep
리턴 void

GetAtmosphericDensity() 공개 메소드

public GetAtmosphericDensity ( double altitude ) : double
altitude double
리턴 double

GetAtmosphericViscosity() 공개 메소드

public GetAtmosphericViscosity ( double altitude ) : double
altitude double
리턴 double

GetIspMultiplier() 공개 메소드

public GetIspMultiplier ( double altitude ) : double
altitude double
리턴 double

GetRelativeHeight() 공개 메소드

public GetRelativeHeight ( DVector2 position ) : double
position VectorMath.DVector2
리턴 double

GetSurfaceGravity() 공개 메소드

public GetSurfaceGravity ( ) : double
리턴 double

MassiveBodyProxy() 공개 메소드

public MassiveBodyProxy ( DVector2 position, DVector2 velocity, IMassiveBody massiveBody ) : System.Drawing
position VectorMath.DVector2
velocity VectorMath.DVector2
massiveBody IMassiveBody
리턴 System.Drawing

Update() 공개 메소드

public Update ( double dt ) : void
dt double
리턴 void

Visibility() 공개 메소드

public Visibility ( RectangleD cameraBounds ) : double
cameraBounds VectorMath.RectangleD
리턴 double