C# 클래스 SpaceSim.Physics.GravitationalBodyBase

상속: IGravitationalBody
파일 보기 프로젝트 열기: zlynn1990/SpaceSim

보호된 프로퍼티들

프로퍼티 타입 설명
OrbitTrace OrbitTrace

공개 메소드들

메소드 설명
ComputeBoundingBox ( ) : RectangleD
FixedUpdate ( SpaceSim.Physics.TimeStep timeStep ) : void
GetRelativeAcceleration ( ) : DVector2
GetRelativeAltitude ( ) : double
GetRelativePitch ( ) : double
GetRelativeVelocity ( ) : DVector2
RenderGdi ( Graphics graphics, RectangleD cameraBounds ) : void
ResetAccelerations ( ) : void
ResetOrientation ( ) : void
ResolveGravitation ( IPhysicsBody other ) : void
SetGravitationalParent ( IMassiveBody parent ) : void
Update ( double dt ) : void
Visibility ( RectangleD cameraBounds ) : double

보호된 메소드들

메소드 설명
GravitationalBodyBase ( DVector2 position, DVector2 velocity, double pitch ) : System.Drawing

메소드 상세

ComputeBoundingBox() 공개 추상적인 메소드

public abstract ComputeBoundingBox ( ) : RectangleD
리턴 VectorMath.RectangleD

FixedUpdate() 공개 추상적인 메소드

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

GetRelativeAcceleration() 공개 메소드

public GetRelativeAcceleration ( ) : DVector2
리턴 VectorMath.DVector2

GetRelativeAltitude() 공개 메소드

public GetRelativeAltitude ( ) : double
리턴 double

GetRelativePitch() 공개 메소드

public GetRelativePitch ( ) : double
리턴 double

GetRelativeVelocity() 공개 메소드

public GetRelativeVelocity ( ) : DVector2
리턴 VectorMath.DVector2

GravitationalBodyBase() 보호된 메소드

protected GravitationalBodyBase ( DVector2 position, DVector2 velocity, double pitch ) : System.Drawing
position VectorMath.DVector2
velocity VectorMath.DVector2
pitch double
리턴 System.Drawing

RenderGdi() 공개 메소드

public RenderGdi ( Graphics graphics, RectangleD cameraBounds ) : void
graphics Graphics
cameraBounds VectorMath.RectangleD
리턴 void

ResetAccelerations() 공개 메소드

public ResetAccelerations ( ) : void
리턴 void

ResetOrientation() 공개 메소드

public ResetOrientation ( ) : void
리턴 void

ResolveGravitation() 공개 메소드

public ResolveGravitation ( IPhysicsBody other ) : void
other IPhysicsBody
리턴 void

SetGravitationalParent() 공개 메소드

public SetGravitationalParent ( IMassiveBody parent ) : void
parent IMassiveBody
리턴 void

Update() 공개 추상적인 메소드

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

Visibility() 공개 추상적인 메소드

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

프로퍼티 상세

OrbitTrace 보호되어 있는 프로퍼티

protected OrbitTrace OrbitTrace
리턴 OrbitTrace