DynamoVisualProgramming.ZeroTouchLibrary by Autodesk

<PackageReference Include="DynamoVisualProgramming.ZeroTouchLibrary" Version="3.1.0-beta3754" />

 SIUnit

public abstract class SIUnit : BaseUnit
public static Dictionary<string, double> Conversions { get; }

public abstract double UnitValue { get; }

The value of the unit converted into the unit type stored on the unit. Ex. If the object has LengthUnit.DecimalFoot, for a Value of 1.0, this will return 3.28084

public double Value { get; set; }

The internal value of the unit.

protected SIUnit(double value)

Construct an SIUnit object with a value.

public static SIUnit op_Addition(SIUnit x, SIUnit y)

public static SIUnit op_Addition(SIUnit x, double y)

public static double op_Addition(double x, SIUnit y)

public static object op_Division(SIUnit x, SIUnit y)

public static SIUnit op_Division(SIUnit x, double y)

public static bool op_GreaterThan(double x, SIUnit y)

public static bool op_GreaterThan(SIUnit x, double y)

public static bool op_GreaterThan(SIUnit x, SIUnit y)

public static bool op_GreaterThanOrEqual(double x, SIUnit y)

public static bool op_GreaterThanOrEqual(SIUnit x, double y)

public static bool op_GreaterThanOrEqual(SIUnit x, SIUnit y)

public static bool op_LessThan(double x, SIUnit y)

public static bool op_LessThan(SIUnit x, double y)

public static bool op_LessThan(SIUnit x, SIUnit y)

public static bool op_LessThanOrEqual(double x, SIUnit y)

public static bool op_LessThanOrEqual(SIUnit x, double y)

public static bool op_LessThanOrEqual(SIUnit x, SIUnit y)

public static SIUnit op_Modulus(SIUnit x, SIUnit y)

public static SIUnit op_Modulus(SIUnit x, double y)

public static double op_Modulus(double x, SIUnit y)

public static SIUnit op_Multiply(SIUnit x, SIUnit y)

public static SIUnit op_Multiply(SIUnit x, double y)

public static SIUnit op_Multiply(double x, SIUnit y)

public static SIUnit op_Subtraction(SIUnit x, SIUnit y)

public static SIUnit op_Subtraction(SIUnit x, double y)

public static double op_Subtraction(double x, SIUnit y)

public static SIUnit ToSIUnit(object value)

public abstract SIUnit Add(SIUnit x)

public abstract SIUnit Add(double x)

public abstract SIUnit Ceiling()

public abstract double ConvertToHostUnits()

public abstract object Divide(SIUnit x)

public abstract SIUnit Divide(double x)

public abstract SIUnit Floor()

public abstract SIUnit Modulo(SIUnit x)

public abstract SIUnit Modulo(double x)

public abstract SIUnit Multiply(SIUnit x)

public abstract SIUnit Multiply(double x)

public abstract SIUnit Round()

public abstract void SetValueFromString(string value)

Implemented in child classes to control how units are converted from a string representation to an SI value.

public abstract SIUnit Subtract(SIUnit x)

public abstract SIUnit Subtract(double x)