class Energy

Brief

The energy (e.g. bullet energy) value

Details

The type defined in the MathEx.ExternalBallistic.dll assembly. The namespace is MathEx.ExternalBallistic.Units.

Static Public Properties

DefaultUnit

Returns the default (the most expected by a user) unit for the value.

Static Public Methods

Convert

Converts an arbitrary value from one unit of measure to another.

DefaultDisplayPrecision

Returns the default display precision for the unit of measure.

NameToUnit

Returns the unit of measure by its name.

TryParse

Parses the string into the value.

UnitToName

Returns the name of the unit of measure.

Public Properties

SetUnit

Returns the unit specified when the value is created.

Public Constructors

Energy

Constructor

Public Methods

Get

Returns the value in the specified unit of measure

ToString

Converts the value to string using unit of measure specified when the value is created and default parameters.

ToString

Converts the value to string using the specified unit of measure and default parameters for that unit of measure.

ToString

Convert the value to string using specified unit of measure and parameters.

back