Skip to main content

OpenTD .NET4 reference 2025 R2

OpenTD.Dimension.EnergyPerArea Class Reference

Last update: 16.07.2025
Inheritance diagram for OpenTD.Dimension.EnergyPerArea:
OpenTD.Dimension.IDimension

Public Member Functions

double ConvertFromSI (double x, UnitsData units)
 Converts x from SI to input units.
 
double ConvertToSI (UnitsData units, double x)
 Converts x from input units to SI.
 
string GetName ()
 Gets the name of the dimension, e.g., "Density".
 
string GetUnitsName (UnitsData units)
 Gets the name of unit corresponding to this dimension, e.g. "kg/m3".
 
string GetTitle (UnitsData units)
 Gets the name of the dimension and the unit, e.g., "Density (kg/m3)".
 

Member Function Documentation

◆ ConvertFromSI()

double OpenTD.Dimension.EnergyPerArea.ConvertFromSI ( double x,
UnitsData units )
inline

Converts x from SI to input units.

Implements OpenTD.Dimension.IDimension.

◆ ConvertToSI()

double OpenTD.Dimension.EnergyPerArea.ConvertToSI ( UnitsData units,
double x )
inline

Converts x from input units to SI.

Implements OpenTD.Dimension.IDimension.

◆ GetName()

string OpenTD.Dimension.EnergyPerArea.GetName ( )
inline

Gets the name of the dimension, e.g., "Density".

Returns
System.String.

Implements OpenTD.Dimension.IDimension.

◆ GetTitle()

string OpenTD.Dimension.EnergyPerArea.GetTitle ( UnitsData units)
inline

Gets the name of the dimension and the unit, e.g., "Density (kg/m3)".

Parameters
unitsThe units.
Returns
System.String.

Implements OpenTD.Dimension.IDimension.

◆ GetUnitsName()

string OpenTD.Dimension.EnergyPerArea.GetUnitsName ( UnitsData units)
inline

Gets the name of unit corresponding to this dimension, e.g. "kg/m3".

Parameters
unitsThe units.
Returns
System.String.

Implements OpenTD.Dimension.IDimension.


The documentation for this class was generated from the following file:
  • C:/Users/mgarrett/source/repos/BuildsTdSuite/builds/TDDEV_ALPHA/buildXX/OpenTD/Dimension/Dimensional.cs

Connect with Ansys