Assembly: OpenTD.dll Works like a dimensional, but only for positive values. Negative values act like doubles.
Type Parameters
T
Inherited Members
object.ToString(), object.Equals(object), object.Equals(object, object), object.ReferenceEquals(object, object), object.GetHashCode(), object.GetType()Constructors
DimensionalIfPositive(double)
Parameters
x double
Methods
GetValueSI()
Returns
doubleToString()
Returns the fully qualified type name of this instance.Returns
string The fully qualified type name.Operators
implicit operator DimensionalIfPositive<T>(double)
Parameters
x double
Returns
DimensionalIfPositive<T>implicit operator double(DimensionalIfPositive<T>)
Parameters
x DimensionalIfPositive<T>