public double GetConvertedValVelocity(double value, string from, string to)
        {
            UnitsReflectionHelper <UnitVelocity> helper = new UnitsReflectionHelper <UnitVelocity>();
            UnitVelocity unitFrom = helper.GetUnit(from);
            UnitVelocity unitTo   = helper.GetUnit(to);

            return(new Velocity(value, unitFrom).GetConvertedVal(unitTo));
        }
 public new InitialVelocity Convert(UnitVelocity to)
 {
     base.Convert(to);
     return(this);
 }
 public InitialVelocity(double val, UnitVelocity unit) : base(val, unit)
 {
 }
 /// <summary>
 /// Constructor for initial velocity.
 /// </summary>
 /// <param name="val">The value of velocity. Larger or equal to zero.</param>
 public Velocity(double val, UnitVelocity unit) : base(val, unit)
 {
     CheckValueWithException(CheckValueCompareWithZero.LargerOrEqualToZero, "A velocity must be larger or equal to zero");
 }