C# Class SpaceSim.Orbits.OrbitTrace

Show file Open project: zlynn1990/SpaceSim Class Usage Examples

Public Methods

Method Description
AddPoint ( DVector2 point, double altitude ) : void
Draw ( Graphics graphics, RectangleD cameraBounds, IMapRenderable orbitingBody ) : void
OrbitTrace ( ) : System.Collections.Generic
Reset ( DVector2 start ) : void

Private Methods

Method Description
RenderApogee ( Graphics graphics, PointF localPoint ) : void
RenderPerigee ( Graphics graphics, PointF localPoint ) : void
RenderStart ( Graphics graphics, RectangleD cameraBounds, IMapRenderable orbitingBody, DVector2 start ) : void

Method Details

AddPoint() public method

public AddPoint ( DVector2 point, double altitude ) : void
point VectorMath.DVector2
altitude double
return void

Draw() public method

public Draw ( Graphics graphics, RectangleD cameraBounds, IMapRenderable orbitingBody ) : void
graphics System.Drawing.Graphics
cameraBounds VectorMath.RectangleD
orbitingBody IMapRenderable
return void

OrbitTrace() public method

public OrbitTrace ( ) : System.Collections.Generic
return System.Collections.Generic

Reset() public method

public Reset ( DVector2 start ) : void
start VectorMath.DVector2
return void