示例#1
0
 /// <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));
 }
示例#2
0
 /// <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);
 }
示例#3
0
 /// <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));
 }