C# Class SpaceSim.SolarSystem.MassiveBodyBase

Inheritance: SpaceSim.Physics.GravitationalBodyBase, IMassiveBody, IGpuRenderable
Afficher le fichier Open project: zlynn1990/SpaceSim Class Usage Examples

Méthodes publiques

Méthode Description
ComputeBoundingBox ( ) : RectangleD
FixedUpdate ( SpaceSim.Physics.TimeStep timeStep ) : void
GetAtmosphericDensity ( double altitude ) : double
GetAtmosphericViscosity ( double altitude ) : double
GetIspMultiplier ( double altitude ) : double
GetSurfaceGravity ( ) : double
Load ( OpenCLWrapper.OpenCLProxy clProxy ) : void
RenderCl ( OpenCLWrapper.OpenCLProxy clProxy, RectangleD cameraBounds, IPhysicsBody sun ) : void
RenderGdiFallback ( Graphics graphics, RectangleD cameraBounds, IPhysicsBody sun ) : void
Update ( double dt ) : void
Visibility ( RectangleD cameraBounds ) : double

Méthodes protégées

Méthode Description
MassiveBodyBase ( DVector2 position, DVector2 velocity, IMassiveKernel kernel ) : System

Method Details

ComputeBoundingBox() public méthode

public ComputeBoundingBox ( ) : RectangleD
Résultat VectorMath.RectangleD

FixedUpdate() public méthode

public FixedUpdate ( SpaceSim.Physics.TimeStep timeStep ) : void
timeStep SpaceSim.Physics.TimeStep
Résultat void

GetAtmosphericDensity() public méthode

public GetAtmosphericDensity ( double altitude ) : double
altitude double
Résultat double

GetAtmosphericViscosity() public méthode

public GetAtmosphericViscosity ( double altitude ) : double
altitude double
Résultat double

GetIspMultiplier() public méthode

public GetIspMultiplier ( double altitude ) : double
altitude double
Résultat double

GetSurfaceGravity() public méthode

public GetSurfaceGravity ( ) : double
Résultat double

Load() public méthode

public Load ( OpenCLWrapper.OpenCLProxy clProxy ) : void
clProxy OpenCLWrapper.OpenCLProxy
Résultat void

MassiveBodyBase() protected méthode

protected MassiveBodyBase ( DVector2 position, DVector2 velocity, IMassiveKernel kernel ) : System
position VectorMath.DVector2
velocity VectorMath.DVector2
kernel IMassiveKernel
Résultat System

RenderCl() public méthode

public RenderCl ( OpenCLWrapper.OpenCLProxy clProxy, RectangleD cameraBounds, IPhysicsBody sun ) : void
clProxy OpenCLWrapper.OpenCLProxy
cameraBounds VectorMath.RectangleD
sun IPhysicsBody
Résultat void

RenderGdiFallback() public méthode

public RenderGdiFallback ( Graphics graphics, RectangleD cameraBounds, IPhysicsBody sun ) : void
graphics System.Drawing.Graphics
cameraBounds VectorMath.RectangleD
sun IPhysicsBody
Résultat void

Update() public méthode

public Update ( double dt ) : void
dt double
Résultat void

Visibility() public méthode

public Visibility ( RectangleD cameraBounds ) : double
cameraBounds VectorMath.RectangleD
Résultat double