@belife/belife-bim-air 1.6.1-zy.86.patch.6 → 1.6.1-zy.86.patch.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (368) hide show
  1. package/README.md +2 -3
  2. package/bimAir.rar +0 -0
  3. package/lib/BimAir.common-report.html +2 -2
  4. package/lib/BimAir.common.js +8308 -1383
  5. package/lib/BimAir.umd-report.html +2 -2
  6. package/lib/BimAir.umd.js +8308 -1383
  7. package/lib/BimAir.umd.min-report.html +2 -2
  8. package/lib/BimAir.umd.min.js +8308 -1383
  9. package/package.json +1 -1
  10. package/demo/assets/demo.css +0 -28
  11. package/demo//344/272/213/344/273/266/346/223/215/344/275/234//344/277/256/346/224/271/351/242/234/350/211/262.html +0 -100
  12. package/demo//344/272/213/344/273/266/346/223/215/344/275/234//345/212/250/347/224/273/346/214/211/351/222/256.html +0 -154
  13. package/demo//344/272/213/344/273/266/346/223/215/344/275/234//346/265/213/351/207/217/351/253/230/347/250/213.html +0 -153
  14. package/demo//344/272/213/344/273/266/346/223/215/344/275/234//346/267/273/345/212/240/346/226/207/346/234/254/346/240/207/347/255/276.html +0 -117
  15. package/demo//344/272/213/344/273/266/346/223/215/344/275/234//346/267/273/345/212/240/346/240/207/347/255/276/344/272/213/344/273/266/347/202/271/345/207/273/350/216/267/345/217/226/345/261/236/346/200/247.html +0 -102
  16. package/demo//344/272/213/344/273/266/346/223/215/344/275/234//346/267/273/345/212/240/351/274/240/346/240/207/344/272/213/344/273/266/350/216/267/345/217/226/346/250/241/345/236/213.html +0 -62
  17. package/demo//344/272/213/344/273/266/346/223/215/344/275/234//347/247/273/345/212/250/346/240/207/347/255/276/344/275/215/347/275/256.html +0 -126
  18. package/demo//344/272/213/344/273/266/346/223/215/344/275/234//350/247/206/347/202/271/347/256/241/347/220/206.html +0 -86
  19. package/demo//344/272/213/344/273/266/346/223/215/344/275/234//350/247/206/350/247/222/350/275/254/346/215/242.html +0 -81
  20. package/demo//344/272/213/344/273/266/346/223/215/344/275/234//350/256/276/347/275/256/347/273/223/346/236/204/346/240/221/347/202/271/345/207/273/344/272/213/344/273/266.html +0 -49
  21. package/demo//345/217/202/346/225/260/345/214/226/350/256/276/350/256/241//345/217/202/346/225/260/345/214/226/345/273/272/346/250/241.html +0 -132
  22. package/demo//346/250/241/345/236/213/344/272/244/344/272/222//346/227/213/350/275/254/345/271/263/347/247/273/347/274/251/346/224/276.html +0 -131
  23. package/demo//346/250/241/345/236/213/344/272/244/344/272/222//346/236/204/344/273/266/351/232/220/350/227/217/345/274/272/350/260/203.html +0 -113
  24. package/demo//346/250/241/345/236/213/344/272/244/344/272/222//350/256/276/347/275/256viewHouse.html +0 -93
  25. package/demo//346/250/241/345/236/213/345/212/250/347/224/273//347/256/241/351/201/223/347/224/237/351/225/277.html +0 -151
  26. package/demo//346/250/241/345/236/213/345/212/250/347/224/273//350/267/257/345/276/204/345/212/250/347/224/273.html +0 -148
  27. package/demo//346/250/241/345/236/213/345/212/250/347/224/273//350/267/257/345/276/204/345/212/250/347/224/273/347/224/237/351/225/277.html +0 -625
  28. package/demo//346/250/241/345/236/213/345/212/250/347/224/273//350/267/257/345/276/204/346/274/253/346/270/270.html +0 -105
  29. package/demo//346/250/241/345/236/213/345/212/250/347/224/273//351/232/224/347/246/273/347/224/237/351/225/277.html +0 -86
  30. package/demo//346/250/241/345/236/213/346/223/215/344/275/234//345/210/233/345/273/272/350/247/206/345/233/276.html +0 -39
  31. package/demo//346/250/241/345/236/213/346/223/215/344/275/234//345/212/240/350/275/275/346/234/215/345/212/241/345/231/250/346/250/241/345/236/213.html +0 -41
  32. package/demo//346/250/241/345/236/213/346/223/215/344/275/234//345/217/214/345/261/217/346/223/215/344/275/234.html +0 -79
  33. package/demo//346/250/241/345/236/213/346/223/215/344/275/234//345/256/232/344/275/215/346/250/241/345/236/213.html +0 -53
  34. package/demo//346/250/241/345/236/213/346/223/215/344/275/234//345/267/245/345/205/267/346/240/217/346/230/276/347/244/272/351/232/220/350/227/217.html +0 -74
  35. package/demo//346/250/241/345/236/213/346/223/215/344/275/234//346/212/225/345/275/261/346/226/271/345/274/217/345/217/230/345/214/226.html +0 -90
  36. package/demo//346/250/241/345/236/213/346/223/215/344/275/234//346/212/225/345/275/261/346/226/271/345/274/217/345/217/230/346/215/242.html +0 -75
  37. package/demo//346/250/241/345/236/213/346/223/215/344/275/234//346/230/276/347/244/272/347/233/270/346/234/272/345/217/202/346/225/260.html +0 -113
  38. package/demo//346/250/241/345/236/213/346/223/215/344/275/234//346/250/241/345/236/213/346/210/252/345/217/226.html +0 -130
  39. package/demo//346/250/241/345/236/213/346/223/215/344/275/234//350/256/276/347/275/256/344/270/216/350/216/267/345/217/226/346/250/241/345/236/213/345/235/220/346/240/207.html +0 -65
  40. package/demo//346/250/241/345/236/213/346/223/215/344/275/234//351/224/201/345/256/232/347/233/270/346/234/272/350/247/206/350/247/222.html +0 -109
  41. package/demo//346/250/241/345/236/213/346/225/210/346/236/234/2D/347/203/255/345/212/233/345/233/276.html +0 -100
  42. package/demo//346/250/241/345/236/213/346/225/210/346/236/234/BIMGIS/347/244/272/344/276/213.html +0 -106
  43. package/demo//346/250/241/345/236/213/346/225/210/346/236/234/UV/345/212/250/347/224/273.html +0 -76
  44. package/demo//346/250/241/345/236/213/346/225/210/346/236/234//345/205/250/346/201/257/345/275/261/345/203/217.html +0 -200
  45. package/demo//346/250/241/345/236/213/346/225/210/346/236/234//345/210/206/346/256/265/346/237/223/350/211/262/346/225/210/346/236/234.html +0 -87
  46. package/demo//346/250/241/345/236/213/346/225/210/346/236/234//345/210/233/345/273/272/346/211/253/347/225/245.html +0 -112
  47. package/demo//346/250/241/345/236/213/346/225/210/346/236/234//345/210/233/345/273/272/350/267/257/345/276/204.html +0 -67
  48. package/demo//346/250/241/345/236/213/346/225/210/346/236/234//345/212/250/346/200/201/345/210/233/345/273/272/347/224/265/345/255/220/345/233/264/346/240/217.html +0 -123
  49. package/demo//346/250/241/345/236/213/346/225/210/346/236/234//345/226/267/346/260/264/346/225/210/346/236/234.html +0 -58
  50. package/demo//346/250/241/345/236/213/346/225/210/346/236/234//345/233/264/345/242/231/346/211/253/346/217/217/346/225/210/346/236/234.html +0 -64
  51. package/demo//346/250/241/345/236/213/346/225/210/346/236/234//345/241/253/346/214/226/346/226/271/345/210/206/346/236/220.html +0 -66
  52. package/demo//346/250/241/345/236/213/346/225/210/346/236/234//345/244/251/347/251/272/347/233/222/346/225/210/346/236/234.html +0 -49
  53. package/demo//346/250/241/345/236/213/346/225/210/346/236/234//345/260/204/347/272/277/346/243/200/346/265/213.html +0 -86
  54. package/demo//346/250/241/345/236/213/346/225/210/346/236/234//346/211/207/345/275/242/346/211/253/346/217/217/346/225/210/346/236/234.html +0 -63
  55. package/demo//346/250/241/345/236/213/346/225/210/346/236/234//346/214/207/345/256/232/346/236/204/344/273/266/346/227/213/350/275/254.html +0 -76
  56. package/demo//346/250/241/345/236/213/346/225/210/346/236/234//346/214/211/344/273/273/346/204/217/346/226/271/345/220/221/345/211/226/345/210/207.html +0 -271
  57. package/demo//346/250/241/345/236/213/346/225/210/346/236/234//346/216/247/351/253/230/345/210/206/346/236/220/346/225/210/346/236/234.html +0 -59
  58. package/demo//346/250/241/345/236/213/346/225/210/346/236/234//346/260/264/351/235/242/346/225/210/346/236/234.html +0 -72
  59. package/demo//346/250/241/345/236/213/346/225/210/346/236/234//346/261/275/351/233/276/346/225/210/346/236/234.html +0 -58
  60. package/demo//346/250/241/345/236/213/346/225/210/346/236/234//346/267/273/345/212/240/344/270/211/347/273/264/346/226/207/345/255/227.html +0 -92
  61. package/demo//346/250/241/345/236/213/346/225/210/346/236/234//346/267/273/345/212/240/347/202/271/347/272/277/351/235/242/346/213/211/344/274/270/344/275/223.html +0 -81
  62. package/demo//346/250/241/345/236/213/346/225/210/346/236/234//347/216/257/347/212/266/346/211/253/346/217/217/346/225/210/346/236/234.html +0 -64
  63. package/demo//346/250/241/345/236/213/346/225/210/346/236/234//347/253/213/344/275/223/351/224/232/347/202/271.html +0 -79
  64. package/demo//346/250/241/345/236/213/346/225/210/346/236/234//350/201/232/345/205/211/347/201/257/346/225/210/346/236/234.html +0 -80
  65. package/demo//346/250/241/345/236/213/346/225/210/346/236/234//351/200/232/350/247/206/345/210/206/346/236/220.html +0 -68
  66. package/demo//346/250/241/345/236/213/346/225/210/346/236/234//351/233/252/345/244/251/346/225/210/346/236/234.html +0 -53
  67. package/demo//347/273/223/346/236/204/346/240/221/344/270/216/346/236/204/344/273/266//345/244/232/346/236/204/344/273/266/345/211/226/345/210/207.html +0 -89
  68. package/demo//347/273/223/346/236/204/346/240/221/344/270/216/346/236/204/344/273/266//345/256/232/344/275/215/346/236/204/344/273/266.html +0 -70
  69. package/demo//347/273/223/346/236/204/346/240/221/344/270/216/346/236/204/344/273/266//346/236/204/344/273/266/345/261/236/346/200/247.html +0 -56
  70. package/demo//347/273/223/346/236/204/346/240/221/344/270/216/346/236/204/344/273/266//346/236/204/344/273/266/347/242/260/346/222/236/346/243/200/346/265/213.html +0 -103
  71. package/demo//347/273/223/346/236/204/346/240/221/344/270/216/346/236/204/344/273/266//346/236/204/344/273/266/351/200/211/346/213/251/344/270/216/345/256/232/344/275/215.html +0 -59
  72. package/demo//347/273/223/346/236/204/346/240/221/344/270/216/346/236/204/344/273/266//346/236/204/344/273/266/351/232/220/350/227/217/343/200/201/346/236/204/344/273/266/345/274/272/350/260/203.html +0 -111
  73. package/demo//347/273/223/346/236/204/346/240/221/344/270/216/346/236/204/344/273/266//346/236/204/344/273/266/351/232/224/347/246/273.html +0 -105
  74. package/demo//347/273/223/346/236/204/346/240/221/344/270/216/346/236/204/344/273/266//350/216/267/345/217/226/346/236/204/344/273/266/345/214/205/345/233/264/347/233/222.html +0 -109
  75. package/demo//347/273/223/346/236/204/346/240/221/344/270/216/346/236/204/344/273/266//350/256/276/347/275/256/346/250/241/345/236/213/351/242/234/350/211/262.html +0 -68
  76. package/demo//347/273/223/346/236/204/346/240/221/344/270/216/346/236/204/344/273/266//350/256/276/347/275/256/351/200/217/346/230/216/345/272/246.html +0 -75
  77. package/demo//347/273/223/346/236/204/346/240/221/344/270/216/346/236/204/344/273/266//350/256/276/347/275/256/351/232/224/347/246/273/346/240/267/345/274/217.html +0 -79
  78. package/demo//347/273/223/346/236/204/346/240/221/344/270/216/346/236/204/344/273/266//351/232/220/350/227/217/346/236/204/344/273/266.html +0 -70
  79. package/demo//347/273/223/346/236/204/346/240/221/344/270/216/346/236/204/344/273/266//351/242/234/350/211/262/346/214/211/351/222/256.html +0 -95
  80. package/docs/.nojekyll +0 -1
  81. package/docs/.vuepress/config.js +0 -357
  82. package/docs/.vuepress/styles/palette.styl +0 -12
  83. package/docs/README.md +0 -99
  84. package/docs/animation//350/267/257/345/276/204/345/271/263/347/247/273/345/212/250/347/224/273/346/226/207/346/241/243.md +0 -142
  85. package/docs/assets/images/2.png +0 -0
  86. package/docs/classes/Animation.AnchorEffect.md +0 -91
  87. package/docs/classes/Animation.AnchorEffectConfig.md +0 -65
  88. package/docs/classes/Animation.CircleScanEffect.md +0 -49
  89. package/docs/classes/Animation.CircleScanEffectConfig.md +0 -73
  90. package/docs/classes/Animation.CutFillAnalysisConfig.md +0 -57
  91. package/docs/classes/Animation.CutFillAnalysisEffect.md +0 -63
  92. package/docs/classes/Animation.FanScanEffect.md +0 -49
  93. package/docs/classes/Animation.FanScanEffectConfig.md +0 -89
  94. package/docs/classes/Animation.HeatMap2DEffect.md +0 -49
  95. package/docs/classes/Animation.HeatMap2DEffectConfig.md +0 -65
  96. package/docs/classes/Animation.HeightLimitEffect.md +0 -49
  97. package/docs/classes/Animation.HeightLimitEffectConfig.md +0 -57
  98. package/docs/classes/Animation.PathEffect.md +0 -101
  99. package/docs/classes/Animation.PathEffectConfig.md +0 -65
  100. package/docs/classes/Animation.RegionLimitEffect.md +0 -84
  101. package/docs/classes/Animation.RegionLimitEffectConfig.md +0 -197
  102. package/docs/classes/Animation.SightlineAnalysisConfig.md +0 -65
  103. package/docs/classes/Animation.SightlineAnalysisEffect.md +0 -67
  104. package/docs/classes/Animation.SkyboxEffect.md +0 -75
  105. package/docs/classes/Animation.SkyboxEffectConfig.md +0 -33
  106. package/docs/classes/Animation.SnowEffect.md +0 -49
  107. package/docs/classes/Animation.SnowEffectConfig.md +0 -61
  108. package/docs/classes/Animation.SpotLightEffect.md +0 -49
  109. package/docs/classes/Animation.SpotLightEffectConfig.md +0 -81
  110. package/docs/classes/Animation.SprayWaterEffect.md +0 -49
  111. package/docs/classes/Animation.SprayWaterEffectConfig.md +0 -121
  112. package/docs/classes/Animation.SteamEffect.md +0 -49
  113. package/docs/classes/Animation.SteamEffectConfig.md +0 -121
  114. package/docs/classes/Animation.UvEffect.md +0 -76
  115. package/docs/classes/Animation.UvEffectConfig.md +0 -105
  116. package/docs/classes/Animation.WallEffect.md +0 -193
  117. package/docs/classes/Animation.WallEffectConfig.md +0 -65
  118. package/docs/classes/Animation.WallScanEffect.md +0 -49
  119. package/docs/classes/Animation.WallScanEffectConfig.md +0 -81
  120. package/docs/classes/Animation.WaterEffect.md +0 -51
  121. package/docs/classes/Animation.WaterEffectConfig.md +0 -59
  122. package/docs/classes/Command.CommandCreateWall.md +0 -964
  123. package/docs/classes/Command.CommandSelect.md +0 -631
  124. package/docs/classes/Command.CommandShowCaeAxisCut.md +0 -951
  125. package/docs/classes/Command.CommandShowFirstPersonRoam.md +0 -1176
  126. package/docs/classes/Command.CommandShowProModelExplosion.md +0 -1187
  127. package/docs/classes/Command.CommandShowSlicePanel.md +0 -970
  128. package/docs/classes/ComponentSelector.md +0 -1131
  129. package/docs/classes/CuttingOptions.md +0 -299
  130. package/docs/classes/DataSource.md +0 -114
  131. package/docs/classes/EarthCameraMouse3D.md +0 -1424
  132. package/docs/classes/Geometry.Plane.md +0 -105
  133. package/docs/classes/GisBIMObject.md +0 -1164
  134. package/docs/classes/GisRefLightModel.md +0 -1139
  135. package/docs/classes/Longan.AnimationManager.md +0 -243
  136. package/docs/classes/Longan.BaseShader.md +0 -804
  137. package/docs/classes/Longan.BoundingBox.md +0 -160
  138. package/docs/classes/Longan.CameraMouse.md +0 -1160
  139. package/docs/classes/Longan.CameraPlanMouse.md +0 -1286
  140. package/docs/classes/Longan.CameraTouch.md +0 -910
  141. package/docs/classes/Longan.CloneManager.md +0 -60
  142. package/docs/classes/Longan.CollisionManager.md +0 -119
  143. package/docs/classes/Longan.Color.md +0 -877
  144. package/docs/classes/Longan.Command.md +0 -371
  145. package/docs/classes/Longan.CommandImportEarth.md +0 -538
  146. package/docs/classes/Longan.CommandManager.md +0 -277
  147. package/docs/classes/Longan.CommandPanoramaModelSelect.md +0 -499
  148. package/docs/classes/Longan.CommandSelect.md +0 -515
  149. package/docs/classes/Longan.CommandStepState.md +0 -340
  150. package/docs/classes/Longan.Condition.md +0 -90
  151. package/docs/classes/Longan.Cube.md +0 -834
  152. package/docs/classes/Longan.CuttingBox.md +0 -1051
  153. package/docs/classes/Longan.CuttingPlane.md +0 -1124
  154. package/docs/classes/Longan.DBoundingBox.md +0 -142
  155. package/docs/classes/Longan.DGeometryOperators.md +0 -587
  156. package/docs/classes/Longan.DMatrix4.md +0 -401
  157. package/docs/classes/Longan.DPoint.md +0 -73
  158. package/docs/classes/Longan.DTolerance.md +0 -73
  159. package/docs/classes/Longan.DVector.md +0 -231
  160. package/docs/classes/Longan.DWcs.md +0 -187
  161. package/docs/classes/Longan.DataManagerBase.md +0 -172
  162. package/docs/classes/Longan.DeltaState.md +0 -267
  163. package/docs/classes/Longan.Diagnosis.md +0 -69
  164. package/docs/classes/Longan.DriverOptions.md +0 -56
  165. package/docs/classes/Longan.EarthCameraMouse.md +0 -1426
  166. package/docs/classes/Longan.EarthLabelObjectList.md +0 -817
  167. package/docs/classes/Longan.EarthObject.md +0 -1646
  168. package/docs/classes/Longan.GISBIMObject.md +0 -1239
  169. package/docs/classes/Longan.Geometry.md +0 -233
  170. package/docs/classes/Longan.GeometryOperators.md +0 -588
  171. package/docs/classes/Longan.HeuristicOptions.md +0 -356
  172. package/docs/classes/Longan.HighlightManager.md +0 -151
  173. package/docs/classes/Longan.HistoryManager.md +0 -372
  174. package/docs/classes/Longan.Image.md +0 -572
  175. package/docs/classes/Longan.Include.md +0 -105
  176. package/docs/classes/Longan.IntersectionGraph.md +0 -1385
  177. package/docs/classes/Longan.InvisibleManager.md +0 -162
  178. package/docs/classes/Longan.IsolationManager.md +0 -162
  179. package/docs/classes/Longan.LabelObject.md +0 -836
  180. package/docs/classes/Longan.LabelObjectList.md +0 -824
  181. package/docs/classes/Longan.LightModel.md +0 -988
  182. package/docs/classes/Longan.Line.md +0 -303
  183. package/docs/classes/Longan.List.md +0 -283
  184. package/docs/classes/Longan.LonganCore.GsWebGLUtility.md +0 -85
  185. package/docs/classes/Longan.LonganCore.ThreadPromise.md +0 -90
  186. package/docs/classes/Longan.LonganCore.UpdateInfo.md +0 -70
  187. package/docs/classes/Longan.LonganCore.Viewer.md +0 -1418
  188. package/docs/classes/Longan.LonganCore.ViewerEvent.md +0 -281
  189. package/docs/classes/Longan.LonganLoad.md +0 -74
  190. package/docs/classes/Longan.Marker.md +0 -275
  191. package/docs/classes/Longan.Matrix4.md +0 -450
  192. package/docs/classes/Longan.Mesh.md +0 -356
  193. package/docs/classes/Longan.ModellingMatrix.md +0 -107
  194. package/docs/classes/Longan.NumberKeyList.md +0 -172
  195. package/docs/classes/Longan.ObjectPreSelector.md +0 -1042
  196. package/docs/classes/Longan.ObjectSelector.md +0 -1018
  197. package/docs/classes/Longan.ObjectState.md +0 -329
  198. package/docs/classes/Longan.OperatorManager.md +0 -166
  199. package/docs/classes/Longan.PanoramaCameraMouse.md +0 -1310
  200. package/docs/classes/Longan.PanoramaObject.md +0 -918
  201. package/docs/classes/Longan.ParametricGeometry.md +0 -390
  202. package/docs/classes/Longan.PersistenceManager.md +0 -266
  203. package/docs/classes/Longan.PerspectiveCameraMouse.md +0 -1286
  204. package/docs/classes/Longan.Point.md +0 -73
  205. package/docs/classes/Longan.Polyline.md +0 -314
  206. package/docs/classes/Longan.Process.md +0 -494
  207. package/docs/classes/Longan.Property.md +0 -253
  208. package/docs/classes/Longan.PropertyComponent.md +0 -146
  209. package/docs/classes/Longan.ReferenceObject.md +0 -833
  210. package/docs/classes/Longan.RenderInstanceObject.md +0 -187
  211. package/docs/classes/Longan.RenderObject.md +0 -620
  212. package/docs/classes/Longan.RenderObjectState.md +0 -363
  213. package/docs/classes/Longan.RenderingOptions.md +0 -1630
  214. package/docs/classes/Longan.RoamPathObjectList.md +0 -789
  215. package/docs/classes/Longan.Segment.md +0 -1372
  216. package/docs/classes/Longan.SegmentViewObject.md +0 -842
  217. package/docs/classes/Longan.Selectability.md +0 -398
  218. package/docs/classes/Longan.SelectionKey.md +0 -96
  219. package/docs/classes/Longan.SelectionManager.md +0 -295
  220. package/docs/classes/Longan.Shader.md +0 -526
  221. package/docs/classes/Longan.Shell.md +0 -511
  222. package/docs/classes/Longan.Stack.md +0 -185
  223. package/docs/classes/Longan.StateItem.md +0 -239
  224. package/docs/classes/Longan.StatePack.md +0 -256
  225. package/docs/classes/Longan.StringKeyList.md +0 -154
  226. package/docs/classes/Longan.Style.md +0 -116
  227. package/docs/classes/Longan.StyleManagerBase.md +0 -76
  228. package/docs/classes/Longan.TaskExecuteState.md +0 -328
  229. package/docs/classes/Longan.TaskFinishState.md +0 -328
  230. package/docs/classes/Longan.TaskManager.md +0 -382
  231. package/docs/classes/Longan.TaskState.md +0 -330
  232. package/docs/classes/Longan.Text.md +0 -199
  233. package/docs/classes/Longan.Tolerance.md +0 -92
  234. package/docs/classes/Longan.TriangularShell.md +0 -406
  235. package/docs/classes/Longan.TypeHelper.md +0 -38
  236. package/docs/classes/Longan.Vector.md +0 -231
  237. package/docs/classes/Longan.ViewModel.md +0 -301
  238. package/docs/classes/Longan.ViewPointObjectList.md +0 -789
  239. package/docs/classes/Longan.Viewer.md +0 -2836
  240. package/docs/classes/Longan.ViewerManagerBase.md +0 -55
  241. package/docs/classes/Longan.ViewerOperator.md +0 -623
  242. package/docs/classes/Longan.Viewport.md +0 -57
  243. package/docs/classes/Longan.Visibility.md +0 -458
  244. package/docs/classes/Longan.Wcs.md +0 -141
  245. package/docs/classes/MapTileSet3D.md +0 -1182
  246. package/docs/classes/Material.md +0 -363
  247. package/docs/classes/Panel.md +0 -174
  248. package/docs/classes/ParameterManager.md +0 -98
  249. package/docs/classes/ParametricGeometryManager.md +0 -131
  250. package/docs/classes/Process.md +0 -674
  251. package/docs/classes/SDK.Model.md +0 -166
  252. package/docs/classes/SegmentObject.md +0 -563
  253. package/docs/classes/TerrainProvider.md +0 -87
  254. package/docs/classes/TreeNodeObject.md +0 -439
  255. package/docs/classes/Viewer.md +0 -3761
  256. package/docs/enums/CuttingCreateType.md +0 -46
  257. package/docs/enums/Longan.AlphaTextureBlendingType.md +0 -24
  258. package/docs/enums/Longan.CylinderCap.md +0 -38
  259. package/docs/enums/Longan.DynamicMemoryType.md +0 -31
  260. package/docs/enums/Longan.ImagePixelFormat.md +0 -24
  261. package/docs/enums/Longan.LonganCore.AreaSelectionType.md +0 -24
  262. package/docs/enums/Longan.LonganCore.CameraChangeType.md +0 -31
  263. package/docs/enums/Longan.LonganCore.CollisionType.md +0 -53
  264. package/docs/enums/Longan.LonganCore.CoordinateSystem.md +0 -45
  265. package/docs/enums/Longan.LonganCore.EdgeType.md +0 -31
  266. package/docs/enums/Longan.LonganCore.ElementType.md +0 -52
  267. package/docs/enums/Longan.LonganCore.FontUnitsType.md +0 -45
  268. package/docs/enums/Longan.LonganCore.GLTypes.md +0 -80
  269. package/docs/enums/Longan.LonganCore.LightingMode.md +0 -59
  270. package/docs/enums/Longan.LonganCore.ObjectType.md +0 -262
  271. package/docs/enums/Longan.LonganCore.TextAlignment.md +0 -73
  272. package/docs/enums/Longan.LonganCore.UpdateDisplayType.md +0 -52
  273. package/docs/enums/Longan.LonganCore.UpdateType.md +0 -28
  274. package/docs/enums/Longan.LonganCore.VertexType.md +0 -31
  275. package/docs/enums/Longan.LonganCore.ViewMode.md +0 -215
  276. package/docs/enums/Longan.ProjectionType.md +0 -28
  277. package/docs/enums/Longan.RollType.md +0 -24
  278. package/docs/enums/Longan.SelectabilityType.md +0 -31
  279. package/docs/enums/Longan.UvType.md +0 -24
  280. package/docs/enums/Longan.ViewportType.md +0 -24
  281. package/docs/enums/ModelStatus.md +0 -85
  282. package/docs/enums/PathType.md +0 -22
  283. package/docs/enums/ShowBorder.md +0 -29
  284. package/docs/enums/SkyboxType.md +0 -36
  285. package/docs/enums/ViewerType.md +0 -22
  286. package/docs/feature/README.md +0 -104
  287. package/docs/feature//346/223/215/344/275/234/345/231/250.md +0 -66
  288. package/docs/feature//346/236/204/344/273/266/345/256/232/344/275/215.md +0 -180
  289. package/docs/feature//346/236/204/344/273/266/346/220/234/347/264/242.md +0 -178
  290. package/docs/feature//346/236/204/344/273/266/346/230/276/347/244/272.md +0 -187
  291. package/docs/feature//346/236/204/344/273/266/351/232/224/347/246/273.md +0 -125
  292. package/docs/feature//346/250/241/345/236/213/345/211/226/345/210/207.md +0 -7
  293. package/docs/feature//346/250/241/345/236/213/345/257/274/345/205/245.md +0 -81
  294. package/docs/feature//346/250/241/345/236/213/347/273/223/346/236/204.md +0 -217
  295. package/docs/feature//350/267/257/345/276/204/346/274/253/346/270/270.md +0 -7
  296. package/docs/feature//350/277/233/345/272/246/346/250/241/346/213/237.md +0 -8
  297. package/docs/feature//351/242/234/350/211/262/350/256/276/347/275/256.md +0 -112
  298. package/docs/gs-bim-air.md +0 -231
  299. package/docs/guide/EasyStart.md +0 -98
  300. package/docs/interfaces/LoaderOptions.md +0 -78
  301. package/docs/interfaces/Model.md +0 -113
  302. package/docs/interfaces/SliceModelParam.md +0 -29
  303. package/docs/interfaces/ToolbarVisible.md +0 -190
  304. package/docs/interfaces/ViewerOptions.md +0 -202
  305. package/docs/modules/Animation.md +0 -44
  306. package/docs/modules/Command.md +0 -14
  307. package/docs/modules/Geometry.md +0 -9
  308. package/docs/modules/Longan.LonganCore.md +0 -2653
  309. package/docs/modules/Longan.md +0 -153
  310. package/docs/modules/SDK.md +0 -9
  311. package/docs/modules/Utility.md +0 -60
  312. package/docs/senior/README.md +0 -9
  313. package/docs/senior/TypeScript/346/224/257/346/214/201.md +0 -13
  314. package/docs/web/347/253/257//345/205/266/344/273/226-/344/272/213/344/273/266/347/233/221/345/220/254/357/274/210EventListener/357/274/211.md +0 -139
  315. package/docs/web/347/253/257//345/205/266/344/273/226-/346/235/220/350/264/250/357/274/210Material/357/274/211.md +0 -350
  316. package/docs/web/347/253/257//345/205/266/344/273/226-/346/236/204/344/273/266/351/200/211/346/213/251/345/231/250/357/274/210ComponentSelector/357/274/211.md +0 -837
  317. package/docs/web/347/253/257//345/205/266/344/273/226-/350/267/257/345/276/204/346/274/253/346/270/270/357/274/210PathRoam/357/274/211.md +0 -186
  318. package/docs/web/347/253/257//345/212/240/350/275/275-/347/233/270/346/234/272/357/274/210Camera/357/274/211.md +0 -209
  319. package/docs/web/347/253/257//345/212/240/350/275/275-/350/247/206/345/233/276/357/274/210Viewer/357/274/211.md +0 -2272
  320. package/docs/web/347/253/257//345/212/240/350/275/275-/350/247/206/347/202/271/351/235/242/346/235/277/357/274/210ViewPointPanel/357/274/211.md +0 -394
  321. package/docs/web/347/253/257//345/212/250/347/224/273-UV/346/225/210/346/236/234/357/274/210UvEffect/357/274/211.md +0 -95
  322. package/docs/web/347/253/257//345/212/250/347/224/273-/345/210/206/346/256/265/346/237/223/350/211/262/357/274/210RegionLimit/357/274/211.md +0 -72
  323. package/docs/web/347/253/257//345/212/250/347/224/273-/345/217/257/350/247/206/346/200/247/345/210/206/346/236/220/357/274/210SightlineAnalysis/357/274/211.md +0 -81
  324. package/docs/web/347/253/257//345/212/250/347/224/273-/345/226/267/346/260/264/346/225/210/346/236/234/357/274/210SprayWaterEffect/357/274/211.md +0 -70
  325. package/docs/web/347/253/257//345/212/250/347/224/273-/345/233/264/345/242/231/357/274/210WallScan/357/274/211.md +0 -64
  326. package/docs/web/347/253/257//345/212/250/347/224/273-/345/241/253/346/214/226/346/226/271/345/210/206/346/236/220/357/274/210CutFillAnalysis/357/274/211.md +0 -75
  327. package/docs/web/347/253/257//345/212/250/347/224/273-/345/244/251/347/251/272/347/233/222/357/274/210Skybox/357/274/211.md +0 -82
  328. package/docs/web/347/253/257//345/212/250/347/224/273-/346/211/207/345/275/242/346/211/253/346/217/217/357/274/210FanScan/357/274/211.md +0 -65
  329. package/docs/web/347/253/257//345/212/250/347/224/273-/346/216/247/351/253/230/345/210/206/346/236/220/357/274/210HeightLimit/357/274/211.md +0 -63
  330. package/docs/web/347/253/257//345/212/250/347/224/273-/346/260/264/351/235/242/346/225/210/346/236/234/357/274/210WaterEffect/357/274/211.md +0 -63
  331. package/docs/web/347/253/257//345/212/250/347/224/273-/346/261/275/351/233/276/346/225/210/346/236/234/357/274/210SteamEffect/357/274/211.md +0 -70
  332. package/docs/web/347/253/257//345/212/250/347/224/273-/347/203/255/345/212/233/345/233/276/357/274/210HeatMap/357/274/211.md +0 -64
  333. package/docs/web/347/253/257//345/212/250/347/224/273-/347/253/213/344/275/223/351/224/232/347/202/271/357/274/210Anchor/357/274/211.md +0 -100
  334. package/docs/web/347/253/257//345/212/250/347/224/273-/350/201/232/345/205/211/347/201/257/357/274/210SpotLight/357/274/211.md +0 -66
  335. package/docs/web/347/253/257//345/212/250/347/224/273-/350/267/257/345/276/204/346/225/210/346/236/234/357/274/210PathEffect/357/274/211.md +0 -108
  336. package/docs/web/347/253/257//345/212/250/347/224/273-/351/233/252/345/244/251/357/274/210SnowEffect/357/274/211.md +0 -60
  337. package/docs/web/347/253/257//345/257/271/350/261/241-/346/240/221/350/212/202/347/202/271/345/257/271/350/261/241/357/274/210TreeNodeObject/357/274/211.md +0 -353
  338. package/docs/web/347/253/257//345/257/271/350/261/241-/346/250/241/345/236/213/350/212/202/347/202/271/345/257/271/350/261/241/357/274/210segmentObject/357/274/211.md +0 -450
  339. package/docs/web/347/253/257//345/257/271/350/261/241-/350/275/273/351/207/217/345/214/226/346/250/241/345/236/213/357/274/210lightModel/357/274/211.md +0 -641
  340. package/docs/web/347/253/257//345/257/271/350/261/241-/351/222/273/345/255/224/347/273/204/345/257/271/350/261/241/357/274/210BoreholeObjects/357/274/211.md +0 -439
  341. package/docs/web/347/253/257//347/256/241/347/220/206/345/231/250-/344/270/264/346/227/266/345/257/271/350/261/241/347/256/241/347/220/206/345/231/250/357/274/210TemporaryObjectManager/357/274/211.md +0 -208
  342. package/docs/web/347/253/257//347/256/241/347/220/206/345/231/250-/345/212/250/347/224/273/347/256/241/347/220/206/345/231/250/357/274/210AnimationManager/357/274/211.md +0 -370
  343. package/docs/web/347/253/257//347/256/241/347/220/206/345/231/250-/345/217/202/346/225/260/345/214/226/345/207/240/344/275/225/347/256/241/347/220/206/345/231/250/357/274/210ParametricGeometryManager/357/274/211.md +0 -92
  344. package/docs/web/347/253/257//347/256/241/347/220/206/345/231/250-/345/217/202/346/225/260/347/256/241/347/220/206/345/231/250/357/274/210ParameterManager/357/274/211.md +0 -58
  345. package/docs/web/347/253/257//347/256/241/347/220/206/345/231/250-/345/217/257/350/247/206/346/200/247/347/256/241/347/220/206/345/231/250/357/274/210InvisibleManager/357/274/211.md +0 -149
  346. package/docs/web/347/253/257//347/256/241/347/220/206/345/231/250-/345/261/236/346/200/247/347/256/241/347/220/206/345/231/250/357/274/210PropertyManager/357/274/211.md +0 -153
  347. package/docs/web/347/253/257//347/256/241/347/220/206/345/231/250-/346/235/220/350/264/250/347/256/241/347/220/206/345/231/250/357/274/210MaterialManager/357/274/211.md +0 -131
  348. package/docs/web/347/253/257//347/256/241/347/220/206/345/231/250-/346/236/204/344/273/266/347/256/241/347/220/206/345/231/250/357/274/210ComponentManager/357/274/211.md +0 -56
  349. package/docs/web/347/253/257//347/256/241/347/220/206/345/231/250-/347/273/223/346/236/204/346/240/221/347/256/241/347/220/206/345/231/250/357/274/210StructureTreeManager/357/274/211.md +0 -157
  350. package/docs/web/347/253/257//347/256/241/347/220/206/345/231/250-/351/200/211/346/213/251/347/256/241/347/220/206/345/231/250/357/274/210SelectionManager/357/274/211.md +0 -191
  351. package/docs/web/347/253/257//347/256/241/347/220/206/345/231/250-/351/232/224/347/246/273/347/256/241/347/220/206/345/231/250/357/274/210IsolationManager/357/274/211.md +0 -147
  352. package/docs/web/347/253/257//347/256/241/347/220/206/345/231/250-/351/235/242/346/235/277/347/256/241/347/220/206/345/231/250/357/274/210PanelManager/357/274/211.md +0 -71
  353. package/docs/web/347/253/257//347/256/241/347/220/206/345/231/250-/351/253/230/344/272/256/347/256/241/347/220/206/345/231/250/357/274/210HighlightManager/357/274/211.md +0 -127
  354. package/docs/web/347/253/257//351/205/215/347/275/256-/345/212/240/350/275/275/351/200/211/351/241/271/357/274/210LoaderOptions/357/274/211.md +0 -57
  355. package/docs/web/347/253/257//351/205/215/347/275/256-/346/230/276/347/244/272/350/276/271/346/241/206/357/274/210ShowBorder/357/274/211.md +0 -32
  356. package/docs/web/347/253/257//351/205/215/347/275/256-/350/247/206/345/233/276/351/200/211/351/241/271/357/274/210viewerOptions/357/274/211.md +0 -144
  357. package/docs//345/212/240/350/275/275/346/230/276/347/244/272/346/250/241/345/236/213.md +0 -99
  358. package/docs//345/277/253/351/200/237/344/270/212/346/211/213.md +0 -139
  359. package/docs//346/250/241/345/236/213/344/272/244/344/272/222//344/272/213/344/273/266/347/233/221/345/220/254.md +0 -70
  360. package/docs//346/250/241/345/236/213/344/272/244/344/272/222//350/247/206/345/233/276/350/256/276/347/275/256.md +0 -25
  361. package/docs//346/250/241/345/236/213/344/272/244/344/272/222//351/200/211/346/213/251/347/256/241/347/220/206/345/231/250.md +0 -42
  362. package/docs//347/256/200/344/273/213.md +0 -41
  363. package/docs//347/273/223/346/236/204/346/240/221/344/270/216/346/236/204/344/273/266//346/236/204/344/273/266/345/256/232/344/275/215/343/200/201/345/261/236/346/200/247/346/230/276/347/244/272.md +0 -27
  364. package/docs//347/273/223/346/236/204/346/240/221/344/270/216/346/236/204/344/273/266//346/236/204/344/273/266/346/240/267/345/274/217/350/256/276/347/275/256.md +0 -74
  365. package/docs//347/273/223/346/236/204/346/240/221/344/270/216/346/236/204/344/273/266//346/236/204/344/273/266/351/232/220/350/227/217/343/200/201/351/232/224/347/246/273/343/200/201/351/253/230/344/272/256.md +0 -83
  366. package/docs//347/273/223/346/236/204/346/240/221/344/270/216/346/236/204/344/273/266//347/273/223/346/236/204/346/240/221.md +0 -6
  367. package/docs//351/205/215/347/275/256/LoaderOptions.md +0 -29
  368. package/docs//351/205/215/347/275/256/Options.md +0 -177
