/// <summary> /// Converts a value from default unit to the project unit for the active IFCProject. /// </summary> /// <param name="unitType">The unit type.</param> /// <param name="inValue">The value to convert.</param> /// <returns>The result value.</returns> static public XYZ ScaleValue(UnitType unitType, XYZ inValue) { return(IFCUnitUtil.ProjectScale(unitType, inValue)); }
/// <summary> /// Converts values from default unit to the project unit for the active IFCProject. /// </summary> /// <param name="unitType">The unit type.</param> /// <param name="inValues">The value to convert.</param> static public void ScaleValues(UnitType unitType, IList <XYZ> inValues) { IFCUnitUtil.ProjectScale(unitType, inValues); }
/// <summary> /// Converts a value from default unit to the project unit for the active IFCProject. /// </summary> /// <param name="unitType">The unit type.</param> /// <param name="inValue">The value to convert.</param> /// <returns>The result value.</returns> static public double ScaleValue(UnitType unitType, double inValue) { return(IFCUnitUtil.ProjectScale(unitType, inValue)); }