MBIConst.cs 792 B

123456789101112131415161718192021222324
  1. /* ==============================================================================
  2. * 功能描述:MBIConst
  3. * 创 建 者:Garrett
  4. * 创建日期:2019/12/6 14:56:49
  5. * ==============================================================================*/
  6. using System;
  7. using System.Collections.Generic;
  8. using System.Linq;
  9. using System.Text;
  10. using System.Threading.Tasks;
  11. namespace RevitToJBim.MBI
  12. {
  13. /// <summary>
  14. /// MBIConst
  15. /// </summary>
  16. class MBIConst
  17. {
  18. //最少空间的面积. 0.4m 削减因子: 1
  19. public static readonly double SpacePerimeterTolerance = Math.Pow(0.4 * 1000 / 304.8, 2) / 1;
  20. //最小空间的周长. 0.4m 削减因子: 1
  21. public static readonly double SpaceAreaTolerance = (0.4 * 1000 / 304.8 * 4) / 1;
  22. }
  23. }