Ejemplo n.º 1
0
 public static double FromMile(this double miles)
 {
     UN.QuantityValue qv = miles;
     return(UN.UnitConverter.Convert(qv, LengthUnit.Mile, LengthUnit.Meter));
 }
Ejemplo n.º 2
0
 public static double ToAtmosphere(this double pascals)
 {
     UN.QuantityValue qv = pascals;
     return(UN.UnitConverter.Convert(qv, PressureUnit.Pascal, PressureUnit.Atmosphere));
 }
 public static double FromTonneForcePerCentimetre(this double tonnesForcePerCentimetre)
 {
     UN.QuantityValue qv = tonnesForcePerCentimetre;
     return(UN.UnitConverter.Convert(qv, ForcePerLengthUnit.TonneForcePerCentimeter, ForcePerLengthUnit.NewtonPerMeter));
 }
Ejemplo n.º 4
0
 public static double FromKilopoundForcePerFoot(this double kilopoundsForcePerFoot)
 {
     UN.QuantityValue qv = kilopoundsForcePerFoot;
     return(UN.UnitConverter.Convert(qv, ForcePerLengthUnit.KilopoundForcePerFoot, ForcePerLengthUnit.NewtonPerMeter));
 }
Ejemplo n.º 5
0
 public static double FromFootToTheFourth(this double feetToTheFourth)
 {
     UN.QuantityValue qv = feetToTheFourth;
     return(UN.UnitConverter.Convert(qv, AreaMomentOfInertiaUnit.FootToTheFourth, AreaMomentOfInertiaUnit.MeterToTheFourth));
 }
Ejemplo n.º 6
0
 public static double FromPoundForcePerSquareFoot(this double poundsForcePerSquareFoot)
 {
     UN.QuantityValue qv = poundsForcePerSquareFoot;
     return(UN.UnitConverter.Convert(qv, PressureUnit.PoundForcePerSquareFoot, PressureUnit.Pascal));
 }
Ejemplo n.º 7
0
 public static double FromKilogramForcePerSquareMetre(this double kilogramsForcePerSquareMetre)
 {
     UN.QuantityValue qv = kilogramsForcePerSquareMetre;
     return(UN.UnitConverter.Convert(qv, PressureUnit.KilogramForcePerSquareMeter, PressureUnit.Pascal));
 }
Ejemplo n.º 8
0
 public static double ToPoundForce(this double newtons)
 {
     UN.QuantityValue qv = newtons;
     return(UN.UnitConverter.Convert(qv, ForceUnit.Newton, ForceUnit.PoundForce));
 }
Ejemplo n.º 9
0
 public static double FromPoundForce(this double poundsForce)
 {
     UN.QuantityValue qv = poundsForce;
     return(UN.UnitConverter.Convert(qv, ForceUnit.PoundForce, ForceUnit.Newton));
 }
Ejemplo n.º 10
0
 public static double ToImperialGallon(this double cubicMetres)
 {
     UN.QuantityValue qv = cubicMetres;
     return(UN.UnitConverter.Convert(qv, VolumeUnit.CubicMeter, VolumeUnit.ImperialGallon));
 }
Ejemplo n.º 11
0
 public static double FromImperialGallon(this double imperialGallons)
 {
     UN.QuantityValue qv = imperialGallons;
     return(UN.UnitConverter.Convert(qv, VolumeUnit.ImperialGallon, VolumeUnit.CubicMeter));
 }
Ejemplo n.º 12
0
 public static double FromKilopoundForceFoot(this double kilopoundForceFeet)
 {
     UN.QuantityValue qv = kilopoundForceFeet;
     return(UN.UnitConverter.Convert(qv, TorqueUnit.KilopoundForceFoot, TorqueUnit.NewtonMeter));
 }
Ejemplo n.º 13
0
 public static double ToKilopoundForceFoot(this double newtonMetres)
 {
     UN.QuantityValue qv = newtonMetres;
     return(UN.UnitConverter.Convert(qv, TorqueUnit.NewtonMeter, TorqueUnit.KilopoundForceFoot));
 }
Ejemplo n.º 14
0
 public static double FromKilogramPerLitre(this double kilogramsPerLitre)
 {
     UN.QuantityValue qv = kilogramsPerLitre;
     return(UN.UnitConverter.Convert(qv, DensityUnit.KilogramPerLiter, DensityUnit.KilogramPerCubicMeter));
 }
 public static double FromNewtonCentimetrePerMetre(this double newtonCentimetresPerMetre)
 {
     UN.QuantityValue qv = newtonCentimetresPerMetre;
     return(UN.UnitConverter.Convert(qv, TorquePerLengthUnit.NewtonCentimeterPerMeter, TorquePerLengthUnit.NewtonMeterPerMeter));
 }
 public static double FromKilonewtonPerSquareMillimetre(this double kilonewtonsPerSquareMillimetre)
 {
     UN.QuantityValue qv = kilonewtonsPerSquareMillimetre;
     return(UN.UnitConverter.Convert(qv, PressureUnit.KilonewtonPerSquareMillimeter, PressureUnit.Pascal));
 }