@@ -1,76 +0,0 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta http-equiv="X-UA-Compatible" content="IE=edge" />
6
- <meta name="viewport" content="width=device-width,initial-scale=1.0" />
7
- <link rel="icon" href="<%= BASE_URL %>favicon.ico" />
8
- <title>轻量化平台</title>
9
- <!-- demo的样式 -->
10
- <link rel="stylesheet" href="https://static.belife-bim.com/demo.css" />
11
- <link
12
- rel="stylesheet"
13
- href="https://static.belife-bim.com/bimAir/BimAir.css"
14
- />
15
- <script src="https://static.belife-bim.com/vue.min.js"></script>
16
- <script src="https://static.belife-bim.com/bimAir/BimAir.umd.min.js"></script>
17
- </head>
18
-
19
- <body>
20
- <div id="app">
21
- <viewer-wrapper elementId="viewer" style="height: 100%; width: 100%" />
22
- </div>
23
-
24
- <script type="text/javascript">
25
- new Vue({
26
- el: "#app",
27
- });
28
- let options = {
29
- // viewerType: "model",
30
- elementId: "viewer",
31
-
32
- modelService: "https://static.belife-bim.com/modelApi",
33
- fileService: "https://static.belife-bim.com/fileApi",
34
- };
35
- BimAir.Loader({ url: "https://static.belife-bim.com/bimAir" }).then(
36
- () => {
37
- let viewer = new BimAir.Viewer(options);
38
- viewer
39
- .loadModels(
40
- [
41
- {
42
- id: "645deee7ae09ef7882f4f283", //别墅
43
- version: 1,
44
- },
45
- ],
46
- true
47
- // true
48
- )
49
- .then((lightModels) => {
50
- // 1、UV动画
51
- let src =
52
- "https://static.belife-bim.com/images/effect/dynamic.png";
53
- let path = [
54
- 11.4, -3.8, 1, 11.1, 13.6, 1, -17.6, 13.9, 1, -17, -2.9, 1,
55
- 11.4, -3.8, 1,
56
- ];
57
- let uvEffectConfig = new BimAir.Animation.UvEffectConfig(
58
- viewer,
59
- "路径1",
60
- path,
61
- 1,
62
- 0,
63
- 0.5,
64
- src,
65
- [1, 1],
66
- true
67
- );
68
-
69
- let uvEffect = new BimAir.Animation.UvEffect(uvEffectConfig);
70
- uvEffect.create();
71
- });
72
- }
73
- );
74
- </script>
75
- </body>
76
- </html>
@@ -1,200 +0,0 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta http-equiv="X-UA-Compatible" content="IE=edge" />
6
- <meta name="viewport" content="width=device-width,initial-scale=1.0" />
7
- <link rel="icon" href="<%= BASE_URL %>favicon.ico" />
8
- <title>轻量化平台</title>
9
- <!-- demo的样式 -->
10
- <link rel="stylesheet" href="https://static.belife-bim.com/demo.css" />
11
- <link
12
- rel="stylesheet"
13
- href="https://static.belife-bim.com/bimAir/BimAir.css"
14
- />
15
- <script src="https://static.belife-bim.com/vue.min.js"></script>
16
- <script src="https://static.belife-bim.com/bimAir/BimAir.umd.min.js"></script>
17
- </head>
18
-
19
- <body>
20
- <div id="app">
21
- <viewer-wrapper elementId="viewer" style="height: 100%; width: 100%" />
22
- </div>
23
-
24
- <script type="text/javascript">
25
- new Vue({
26
- el: "#app",
27
- });
28
- let options = {
29
- elementId: "viewer",
30
- //
31
- isShowLoading: false,
32
- modelService: "https://static.belife-bim.com/modelApi",
33
- fileService: "https://static.belife-bim.com/fileApi",
34
- toolbarVisible: {
35
- leftToolbar: false,
36
- rightToolbar: false,
37
- bottomToolbar: false,
38
- },
39
- components: {
40
- compass: {
41
- visible: false,
42
- },
43
- },
44
- };
45
- let prefix = `/file-service`;
46
- let urls = {
47
- file: (fileService, id) => `${fileService}${prefix}/files/${id}`,
48
- };
49
-
50
- let fileService = {
51
- urls,
52
- };
53
- BimAir.Loader({
54
- isShareArrayBuffer: false,
55
- }).then(() => {
56
- let viewer = new BimAir.Viewer(options);
57
- viewer.sceneSegment.camera.projection =
58
- BimAir.Longan.ProjectionType.Orthographic;
59
- viewer.sceneSegment.renderingOptions
60
- .setCullingMaximumExtent(0)
61
- .setViewFrustumCulling(false);
62
- // this.viewer = viewer;
63
-
64
- let panoramaObject = new BimAir.Longan.PanoramaObject();
65
- viewer.process.addRenderObject(null, panoramaObject);
66
- viewer.renderObject = panoramaObject;
67
-
68
- let textureURL = fileService.urls.file(
69
- options.fileService,
70
- "6375b168dcc0567781358bad"
71
- );
72
- initPanorama(viewer, textureURL, panoramaObject);
73
- viewer.process.commandManager.execute(
74
- new BimAir.Longan.CommandPanoramaModelSelect()
75
- );
76
- });
77
-
78
- function initPanorama(viewer, textureURL, panoramaObject) {
79
- console.log("initPanorama");
80
-
81
- let canvas = document.createElement("canvas");
82
- let context = canvas.getContext("2d");
83
-
84
- let img = new Image();
85
- img.crossOrigin = "Anonymous";
86
- img.src = textureURL;
87
-
88
- img.onload = () => {
89
- console.log("imgloaded");
90
- // 使用Points点列表生成Mesh
91
- // let viewer = this.viewer;
92
-
93
- let imgWidth = img.width;
94
- let imgHeight = img.height;
95
-
96
- // 设置画布尺寸
97
- canvas.width = imgWidth;
98
- canvas.height = imgHeight;
99
-
100
- // 将图片按像素写入画布
101
- context.drawImage(img, 0, 0, imgWidth, imgHeight);
102
-
103
- // 读取图片像素信息
104
- let imageData = context.getImageData(0, 0, imgWidth, imgHeight);
105
-
106
- // 将整个球划分成32 * 32块瓦片
107
- let division = 32;
108
-
109
- BimAir.LonganCore.JS_Open_Segment_By_Key(panoramaObject.segment.key);
110
- {
111
- BimAir.LonganCore.JS_Set_Rendering_Options("cull back face=off");
112
- // LonganCore.JS_UnSet_One_Rendering_Option("lock face color");
113
- let imageName = "panoTexture";
114
- BimAir.LonganCore.JS_Set_Color("faces=(diffuse=" + imageName + ")");
115
- let imageKey = BimAir.LonganCore.JS_Insert_Image(
116
- 0,
117
- 0,
118
- 0,
119
- imgWidth,
120
- imgHeight,
121
- imageData.data,
122
- "name=" + imageName + ",tiling=clamp"
123
- );
124
- BimAir.LonganCore.JS_Set_Selectability("faces=off");
125
-
126
- for (let i = 0; i < division; i++) {
127
- for (let j = 0; j < division; j++) {
128
- let TL = panoramaObject.getLatLonFromTile(j, i, division);
129
- let BR = panoramaObject.getLatLonFromTile(
130
- j + 1,
131
- i + 1,
132
- division
133
- );
134
-
135
- // 每块瓦片划分为16 * 16个顶点
136
- let divNumber = 15;
137
- let pointNumber = divNumber + 1;
138
-
139
- // 生成Mesh点列表
140
- let points = panoramaObject.meshDivisionPolicy(
141
- TL,
142
- BR,
143
- divNumber
144
- );
145
-
146
- // 每个瓦片,生成一个Mesh.
147
- let meshKey = BimAir.LonganCore.JS_Insert_Mesh(
148
- pointNumber,
149
- pointNumber,
150
- points
151
- );
152
-
153
- let UVs = new Array((points.length / 3) * 2);
154
-
155
- for (let m = 0; m < pointNumber; m++) {
156
- for (let n = 0; n < pointNumber; n++) {
157
- UVs[(m * pointNumber + n) * 2 + 0] =
158
- j / division + n / (pointNumber - 1) / division;
159
- UVs[(m * pointNumber + n) * 2 + 1] =
160
- i / division + m / (pointNumber - 1) / division;
161
- }
162
- }
163
-
164
- BimAir.LonganCore.JS_Set_Geometry_Texture_Coords(
165
- meshKey,
166
- 0,
167
- pointNumber * pointNumber,
168
- UVs
169
- );
170
- }
171
- }
172
- }
173
- BimAir.LonganCore.JS_Close_Segment();
174
-
175
- // 设置CameraPos在球体中心
176
- BimAir.LonganCore.JS_Open_Segment_By_Key(viewer.sceneKey);
177
- {
178
- let origin = new Float32Array([0, 0, 0]);
179
- let pos = new Float32Array([0, 1, 0]);
180
- BimAir.Longan.Vector.normalize(pos);
181
- let camUp = BimAir.Longan.Vector.cross(
182
- pos,
183
- new Float32Array([1, 0, 0])
184
- );
185
-
186
- BimAir.LonganCore.JS_Set_Camera_Target(origin);
187
- BimAir.LonganCore.JS_Set_Camera_Position(pos);
188
- BimAir.LonganCore.JS_Set_Camera_Up(camUp);
189
-
190
- BimAir.LonganCore.JS_Set_Camera_Field(300, 300);
191
- }
192
- BimAir.LonganCore.JS_Close_Segment();
193
-
194
- console.log("finish");
195
- viewer.updateDisplay();
196
- };
197
- }
198
- </script>
199
- </body>
200
- </html>
@@ -1,87 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <meta charset="UTF-8" />
5
- <title>分段染色效果</title>
6
- <!-- demo的样式 -->
7
- <link rel="stylesheet" href="https://static.belife-bim.com/demo.css" />
8
- <link
9
- rel="stylesheet"
10
- href="https://static.belife-bim.com/bimAir/BimAir.css"
11
- />
12
- <script src="https://static.belife-bim.com/vue.min.js"></script>
13
- <script src="https://static.belife-bim.com/bimAir/BimAir.umd.min.js"></script>
14
- </head>
15
-
16
- <body>
17
- <div id="app">
18
- <div class="button-group">
19
- <button onclick="createDemo1()">创建分段染色1</button>
20
- <button onclick="createDemo2()">创建分段染色2</button>
21
- </div>
22
- <viewer-wrapper elementId="viewer" style="height: 100%; width: 100%" />
23
- </div>
24
-
25
- <script type="text/javascript">
26
- new Vue({
27
- el: "#app",
28
- });
29
- let options = {
30
- // viewerType: "model",
31
- elementId: "viewer",
32
- modelService: "https://static.belife-bim.com/modelApi",
33
- fileService: "https://static.belife-bim.com/fileApi",
34
- };
35
-
36
- let viewer, lightModels;
37
- BimAir.Loader({ url: "https://static.belife-bim.com/bimAir" }).then(
38
- () => {
39
- viewer = new BimAir.Viewer(options);
40
- viewer.loadModels("6466d7f7d83967080f32b48e").then((res) => {
41
- lightModels = res;
42
- });
43
- }
44
- );
45
-
46
- function createDemo1() {
47
- let regionLimitEffectConfig =
48
- new BimAir.Animation.RegionLimitEffectConfig(
49
- viewer,
50
- lightModels[0],
51
- [],
52
- new Float32Array([-13, 0, 0]),
53
- new Float32Array([1, 0, 0]),
54
- 20,
55
- new Float32Array([0, -40, 0]),
56
- new Float32Array([0, 1, 0]),
57
- 43,
58
- new Float32Array([0, 0, -10]),
59
- new Float32Array([0, 0, 1]),
60
- 20,
61
- new Float32Array([0, 0, 255])
62
- );
63
- let regionLimitEffect = new BimAir.Animation.RegionLimitEffect(regionLimitEffectConfig);
64
- }
65
-
66
- function createDemo2() {
67
- let regionLimitEffectConfig =
68
- new BimAir.Animation.RegionLimitEffectConfig(
69
- viewer,
70
- lightModels[0],
71
- ["451012", "435166"],
72
- null,
73
- null,
74
- null,
75
- null,
76
- null,
77
- null,
78
- new Float32Array([0, 0, -10]),
79
- new Float32Array([0, 0, 1]),
80
- 11,
81
- new Float32Array([0, 255, 0])
82
- );
83
- let regionLimitEffect = new BimAir.Animation.RegionLimitEffect(regionLimitEffectConfig);
84
- }
85
- </script>
86
- </body>
87
- </html>
@@ -1,112 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <meta charset="UTF-8" />
5
- <title>创建扫略</title>
6
- <!-- demo的样式 -->
7
- <link rel="stylesheet" href="https://static.belife-bim.com/demo.css" />
8
- <link
9
- rel="stylesheet"
10
- href="https://static.belife-bim.com/bimAir/BimAir.css"
11
- />
12
- <script src="https://static.belife-bim.com/vue.min.js"></script>
13
- <script src="https://static.belife-bim.com/bimAir/BimAir.umd.min.js"></script>
14
- </head>
15
-
16
- <body>
17
- <div id="app">
18
- <div class="button-group">
19
- <button onclick="create()">创建扫略</button>
20
- </div>
21
- <viewer-wrapper elementId="viewer" style="height: 100%; width: 100%" />
22
- </div>
23
-
24
- <script type="text/javascript">
25
- new Vue({
26
- el: "#app",
27
- });
28
- let options = {
29
- // viewerType: "model",
30
- elementId: "viewer",
31
-
32
- modelService: "https://static.belife-bim.com/modelApi",
33
- fileService: "https://static.belife-bim.com/fileApi",
34
- };
35
-
36
- let viewer;
37
- BimAir.Loader({ url: "https://static.belife-bim.com/bimAir" }).then(
38
- () => {
39
- viewer = new BimAir.Viewer(options);
40
- viewer.loadModels(["626b4d1ebfe39e58ae7b66a2"]).then(() => {});
41
- }
42
- );
43
-
44
- function create() {
45
- let points = [-2, 3, 0, -2, 0, 0, -2, 0, 0, 2, 0, 0, 2, 0, 0, 2, 3, 0];
46
- let circle_points = BimAir.Longan.GeometryOperators.createRingPoints(
47
- new Float32Array([0, 3, 0]),
48
- new Float32Array([1, 0, 0]),
49
- new Float32Array([0, 1, 0]),
50
- new Float32Array([
51
- 0,
52
- Math.PI / 4,
53
- Math.PI / 2,
54
- (Math.PI * 3) / 4,
55
- Math.PI,
56
- ]),
57
- 2
58
- );
59
- for (let i = 0; i < circle_points.length; i++) {
60
- points.push(circle_points[i]);
61
- }
62
-
63
- let indexes = [points.length / 3];
64
- for (let i = 0; i < points.length / 3; i++) {
65
- indexes.push(i);
66
- }
67
- // 重复点显示转折
68
- let inner_points = [
69
- 1.8, 3, 0, 1.8, 0.2, 0, 1.8, 0.2, 0, -1.8, 0.2, 0, -1.8, 0.2, 0, -1.8,
70
- 3, 0,
71
- ];
72
- circle_points = BimAir.Longan.GeometryOperators.createRingPoints(
73
- new Float32Array([0, 3, 0]),
74
- new Float32Array([1, 0, 0]),
75
- new Float32Array([0, 1, 0]),
76
- new Float32Array([
77
- Math.PI,
78
- (Math.PI * 3) / 4,
79
- Math.PI / 2,
80
- Math.PI / 4,
81
- 0,
82
- ]),
83
- 1.8
84
- );
85
- for (let i = 0; i < circle_points.length; i++) {
86
- inner_points.push(circle_points[i]);
87
- }
88
-
89
- indexes.push(-inner_points.length / 3);
90
- for (let i = 0; i < inner_points.length / 3; i++) {
91
- indexes.push(i + points.length / 3);
92
- }
93
-
94
- console.log("indexes", indexes);
95
-
96
- points = points.concat(inner_points);
97
-
98
- console.log("points", points);
99
- // 重复点显示转折
100
- let path = [1, 1, 0, 1, 1, 10, 1, 1, 10, 2, 1, 20];
101
-
102
- viewer.utilitySegment.sweepByShell(
103
- points,
104
- indexes,
105
- path,
106
- "normal=(0,0,1)"
107
- );
108
- viewer.updateDisplay();
109
- }
110
- </script>
111
- </body>
112
- </html>
@@ -1,67 +0,0 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta http-equiv="X-UA-Compatible" content="IE=edge" />
6
- <meta name="viewport" content="width=device-width,initial-scale=1.0" />
7
- <link rel="icon" href="<%= BASE_URL %>favicon.ico" />
8
- <title>轻量化平台</title>
9
- <!-- demo的样式 -->
10
- <link rel="stylesheet" href="https://static.belife-bim.com/demo.css" />
11
- <link
12
- rel="stylesheet"
13
- href="https://static.belife-bim.com/bimAir/BimAir.css"
14
- />
15
- <script src="https://static.belife-bim.com/vue.min.js"></script>
16
- <script src="https://static.belife-bim.com/bimAir/BimAir.umd.min.js"></script>
17
- </head>
18
-
19
- <body>
20
- <div id="app">
21
- <div class="button-group">
22
- <button onclick="create()">创建路径</button>
23
- </div>
24
- <viewer-wrapper elementId="viewer" style="height: 100%; width: 100%" />
25
- </div>
26
-
27
- <script type="text/javascript">
28
- new Vue({
29
- el: "#app",
30
- });
31
- let options = {
32
- // viewerType: "model",
33
- elementId: "viewer",
34
-
35
- modelService: "https://static.belife-bim.com/modelApi",
36
- fileService: "https://static.belife-bim.com/fileApi",
37
- };
38
-
39
- let viewer;
40
- BimAir.Loader({ url: "https://static.belife-bim.com/bimAir" }).then(
41
- () => {
42
- viewer = new BimAir.Viewer(options);
43
- viewer.loadModels("645dee3cae09ef7882f4f245");
44
- }
45
- );
46
-
47
- function create() {
48
- let path = [
49
- -71.673, -40.075, 0.2, -58.86, -37.862, 0.2, -38.328, -39.704, 0.2,
50
- 20.33, -56.514, 0.2,
51
- ];
52
- let pathEffectConfig = new BimAir.Animation.PathEffectConfig(
53
- viewer,
54
- "路径1",
55
- path,
56
- 4,
57
- 0.03
58
- );
59
- let pathEffect = new BimAir.Animation.PathEffect(pathEffectConfig);
60
- pathEffect.createPath().then(() => {
61
- let path1 = viewer.getLightModel("路径1");
62
- viewer.setViewMode(BimAir.Longan.ViewMode.Iso, true);
63
- });
64
- }
65
- </script>
66
- </body>
67
- </html>
@@ -1,123 +0,0 @@
1
- <head>
2
- <meta charset="UTF-8">
3
- <title>动态创建电子围栏操作</title>
4
- <link rel="stylesheet" href="https://static.graphicstone.com/bimAir/BimAir.css">
5
- <script src="https://static.graphicstone.com/vue.min.js"></script>
6
- <script src="https://static.graphicstone.com/bimAir/BimAir.umd.min.js"></script>
7
- </link>
8
-
9
- </head>
10
-
11
- <body>
12
- <style>
13
- body {
14
- margin: 0;
15
- padding: 0;
16
- height: 100vh;
17
- }
18
-
19
- #app {
20
- height: 100vh;
21
- position: relative;
22
- }
23
- </style>
24
- <div id="app">
25
- <!-- <div id="viewer">
26
- </div> -->
27
- <div class="button-group">
28
- <button onclick="createWallCommandBrgin()">开启创建围栏</button>
29
- <button onclick="createWallCommandEnd()">结束创建围栏</button>
30
- <button onclick="saveWall()">保存围栏</button>
31
- <button onclick="deleteWall()">删除围栏</button>
32
- <button onclick="isExistWall()">判断是否存在围栏</button>
33
- <button onclick="isInside()">判断点是否在围栏内</button>
34
- </div>
35
- <viewer-wrapper elementId="viewer" style="height: 100%; width: 100%" />
36
-
37
- </div>
38
-
39
- <script type="text/javascript">
40
- new Vue({
41
- el: '#app',
42
- });
43
-
44
- let options = {
45
- // viewerType: "model",
46
- elementId: "viewer",
47
- id: "6253e9d6b0545a0a6e49bf85",
48
- modelService: "https://static.graphicstone.com/modelApi",
49
- fileService: "https://static.graphicstone.com/fileApi",
50
- background: "linear-gradient(#e3fcfc, #f6ffff)",
51
- }
52
- let viewer
53
- let createWallCommand
54
- BimAir.Loader({ url: "https://static.graphicstone.com/bimAir" }).then(() => {
55
- viewer = new BimAir.Viewer(options)
56
- viewer.loadModels(["626b4d1ebfe39e58ae7b66a2"]).then((lightModels) => {
57
- let lightModel = lightModels[0];
58
-
59
- BimAir.Command.CommandCreateWall.addWallObject = (path) => {
60
- let src = "https://static.graphicstone.com/images/wall/wall.png"
61
- let wallEffectConfig = new BimAir.Animation.WallEffectConfig(viewer, "围栏1", path, 10, src);
62
- let wallEffect = new BimAir.Animation.WallEffect(wallEffectConfig);
63
- wallEffect.createWall().then(() => {
64
- console.log("-----updateDisplay")
65
- viewer.updateDisplay()
66
- })
67
- }
68
- });
69
- })
70
-
71
- function createWallCommandBrgin() {
72
- // 开始绘制围墙
73
- viewer.process.commandManager.execute(new BimAir.Command.CommandCreateWall())
74
- }
75
-
76
- function createWallCommandEnd() {
77
- // 结束绘制围墙,恢复默认命令
78
- viewer.process.commandManager.execute(new BimAir.Command.CommandSelect())
79
-
80
- }
81
-
82
- function saveWall() {
83
- viewer.save();
84
- }
85
-
86
- function deleteWall() {
87
- let wall = viewer.getWallEffect("围栏1")
88
- if (wall) {
89
- wall.deleteWall()
90
- }
91
- }
92
-
93
- function isExistWall() {
94
- let wall = viewer.getWallEffect("围栏1")
95
- if (wall) {
96
- wall.hide()
97
- wall.deleteWall()
98
-
99
- }
100
- else {
101
- console.log("不存在")
102
- }
103
- }
104
-
105
- function isInside() {
106
- let walls = viewer.getAllWallEffects();
107
- let point = [25, 25, 0];
108
- for (let i = 0; i < walls.length; i++) {
109
- if (walls[i].isInside(point)) {
110
- //设置颜色
111
- wallEffect.setColor(255, 0, 0);
112
- }
113
- else {
114
- //取消设置
115
- wallEffect.unSetColor();
116
- }
117
- }
118
- }
119
- </script>
120
-
121
- </body>
122
-
123
- </html>