C# Class SpaceSim.Structures.StructureBase

Inheritance: IGdiRenderable
Datei anzeigen Open project: zlynn1990/SpaceSim

Public Methods

Method Description
ComputeBoundingBox ( ) : RectangleD
RenderGdi ( Graphics graphics, RectangleD cameraBounds ) : void
Visibility ( RectangleD cameraBounds ) : double

Protected Methods

Method Description
StructureBase ( double surfaceAngle, double height, string texturePath, IMassiveBody parent ) : System

Method Details

ComputeBoundingBox() public method

public ComputeBoundingBox ( ) : RectangleD
return VectorMath.RectangleD

RenderGdi() public method

public RenderGdi ( Graphics graphics, RectangleD cameraBounds ) : void
graphics System.Drawing.Graphics
cameraBounds VectorMath.RectangleD
return void

StructureBase() protected method

protected StructureBase ( double surfaceAngle, double height, string texturePath, IMassiveBody parent ) : System
surfaceAngle double
height double
texturePath string
parent IMassiveBody
return System

Visibility() public method

public Visibility ( RectangleD cameraBounds ) : double
cameraBounds VectorMath.RectangleD
return double