Ejemplo n.º 17
0
 public static double ToPoundForcePerSquareFoot(this double pascals)
 {
     UN.QuantityValue qv = pascals;
     return(UN.UnitConverter.Convert(qv, PressureUnit.Pascal, PressureUnit.PoundForcePerSquareFoot));
 }
Ejemplo n.º 18
0
 public static double FromCubicCentimetre(this double cubicCentimetres)
 {
     UN.QuantityValue qv = cubicCentimetres;
     return(UN.UnitConverter.Convert(qv, VolumeUnit.CubicCentimeter, VolumeUnit.CubicMeter));
 }
Ejemplo n.º 19
0
 public static double ToKilogramForcePerSquareMetre(this double pascals)
 {
     UN.QuantityValue qv = pascals;
     return(UN.UnitConverter.Convert(qv, PressureUnit.Pascal, PressureUnit.KilogramForcePerSquareMeter));
 }
Ejemplo n.º 20
0
 public static double ToSquareFoot(this double squareMetres)
 {
     UN.QuantityValue qv = squareMetres;
     return(UN.UnitConverter.Convert(qv, AreaUnit.SquareMeter, AreaUnit.SquareFoot));
 }
Ejemplo n.º 21
0
 public static double ToKilopoundForcePerFoot(this double newtonsPerMetre)
 {
     UN.QuantityValue qv = newtonsPerMetre;
     return(UN.UnitConverter.Convert(qv, ForcePerLengthUnit.NewtonPerMeter, ForcePerLengthUnit.KilopoundForcePerFoot));
 }
Ejemplo n.º 22
0
 public static double FromSquareFoot(this double squareFeet)
 {
     UN.QuantityValue qv = squareFeet;
     return(UN.UnitConverter.Convert(qv, AreaUnit.SquareFoot, AreaUnit.SquareMeter));
 }
Ejemplo n.º 23
0
 public static double FromKilometre(this double kilometres)
 {
     UN.QuantityValue qv = kilometres;
     return(UN.UnitConverter.Convert(qv, LengthUnit.Kilometer, LengthUnit.Meter));
 }
Ejemplo n.º 24
0
 public static double ToTonneForcePerSquareCentimetre(this double pascals)
 {
     UN.QuantityValue qv = pascals;
     return(UN.UnitConverter.Convert(qv, PressureUnit.Pascal, PressureUnit.TonneForcePerSquareCentimeter));
 }
Ejemplo n.º 25
0
 public static double FromKilonewtonPerMetre(this double kilonewtonsPerMetre)
 {
     UN.QuantityValue qv = kilonewtonsPerMetre;
     return(UN.UnitConverter.Convert(qv, ForcePerLengthUnit.KilonewtonPerMeter, ForcePerLengthUnit.NewtonPerMeter));
 }
Ejemplo n.º 26
0
 public static double FromTonneForcePerSquareCentimetre(this double tonnesForcePerSquareCentimetre)
 {
     UN.QuantityValue qv = tonnesForcePerSquareCentimetre;
     return(UN.UnitConverter.Convert(qv, PressureUnit.TonneForcePerSquareCentimeter, PressureUnit.Pascal));
 }
Ejemplo n.º 27
0
 public static double FromAtmosphere(this double atmospheres)
 {
     UN.QuantityValue qv = atmospheres;
     return(UN.UnitConverter.Convert(qv, PressureUnit.Atmosphere, PressureUnit.Pascal));
 }
Ejemplo n.º 28
0
 public static double ToKilogramForcePerMillimetre(this double newtonsPerMetre)
 {
     UN.QuantityValue qv = newtonsPerMetre;
     return(UN.UnitConverter.Convert(qv, ForcePerLengthUnit.NewtonPerMeter, ForcePerLengthUnit.KilogramForcePerMillimeter));
 }
Ejemplo n.º 29
0
 public static double FromKilogramForceMetrePerMetre(this double kilogramForceMetresPerMetre)
 {
     UN.QuantityValue qv = kilogramForceMetresPerMetre;
     return(UN.UnitConverter.Convert(qv, TorquePerLengthUnit.KilogramForceMeterPerMeter, TorquePerLengthUnit.NewtonMeterPerMeter));
 }
Ejemplo n.º 30
0
 public static double ToMile(this double metres)
 {
     UN.QuantityValue qv = metres;
     return(UN.UnitConverter.Convert(qv, LengthUnit.Meter, LengthUnit.Mile));
 }