@itwin/core-common 4.10.0-dev.20 → 4.10.0-dev.22

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 (347) hide show
  1. package/lib/cjs/AmbientOcclusion.js.map +1 -1
  2. package/lib/cjs/AnalysisStyle.js.map +1 -1
  3. package/lib/cjs/Atmosphere.js.map +1 -1
  4. package/lib/cjs/AuthorizationClient.js.map +1 -1
  5. package/lib/cjs/BackendTypes.js.map +1 -1
  6. package/lib/cjs/BackgroundMapProvider.js.map +1 -1
  7. package/lib/cjs/BackgroundMapSettings.js.map +1 -1
  8. package/lib/cjs/Base64EncodedString.js.map +1 -1
  9. package/lib/cjs/BlobReader.js.map +1 -1
  10. package/lib/cjs/BriefcaseTypes.js.map +1 -1
  11. package/lib/cjs/Camera.js.map +1 -1
  12. package/lib/cjs/ChangedElements.js.map +1 -1
  13. package/lib/cjs/ChangedEntities.js.map +1 -1
  14. package/lib/cjs/ChangesetProps.js.map +1 -1
  15. package/lib/cjs/ClipStyle.js.map +1 -1
  16. package/lib/cjs/Code.js.map +1 -1
  17. package/lib/cjs/ColorByName.js.map +1 -1
  18. package/lib/cjs/ColorDef.js.map +1 -1
  19. package/lib/cjs/CommonLoggerCategory.js.map +1 -1
  20. package/lib/cjs/ConcurrentQuery.js.map +1 -1
  21. package/lib/cjs/ContextRealityModel.js.map +1 -1
  22. package/lib/cjs/ContourDisplay.d.ts +216 -0
  23. package/lib/cjs/ContourDisplay.d.ts.map +1 -0
  24. package/lib/cjs/ContourDisplay.js +300 -0
  25. package/lib/cjs/ContourDisplay.js.map +1 -0
  26. package/lib/cjs/DisplayStyleSettings.d.ts +9 -0
  27. package/lib/cjs/DisplayStyleSettings.d.ts.map +1 -1
  28. package/lib/cjs/DisplayStyleSettings.js +16 -0
  29. package/lib/cjs/DisplayStyleSettings.js.map +1 -1
  30. package/lib/cjs/ECSchemaProps.js.map +1 -1
  31. package/lib/cjs/ECSqlReader.js.map +1 -1
  32. package/lib/cjs/ECSqlTypes.js.map +1 -1
  33. package/lib/cjs/ElementMesh.js.map +1 -1
  34. package/lib/cjs/ElementProps.js.map +1 -1
  35. package/lib/cjs/EmphasizeElementsProps.js.map +1 -1
  36. package/lib/cjs/EntityProps.js.map +1 -1
  37. package/lib/cjs/EntityReference.js.map +1 -1
  38. package/lib/cjs/Environment.js.map +1 -1
  39. package/lib/cjs/FeatureIndex.js.map +1 -1
  40. package/lib/cjs/FeatureSymbology.js.map +1 -1
  41. package/lib/cjs/FeatureTable.js.map +1 -1
  42. package/lib/cjs/Fonts.js.map +1 -1
  43. package/lib/cjs/Frustum.js.map +1 -1
  44. package/lib/cjs/GenericInstanceFilter.js.map +1 -1
  45. package/lib/cjs/GeoCoordinateServices.js.map +1 -1
  46. package/lib/cjs/GeometryContainment.js.map +1 -1
  47. package/lib/cjs/GeometryParams.js.map +1 -1
  48. package/lib/cjs/GeometrySummary.js.map +1 -1
  49. package/lib/cjs/Gradient.js.map +1 -1
  50. package/lib/cjs/GraphicParams.js.map +1 -1
  51. package/lib/cjs/GroundPlane.js.map +1 -1
  52. package/lib/cjs/HSLColor.js.map +1 -1
  53. package/lib/cjs/HSVColor.js.map +1 -1
  54. package/lib/cjs/HiddenLine.js.map +1 -1
  55. package/lib/cjs/Hilite.js.map +1 -1
  56. package/lib/cjs/IModel.js.map +1 -1
  57. package/lib/cjs/IModelError.js.map +1 -1
  58. package/lib/cjs/IModelVersion.js.map +1 -1
  59. package/lib/cjs/Image.js.map +1 -1
  60. package/lib/cjs/IpcAppProps.js.map +1 -1
  61. package/lib/cjs/LightSettings.js.map +1 -1
  62. package/lib/cjs/LinePixels.js.map +1 -1
  63. package/lib/cjs/Localization.js.map +1 -1
  64. package/lib/cjs/MapImagerySettings.js.map +1 -1
  65. package/lib/cjs/MapLayerSettings.js.map +1 -1
  66. package/lib/cjs/MassProperties.js.map +1 -1
  67. package/lib/cjs/MaterialProps.js.map +1 -1
  68. package/lib/cjs/ModelClipGroup.js.map +1 -1
  69. package/lib/cjs/ModelGeometryChanges.js.map +1 -1
  70. package/lib/cjs/ModelProps.js.map +1 -1
  71. package/lib/cjs/NativeAppProps.js.map +1 -1
  72. package/lib/cjs/OctEncodedNormal.js.map +1 -1
  73. package/lib/cjs/PlanProjectionSettings.js.map +1 -1
  74. package/lib/cjs/PlanarClipMask.js.map +1 -1
  75. package/lib/cjs/QPoint.js.map +1 -1
  76. package/lib/cjs/RealityDataAccessProps.js.map +1 -1
  77. package/lib/cjs/RealityModelDisplaySettings.js.map +1 -1
  78. package/lib/cjs/Render.js.map +1 -1
  79. package/lib/cjs/RenderMaterial.js.map +1 -1
  80. package/lib/cjs/RenderTexture.js.map +1 -1
  81. package/lib/cjs/RgbColor.js.map +1 -1
  82. package/lib/cjs/RpcInterface.js.map +1 -1
  83. package/lib/cjs/RpcManager.js.map +1 -1
  84. package/lib/cjs/SessionProps.js.map +1 -1
  85. package/lib/cjs/SkyBox.js.map +1 -1
  86. package/lib/cjs/SolarCalculate.js.map +1 -1
  87. package/lib/cjs/SolarShadows.js.map +1 -1
  88. package/lib/cjs/SpatialClassification.js.map +1 -1
  89. package/lib/cjs/SubCategoryAppearance.js.map +1 -1
  90. package/lib/cjs/SubCategoryOverride.js.map +1 -1
  91. package/lib/cjs/TerrainSettings.js.map +1 -1
  92. package/lib/cjs/TextureMapping.js.map +1 -1
  93. package/lib/cjs/TextureProps.js.map +1 -1
  94. package/lib/cjs/ThematicDisplay.js.map +1 -1
  95. package/lib/cjs/Thumbnail.js.map +1 -1
  96. package/lib/cjs/TileProps.js.map +1 -1
  97. package/lib/cjs/Tween.js.map +1 -1
  98. package/lib/cjs/TxnAction.js.map +1 -1
  99. package/lib/cjs/ViewDetails.js.map +1 -1
  100. package/lib/cjs/ViewFlags.js.map +1 -1
  101. package/lib/cjs/ViewProps.js.map +1 -1
  102. package/lib/cjs/WhiteOnWhiteReversalSettings.js.map +1 -1
  103. package/lib/cjs/annotation/TextAnnotation.js.map +1 -1
  104. package/lib/cjs/annotation/TextBlock.js.map +1 -1
  105. package/lib/cjs/annotation/TextBlockGeometryProps.js.map +1 -1
  106. package/lib/cjs/annotation/TextBlockLayoutResult.js.map +1 -1
  107. package/lib/cjs/annotation/TextStyle.js.map +1 -1
  108. package/lib/cjs/core-common.d.ts +1 -0
  109. package/lib/cjs/core-common.d.ts.map +1 -1
  110. package/lib/cjs/core-common.js +1 -0
  111. package/lib/cjs/core-common.js.map +1 -1
  112. package/lib/cjs/domains/FunctionalElementProps.js.map +1 -1
  113. package/lib/cjs/domains/GenericElementProps.js.map +1 -1
  114. package/lib/cjs/geometry/AdditionalTransform.js.map +1 -1
  115. package/lib/cjs/geometry/AreaPattern.js.map +1 -1
  116. package/lib/cjs/geometry/BoundingSphere.js.map +1 -1
  117. package/lib/cjs/geometry/Cartographic.js.map +1 -1
  118. package/lib/cjs/geometry/CoordinateReferenceSystem.js.map +1 -1
  119. package/lib/cjs/geometry/ElementGeometry.js.map +1 -1
  120. package/lib/cjs/geometry/ElementGeometryFB.js.map +1 -1
  121. package/lib/cjs/geometry/FrustumPlanes.js.map +1 -1
  122. package/lib/cjs/geometry/GeodeticDatum.js.map +1 -1
  123. package/lib/cjs/geometry/GeodeticEllipsoid.js.map +1 -1
  124. package/lib/cjs/geometry/GeometryStream.js.map +1 -1
  125. package/lib/cjs/geometry/ImageGraphic.js.map +1 -1
  126. package/lib/cjs/geometry/LineStyle.js.map +1 -1
  127. package/lib/cjs/geometry/Placement.js.map +1 -1
  128. package/lib/cjs/geometry/Projection.js.map +1 -1
  129. package/lib/cjs/geometry/TextString.js.map +1 -1
  130. package/lib/cjs/internal/Snapping.js.map +1 -1
  131. package/lib/cjs/internal/cross-package.js.map +1 -1
  132. package/lib/cjs/ipc/IpcSession.js.map +1 -1
  133. package/lib/cjs/ipc/IpcSocket.js.map +1 -1
  134. package/lib/cjs/ipc/IpcWebSocket.js.map +1 -1
  135. package/lib/cjs/ipc/IpcWebSocketTransport.js.map +1 -1
  136. package/lib/cjs/rpc/DevToolsRpcInterface.js.map +1 -1
  137. package/lib/cjs/rpc/IModelReadRpcInterface.js.map +1 -1
  138. package/lib/cjs/rpc/IModelTileRpcInterface.js.map +1 -1
  139. package/lib/cjs/rpc/SnapshotIModelRpcInterface.js.map +1 -1
  140. package/lib/cjs/rpc/TestRpcManager.js.map +1 -1
  141. package/lib/cjs/rpc/WipRpcInterface.js.map +1 -1
  142. package/lib/cjs/rpc/core/RpcConfiguration.js.map +1 -1
  143. package/lib/cjs/rpc/core/RpcConstants.js.map +1 -1
  144. package/lib/cjs/rpc/core/RpcControl.js.map +1 -1
  145. package/lib/cjs/rpc/core/RpcInvocation.js.map +1 -1
  146. package/lib/cjs/rpc/core/RpcMarshaling.js.map +1 -1
  147. package/lib/cjs/rpc/core/RpcOperation.js.map +1 -1
  148. package/lib/cjs/rpc/core/RpcPendingQueue.js.map +1 -1
  149. package/lib/cjs/rpc/core/RpcProtocol.js.map +1 -1
  150. package/lib/cjs/rpc/core/RpcPush.js.map +1 -1
  151. package/lib/cjs/rpc/core/RpcRegistry.js.map +1 -1
  152. package/lib/cjs/rpc/core/RpcRequest.js.map +1 -1
  153. package/lib/cjs/rpc/core/RpcRequestContext.js.map +1 -1
  154. package/lib/cjs/rpc/core/RpcRoutingToken.js.map +1 -1
  155. package/lib/cjs/rpc/core/RpcSessionInvocation.js.map +1 -1
  156. package/lib/cjs/rpc/web/BentleyCloudRpcManager.js.map +1 -1
  157. package/lib/cjs/rpc/web/BentleyCloudRpcProtocol.js.map +1 -1
  158. package/lib/cjs/rpc/web/OpenAPI.js.map +1 -1
  159. package/lib/cjs/rpc/web/RpcMultipart.js.map +1 -1
  160. package/lib/cjs/rpc/web/WebAppRpcLogging.js.map +1 -1
  161. package/lib/cjs/rpc/web/WebAppRpcProtocol.js.map +1 -1
  162. package/lib/cjs/rpc/web/WebAppRpcRequest.js.map +1 -1
  163. package/lib/cjs/rpc/web/multipart/RpcMultipartParser.js.map +1 -1
  164. package/lib/cjs/tile/B3dmTileIO.js.map +1 -1
  165. package/lib/cjs/tile/CompositeTileIO.js.map +1 -1
  166. package/lib/cjs/tile/ElementGraphics.js.map +1 -1
  167. package/lib/cjs/tile/GltfTileIO.js.map +1 -1
  168. package/lib/cjs/tile/I3dmTileIO.js.map +1 -1
  169. package/lib/cjs/tile/IModelTileIO.js.map +1 -1
  170. package/lib/cjs/tile/PntsTileIO.js.map +1 -1
  171. package/lib/cjs/tile/TileIO.js.map +1 -1
  172. package/lib/cjs/tile/TileMetadata.js.map +1 -1
  173. package/lib/cjs/tile/Tileset3dSchema.js.map +1 -1
  174. package/lib/esm/AmbientOcclusion.js.map +1 -1
  175. package/lib/esm/AnalysisStyle.js.map +1 -1
  176. package/lib/esm/Atmosphere.js.map +1 -1
  177. package/lib/esm/AuthorizationClient.js.map +1 -1
  178. package/lib/esm/BackendTypes.js.map +1 -1
  179. package/lib/esm/BackgroundMapProvider.js.map +1 -1
  180. package/lib/esm/BackgroundMapSettings.js.map +1 -1
  181. package/lib/esm/Base64EncodedString.js.map +1 -1
  182. package/lib/esm/BlobReader.js.map +1 -1
  183. package/lib/esm/BriefcaseTypes.js.map +1 -1
  184. package/lib/esm/Camera.js.map +1 -1
  185. package/lib/esm/ChangedElements.js.map +1 -1
  186. package/lib/esm/ChangedEntities.js.map +1 -1
  187. package/lib/esm/ChangesetProps.js.map +1 -1
  188. package/lib/esm/ClipStyle.js.map +1 -1
  189. package/lib/esm/Code.js.map +1 -1
  190. package/lib/esm/ColorByName.js.map +1 -1
  191. package/lib/esm/ColorDef.js.map +1 -1
  192. package/lib/esm/CommonLoggerCategory.js.map +1 -1
  193. package/lib/esm/ConcurrentQuery.js.map +1 -1
  194. package/lib/esm/ContextRealityModel.js.map +1 -1
  195. package/lib/esm/ContourDisplay.d.ts +216 -0
  196. package/lib/esm/ContourDisplay.d.ts.map +1 -0
  197. package/lib/esm/ContourDisplay.js +293 -0
  198. package/lib/esm/ContourDisplay.js.map +1 -0
  199. package/lib/esm/DisplayStyleSettings.d.ts +9 -0
  200. package/lib/esm/DisplayStyleSettings.d.ts.map +1 -1
  201. package/lib/esm/DisplayStyleSettings.js +16 -0
  202. package/lib/esm/DisplayStyleSettings.js.map +1 -1
  203. package/lib/esm/ECSchemaProps.js.map +1 -1
  204. package/lib/esm/ECSqlReader.js.map +1 -1
  205. package/lib/esm/ECSqlTypes.js.map +1 -1
  206. package/lib/esm/ElementMesh.js.map +1 -1
  207. package/lib/esm/ElementProps.js.map +1 -1
  208. package/lib/esm/EmphasizeElementsProps.js.map +1 -1
  209. package/lib/esm/EntityProps.js.map +1 -1
  210. package/lib/esm/EntityReference.js.map +1 -1
  211. package/lib/esm/Environment.js.map +1 -1
  212. package/lib/esm/FeatureIndex.js.map +1 -1
  213. package/lib/esm/FeatureSymbology.js.map +1 -1
  214. package/lib/esm/FeatureTable.js.map +1 -1
  215. package/lib/esm/Fonts.js.map +1 -1
  216. package/lib/esm/Frustum.js.map +1 -1
  217. package/lib/esm/GenericInstanceFilter.js.map +1 -1
  218. package/lib/esm/GeoCoordinateServices.js.map +1 -1
  219. package/lib/esm/GeometryContainment.js.map +1 -1
  220. package/lib/esm/GeometryParams.js.map +1 -1
  221. package/lib/esm/GeometrySummary.js.map +1 -1
  222. package/lib/esm/Gradient.js.map +1 -1
  223. package/lib/esm/GraphicParams.js.map +1 -1
  224. package/lib/esm/GroundPlane.js.map +1 -1
  225. package/lib/esm/HSLColor.js.map +1 -1
  226. package/lib/esm/HSVColor.js.map +1 -1
  227. package/lib/esm/HiddenLine.js.map +1 -1
  228. package/lib/esm/Hilite.js.map +1 -1
  229. package/lib/esm/IModel.js.map +1 -1
  230. package/lib/esm/IModelError.js.map +1 -1
  231. package/lib/esm/IModelVersion.js.map +1 -1
  232. package/lib/esm/Image.js.map +1 -1
  233. package/lib/esm/IpcAppProps.js.map +1 -1
  234. package/lib/esm/LightSettings.js.map +1 -1
  235. package/lib/esm/LinePixels.js.map +1 -1
  236. package/lib/esm/Localization.js.map +1 -1
  237. package/lib/esm/MapImagerySettings.js.map +1 -1
  238. package/lib/esm/MapLayerSettings.js.map +1 -1
  239. package/lib/esm/MassProperties.js.map +1 -1
  240. package/lib/esm/MaterialProps.js.map +1 -1
  241. package/lib/esm/ModelClipGroup.js.map +1 -1
  242. package/lib/esm/ModelGeometryChanges.js.map +1 -1
  243. package/lib/esm/ModelProps.js.map +1 -1
  244. package/lib/esm/NativeAppProps.js.map +1 -1
  245. package/lib/esm/OctEncodedNormal.js.map +1 -1
  246. package/lib/esm/PlanProjectionSettings.js.map +1 -1
  247. package/lib/esm/PlanarClipMask.js.map +1 -1
  248. package/lib/esm/QPoint.js.map +1 -1
  249. package/lib/esm/RealityDataAccessProps.js.map +1 -1
  250. package/lib/esm/RealityModelDisplaySettings.js.map +1 -1
  251. package/lib/esm/Render.js.map +1 -1
  252. package/lib/esm/RenderMaterial.js.map +1 -1
  253. package/lib/esm/RenderTexture.js.map +1 -1
  254. package/lib/esm/RgbColor.js.map +1 -1
  255. package/lib/esm/RpcInterface.js.map +1 -1
  256. package/lib/esm/RpcManager.js.map +1 -1
  257. package/lib/esm/SessionProps.js.map +1 -1
  258. package/lib/esm/SkyBox.js.map +1 -1
  259. package/lib/esm/SolarCalculate.js.map +1 -1
  260. package/lib/esm/SolarShadows.js.map +1 -1
  261. package/lib/esm/SpatialClassification.js.map +1 -1
  262. package/lib/esm/SubCategoryAppearance.js.map +1 -1
  263. package/lib/esm/SubCategoryOverride.js.map +1 -1
  264. package/lib/esm/TerrainSettings.js.map +1 -1
  265. package/lib/esm/TextureMapping.js.map +1 -1
  266. package/lib/esm/TextureProps.js.map +1 -1
  267. package/lib/esm/ThematicDisplay.js.map +1 -1
  268. package/lib/esm/Thumbnail.js.map +1 -1
  269. package/lib/esm/TileProps.js.map +1 -1
  270. package/lib/esm/Tween.js.map +1 -1
  271. package/lib/esm/TxnAction.js.map +1 -1
  272. package/lib/esm/ViewDetails.js.map +1 -1
  273. package/lib/esm/ViewFlags.js.map +1 -1
  274. package/lib/esm/ViewProps.js.map +1 -1
  275. package/lib/esm/WhiteOnWhiteReversalSettings.js.map +1 -1
  276. package/lib/esm/annotation/TextAnnotation.js.map +1 -1
  277. package/lib/esm/annotation/TextBlock.js.map +1 -1
  278. package/lib/esm/annotation/TextBlockGeometryProps.js.map +1 -1
  279. package/lib/esm/annotation/TextBlockLayoutResult.js.map +1 -1
  280. package/lib/esm/annotation/TextStyle.js.map +1 -1
  281. package/lib/esm/core-common.d.ts +1 -0
  282. package/lib/esm/core-common.d.ts.map +1 -1
  283. package/lib/esm/core-common.js +1 -0
  284. package/lib/esm/core-common.js.map +1 -1
  285. package/lib/esm/domains/FunctionalElementProps.js.map +1 -1
  286. package/lib/esm/domains/GenericElementProps.js.map +1 -1
  287. package/lib/esm/geometry/AdditionalTransform.js.map +1 -1
  288. package/lib/esm/geometry/AreaPattern.js.map +1 -1
  289. package/lib/esm/geometry/BoundingSphere.js.map +1 -1
  290. package/lib/esm/geometry/Cartographic.js.map +1 -1
  291. package/lib/esm/geometry/CoordinateReferenceSystem.js.map +1 -1
  292. package/lib/esm/geometry/ElementGeometry.js.map +1 -1
  293. package/lib/esm/geometry/ElementGeometryFB.js.map +1 -1
  294. package/lib/esm/geometry/FrustumPlanes.js.map +1 -1
  295. package/lib/esm/geometry/GeodeticDatum.js.map +1 -1
  296. package/lib/esm/geometry/GeodeticEllipsoid.js.map +1 -1
  297. package/lib/esm/geometry/GeometryStream.js.map +1 -1
  298. package/lib/esm/geometry/ImageGraphic.js.map +1 -1
  299. package/lib/esm/geometry/LineStyle.js.map +1 -1
  300. package/lib/esm/geometry/Placement.js.map +1 -1
  301. package/lib/esm/geometry/Projection.js.map +1 -1
  302. package/lib/esm/geometry/TextString.js.map +1 -1
  303. package/lib/esm/internal/Snapping.js.map +1 -1
  304. package/lib/esm/internal/cross-package.js.map +1 -1
  305. package/lib/esm/ipc/IpcSession.js.map +1 -1
  306. package/lib/esm/ipc/IpcSocket.js.map +1 -1
  307. package/lib/esm/ipc/IpcWebSocket.js.map +1 -1
  308. package/lib/esm/ipc/IpcWebSocketTransport.js.map +1 -1
  309. package/lib/esm/rpc/DevToolsRpcInterface.js.map +1 -1
  310. package/lib/esm/rpc/IModelReadRpcInterface.js.map +1 -1
  311. package/lib/esm/rpc/IModelTileRpcInterface.js.map +1 -1
  312. package/lib/esm/rpc/SnapshotIModelRpcInterface.js.map +1 -1
  313. package/lib/esm/rpc/TestRpcManager.js.map +1 -1
  314. package/lib/esm/rpc/WipRpcInterface.js.map +1 -1
  315. package/lib/esm/rpc/core/RpcConfiguration.js.map +1 -1
  316. package/lib/esm/rpc/core/RpcConstants.js.map +1 -1
  317. package/lib/esm/rpc/core/RpcControl.js.map +1 -1
  318. package/lib/esm/rpc/core/RpcInvocation.js.map +1 -1
  319. package/lib/esm/rpc/core/RpcMarshaling.js.map +1 -1
  320. package/lib/esm/rpc/core/RpcOperation.js.map +1 -1
  321. package/lib/esm/rpc/core/RpcPendingQueue.js.map +1 -1
  322. package/lib/esm/rpc/core/RpcProtocol.js.map +1 -1
  323. package/lib/esm/rpc/core/RpcPush.js.map +1 -1
  324. package/lib/esm/rpc/core/RpcRegistry.js.map +1 -1
  325. package/lib/esm/rpc/core/RpcRequest.js.map +1 -1
  326. package/lib/esm/rpc/core/RpcRequestContext.js.map +1 -1
  327. package/lib/esm/rpc/core/RpcRoutingToken.js.map +1 -1
  328. package/lib/esm/rpc/core/RpcSessionInvocation.js.map +1 -1
  329. package/lib/esm/rpc/web/BentleyCloudRpcManager.js.map +1 -1
  330. package/lib/esm/rpc/web/BentleyCloudRpcProtocol.js.map +1 -1
  331. package/lib/esm/rpc/web/OpenAPI.js.map +1 -1
  332. package/lib/esm/rpc/web/RpcMultipart.js.map +1 -1
  333. package/lib/esm/rpc/web/WebAppRpcLogging.js.map +1 -1
  334. package/lib/esm/rpc/web/WebAppRpcProtocol.js.map +1 -1
  335. package/lib/esm/rpc/web/WebAppRpcRequest.js.map +1 -1
  336. package/lib/esm/rpc/web/multipart/RpcMultipartParser.js.map +1 -1
  337. package/lib/esm/tile/B3dmTileIO.js.map +1 -1
  338. package/lib/esm/tile/CompositeTileIO.js.map +1 -1
  339. package/lib/esm/tile/ElementGraphics.js.map +1 -1
  340. package/lib/esm/tile/GltfTileIO.js.map +1 -1
  341. package/lib/esm/tile/I3dmTileIO.js.map +1 -1
  342. package/lib/esm/tile/IModelTileIO.js.map +1 -1
  343. package/lib/esm/tile/PntsTileIO.js.map +1 -1
  344. package/lib/esm/tile/TileIO.js.map +1 -1
  345. package/lib/esm/tile/TileMetadata.js.map +1 -1
  346. package/lib/esm/tile/Tileset3dSchema.js.map +1 -1
  347. package/package.json +6 -6
@@ -0,0 +1,293 @@
1
+ /*---------------------------------------------------------------------------------------------
2
+ * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
3
+ * See LICENSE.md in the project root for license terms and full copyright notice.
4
+ *--------------------------------------------------------------------------------------------*/
5
+ /** @packageDocumentation
6
+ * @module Symbology
7
+ */
8
+ import { compareBooleans, compareNumbers, CompressedId64Set, OrderedId64Iterable } from "@itwin/core-bentley";
9
+ import { LinePixels } from "./LinePixels";
10
+ import { RgbColor } from "./RgbColor";
11
+ /** The style settings used by either a minor or major contour.
12
+ * @see [[Contour.majorStyle]]
13
+ * @see [[Contour.minorStyle]]
14
+ * @public
15
+ */
16
+ export class ContourStyle {
17
+ /** Returns true if `this` and `other` are logically equivalent. */
18
+ equals(other) {
19
+ if (!this.color.equals(other.color) || this.pixelWidth !== other.pixelWidth || this.pattern !== other.pattern) {
20
+ return false;
21
+ }
22
+ return true;
23
+ }
24
+ /** Performs ordered comparison of two contour styles.
25
+ * @param lhs First contour style to compare
26
+ * @param rhs Second contour style to compare
27
+ * @returns 0 if lhs is equivalent to rhs, a negative number if lhs compares less than rhs, or a positive number if lhs compares greater than rhs.
28
+ * @public
29
+ */
30
+ static compare(lhs, rhs) {
31
+ let diff = 0;
32
+ if ((diff = lhs.color.compareTo(rhs.color)) !== 0)
33
+ return diff;
34
+ if ((diff = compareNumbers(lhs.pixelWidth, rhs.pixelWidth)) !== 0)
35
+ return diff;
36
+ if ((diff = compareNumbers(lhs.pattern, rhs.pattern)) !== 0)
37
+ return diff;
38
+ return diff;
39
+ }
40
+ constructor(props) {
41
+ this.color = props?.color ?? RgbColor.fromJSON({ r: 0, g: 0, b: 0 });
42
+ this.pixelWidth = props?.pixelWidth ?? 1;
43
+ this.pattern = props?.pattern ?? LinePixels.Solid;
44
+ }
45
+ static fromJSON(props) {
46
+ if (!props)
47
+ return new ContourStyle();
48
+ return new this({
49
+ color: props?.color ? RgbColor.fromJSON(props.color) : undefined,
50
+ pixelWidth: props?.pixelWidth,
51
+ pattern: props?.pattern,
52
+ });
53
+ }
54
+ toJSON() {
55
+ const props = {};
56
+ if (!this.color.equals(RgbColor.fromJSON({ r: 0, g: 0, b: 0 })))
57
+ props.color = this.color.toJSON();
58
+ if (1 !== this.pixelWidth)
59
+ props.pixelWidth = this.pixelWidth;
60
+ if (0 !== this.pattern)
61
+ props.pattern = this.pattern;
62
+ return props;
63
+ }
64
+ /** Create a new ContourStyle. Any properties not specified by `props` will be initialized to their default values. */
65
+ static create(props) {
66
+ return props ? new this(props) : new ContourStyle();
67
+ }
68
+ /** Create a copy of this ContourStyle, identical except for any properties specified by `changedProps`.
69
+ * Any properties of `changedProps` explicitly set to `undefined` will be reset to their default values.
70
+ */
71
+ clone(changedProps) {
72
+ if (!changedProps)
73
+ return this;
74
+ return ContourStyle.create({ ...this, ...changedProps });
75
+ }
76
+ }
77
+ /** Describes how to generate and style contour lines for geometry within a single [[ContourGroup]].
78
+ * Contours provide a way to visualize elevation within a 3d scene by drawing lines at fixed intervals along the z-axis.
79
+ * There are actually 2 kinds of contour lines: major and minor. Each kind can be styled independently.
80
+ * A contour line is generated every [[minorInterval]] meters. Every `nth` line will be a *major* contour, where `n` = [[majorIntervalCount]]; the intervening lines will
81
+ * all be *minor* contours.
82
+ * For example, with a [[majorIntervalCount]] of `1`, every contour will be major; of `2`, every other contour will be major; and of `3`, there will be two minor contours in between
83
+ * each major contour.
84
+ *
85
+ * @public
86
+ */
87
+ export class Contour {
88
+ equals(other) {
89
+ if (!this.majorStyle.equals(other.majorStyle) || !this.minorStyle.equals(other.minorStyle) || this.minorInterval !== other.minorInterval || this.majorIntervalCount !== other.majorIntervalCount || this.showGeometry !== other.showGeometry) {
90
+ return false;
91
+ }
92
+ return true;
93
+ }
94
+ /** Performs ordered comparison of two contours.
95
+ * @param lhs First contour to compare
96
+ * @param rhs Second contour to compare
97
+ * @returns 0 if lhs is equivalent to rhs, a negative number if lhs compares less than rhs, or a positive number if lhs compares greater than rhs.
98
+ */
99
+ static compare(lhs, rhs) {
100
+ return ContourStyle.compare(lhs.majorStyle, rhs.majorStyle)
101
+ || ContourStyle.compare(lhs.minorStyle, rhs.minorStyle)
102
+ || compareNumbers(lhs.minorInterval, rhs.minorInterval)
103
+ || compareNumbers(lhs.majorIntervalCount, rhs.majorIntervalCount)
104
+ || compareBooleans(lhs.showGeometry, rhs.showGeometry);
105
+ }
106
+ constructor(props) {
107
+ this.majorStyle = props?.majorStyle ?? ContourStyle.fromJSON({ pixelWidth: 2 });
108
+ this.minorStyle = props?.minorStyle ?? ContourStyle.fromJSON();
109
+ this.minorInterval = props?.minorInterval ?? 1;
110
+ this.majorIntervalCount = props?.majorIntervalCount ?? 5;
111
+ this.showGeometry = props?.showGeometry ?? true;
112
+ }
113
+ static fromJSON(props) {
114
+ if (!props)
115
+ return new Contour();
116
+ return new this({
117
+ majorStyle: props?.majorStyle ? ContourStyle.fromJSON(props.majorStyle) : undefined,
118
+ minorStyle: props?.minorStyle ? ContourStyle.fromJSON(props.minorStyle) : undefined,
119
+ minorInterval: props?.minorInterval,
120
+ majorIntervalCount: props?.majorIntervalCount,
121
+ showGeometry: props?.showGeometry,
122
+ });
123
+ }
124
+ toJSON() {
125
+ const props = {};
126
+ if (!this.majorStyle.equals(ContourStyle.fromJSON({ pixelWidth: 2 })))
127
+ props.majorStyle = this.majorStyle.toJSON();
128
+ if (!this.minorStyle.equals(ContourStyle.fromJSON()))
129
+ props.minorStyle = this.minorStyle.toJSON();
130
+ if (1 !== this.minorInterval)
131
+ props.minorInterval = this.minorInterval;
132
+ if (5 !== this.majorIntervalCount)
133
+ props.majorIntervalCount = this.majorIntervalCount;
134
+ if (true !== this.showGeometry)
135
+ props.showGeometry = this.showGeometry;
136
+ return props;
137
+ }
138
+ /** Create a new Contour. Any properties not specified by `props` will be initialized to their default values. */
139
+ static create(props) {
140
+ return props ? new this(props) : new Contour();
141
+ }
142
+ /** Create a copy of this Contour, identical except for any properties specified by `changedProps`.
143
+ * Any properties of `changedProps` explicitly set to `undefined` will be reset to their default values.
144
+ */
145
+ clone(changedProps) {
146
+ if (!changedProps)
147
+ return this;
148
+ return Contour.create({ ...this, ...changedProps });
149
+ }
150
+ }
151
+ Contour.defaults = new Contour({});
152
+ /** Defines a group of objects to which to apply [[Contour]] lines in a particular style.
153
+ * The [[ContourDisplay]] settings can contain multiple groups.
154
+ * Each group is described by a set of [SubCategory]($backend)'s; all geometry belonging to any of those subcategories belongs to the group.
155
+ * An empty set of subcategories indicates that this is a default group, implicitly containing all subcategories that are not explicitly included in another group.
156
+ * Each group has an optional, non-user-facing name that applications can use to assign semantics to particular groups.
157
+ * @public
158
+ */
159
+ export class ContourGroup {
160
+ /** The set of subcategories belonging to this group, or an empty set if this is a default group. If more than one empty set exists in the [[ContourDisplay]] object's `groups` array, the last entry in that array is used for rendering the default styling.
161
+ * @see [[isDefaultGroup]] to test if this is a default group.
162
+ */
163
+ get subCategories() {
164
+ return CompressedId64Set.iterable(this._subCategories);
165
+ }
166
+ /** Returns true if [[subCategories]] is an empty set, indicating that any subcategory not included in any other [[ContourGroup]] is implicitly
167
+ * included in this group.
168
+ */
169
+ get isDefaultGroup() {
170
+ return OrderedId64Iterable.isEmptySet(this._subCategories);
171
+ }
172
+ /** Returns true if `this` and `other` contain the exact same set of subcategories. */
173
+ subCategoriesEqual(other) {
174
+ return this._subCategories === other._subCategories;
175
+ }
176
+ /** Returns true if `this` and `other` are logically equivalent, having the same styling, name, and set of subcategories. */
177
+ equals(other) {
178
+ if (this === undefined && other === undefined)
179
+ return true;
180
+ if (this === undefined || other === undefined)
181
+ return false;
182
+ if (!this.contourDef.equals(other.contourDef))
183
+ return false;
184
+ if (this._subCategories !== other._subCategories)
185
+ return false;
186
+ if (this.name !== other.name)
187
+ return false;
188
+ return true;
189
+ }
190
+ constructor(props) {
191
+ this.contourDef = props?.contourDef ?? Contour.fromJSON();
192
+ this._subCategories = props?.subCategories ? CompressedId64Set.sortAndCompress(props.subCategories) : "";
193
+ this.name = props?.name ?? "";
194
+ }
195
+ static fromJSON(props) {
196
+ if (!props)
197
+ return new ContourGroup();
198
+ return new this({
199
+ contourDef: props?.contourDef ? Contour.fromJSON(props.contourDef) : undefined,
200
+ name: props?.name,
201
+ subCategories: props?.subCategories ? CompressedId64Set.iterable(props.subCategories) : undefined,
202
+ });
203
+ }
204
+ toJSON() {
205
+ const props = {};
206
+ if (!this.contourDef.equals(Contour.defaults))
207
+ props.contourDef = this.contourDef.toJSON();
208
+ if (this.name)
209
+ props.name = this.name;
210
+ props.subCategories = this._subCategories;
211
+ return props;
212
+ }
213
+ /** Create a new ContourGroup. Any properties not specified by `props` will be initialized to their default values. */
214
+ static create(props) {
215
+ return props ? new this(props) : new ContourGroup();
216
+ }
217
+ /** Create a copy of this ContourGroup, identical except for any properties specified by `changedProps`.
218
+ * Any properties of `changedProps` explicitly set to `undefined` will be reset to their default values.
219
+ */
220
+ clone(changedProps) {
221
+ if (!changedProps)
222
+ return this;
223
+ return ContourGroup.create({ ...this, ...changedProps });
224
+ }
225
+ }
226
+ /** Settings that specify how to apply [contour lines]($docs/learning/display/ContourDisplay.md) to groups of geometry
227
+ * within a 3d scene.
228
+ * @see [[DisplayStyle3dSettings.contours]] to associate contour settings with a display style.
229
+ * @public
230
+ */
231
+ export class ContourDisplay {
232
+ /** Returns true if `this` and `other` are logically equivalent, having the same groups and styling. */
233
+ equals(other) {
234
+ if (this.displayContours !== other.displayContours)
235
+ return false;
236
+ if (this.groups.length !== other.groups.length)
237
+ return false;
238
+ for (let index = 0, len = this.groups.length; index < len && index < ContourDisplay.maxContourGroups; ++index) {
239
+ const match = this.groups[index].equals(other.groups[index]);
240
+ if (!match)
241
+ return false;
242
+ }
243
+ return true;
244
+ }
245
+ constructor(props) {
246
+ this.displayContours = props?.displayContours ?? false;
247
+ this.groups = props?.groups ?? [];
248
+ }
249
+ static fromJSON(props) {
250
+ if (!props)
251
+ return new ContourDisplay();
252
+ const groups = [];
253
+ if (undefined !== props && undefined !== props.groups) {
254
+ for (let n = 0; n < props.groups.length; n++) {
255
+ groups[n] = ContourGroup.fromJSON(props.groups[n]);
256
+ }
257
+ }
258
+ return new this({
259
+ displayContours: props?.displayContours,
260
+ groups: props.groups ? groups : undefined,
261
+ });
262
+ }
263
+ toJSON() {
264
+ const props = {};
265
+ props.groups = [];
266
+ for (let n = 0; n < this.groups.length; n++) {
267
+ props.groups[n] = this.groups[n].toJSON();
268
+ }
269
+ props.displayContours = this.displayContours;
270
+ return props;
271
+ }
272
+ /** Create a new ContourDisplay. Any properties not specified by `props` will be initialized to their default values. */
273
+ static create(props) {
274
+ return props ? new this(props) : new ContourDisplay();
275
+ }
276
+ /** Create a copy of these settings, changing the `displayContours` flag as specified. */
277
+ withDisplayContours(displayContours) {
278
+ return displayContours === this.displayContours ? this : ContourDisplay.create({ ...this, displayContours });
279
+ }
280
+ /** Create a copy of this ContourDisplay, identical except for any properties specified by `changedProps`.
281
+ * Any properties of `changedProps` explicitly set to `undefined` will be reset to their default values.
282
+ */
283
+ clone(changedProps) {
284
+ if (!changedProps)
285
+ return this;
286
+ return ContourDisplay.create({ ...this, ...changedProps });
287
+ }
288
+ }
289
+ /** The maximum number of contour groups that the system will allow. Any contour groups added to the [[groups]] array beyond this number will be ignored
290
+ * for display purposes.
291
+ */
292
+ ContourDisplay.maxContourGroups = 5;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I,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;YAC5C,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;QAC5C,CAAC;QAED,KAAK,CAAC,eAAe,GAAG,IAAI,CAAC,eAAe,CAAC;QAC7C,OAAO,KAAK,CAAC;IACf,CAAC;IAED,wHAAwH;IACjH,MAAM,CAAC,MAAM,CAAC,KAAyC;QAC5D,OAAO,KAAK,CAAC,CAAC,CAAC,IAAI,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,cAAc,EAAE,CAAC;IACxD,CAAC;IAED,yFAAyF;IAClF,mBAAmB,CAAC,eAAwB;QACjD,OAAO,eAAe,KAAK,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,cAAc,CAAC,MAAM,CAAC,EAAE,GAAG,IAAI,EAAE,eAAe,EAAE,CAAC,CAAC;IAC/G,CAAC;IAED;;OAEG;IACI,KAAK,CAAC,YAAgD;QAC3D,IAAI,CAAC,YAAY;YACf,OAAO,IAAI,CAAC;QAEd,OAAO,cAAc,CAAC,MAAM,CAAC,EAAE,GAAG,IAAI,EAAE,GAAG,YAAY,EAAE,CAAC,CAAC;IAC7D,CAAC;;AAvED;;GAEG;AACoB,+BAAgB,GAAG,CAAC,CAAC","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module Symbology\r\n */\r\n\r\nimport { compareBooleans, compareNumbers, CompressedId64Set, NonFunctionPropertiesOf, OrderedId64Iterable } from \"@itwin/core-bentley\";\r\nimport { LinePixels } from \"./LinePixels\";\r\nimport { RgbColor, RgbColorProps } from \"./RgbColor\";\r\n\r\n/** JSON representation of a [[ContourStyle]].\r\n * @public\r\n */\r\nexport interface ContourStyleProps {\r\n /** See [[ContourStyle.color]]. */\r\n color?: RgbColorProps;\r\n /** See [[ContourStyle.pixelWidth]]. */\r\n pixelWidth?: number;\r\n /** See [[ContourStyle.pattern]]. */\r\n pattern?: LinePixels;\r\n}\r\n\r\n/** A type containing all of the properties of [[ContourStyle]] with none of the methods and with the `readonly` modifiers removed.\r\n * Used by [[ContourStyle.create]] and [[ContourStyle.clone]].\r\n * @public\r\n */\r\nexport type ContourStyleProperties = NonFunctionPropertiesOf<ContourStyle>;\r\n\r\n/** The style settings used by either a minor or major contour.\r\n * @see [[Contour.majorStyle]]\r\n * @see [[Contour.minorStyle]]\r\n * @public\r\n */\r\nexport class ContourStyle {\r\n /** The color in which to draw the contour lines. Default: black. */\r\n public readonly color: RgbColor;\r\n /** The width in screen pixels of the contour lines.\r\n * Useful values range between 1 and 8.5, in increments of 0.5. Other values will be rounded to meet these criteria.\r\n * Default: 1.0.\r\n */\r\n public readonly pixelWidth: number;\r\n /** The pattern for a major or minor contour line. Defaults to [[LinePixels.Solid]]. */\r\n public readonly pattern: LinePixels;\r\n\r\n /** Returns true if `this` and `other` are logically equivalent. */\r\n public equals(other: ContourStyle): boolean {\r\n if (!this.color.equals(other.color) || this.pixelWidth !== other.pixelWidth || this.pattern !== other.pattern) {\r\n return false;\r\n }\r\n return true;\r\n }\r\n\r\n /** Performs ordered comparison of two contour styles.\r\n * @param lhs First contour style to compare\r\n * @param rhs Second contour style to compare\r\n * @returns 0 if lhs is equivalent to rhs, a negative number if lhs compares less than rhs, or a positive number if lhs compares greater than rhs.\r\n * @public\r\n */\r\n public static compare(lhs: ContourStyle, rhs: ContourStyle): number {\r\n let diff = 0;\r\n if ((diff = lhs.color.compareTo(rhs.color)) !== 0)\r\n return diff;\r\n if ((diff = compareNumbers(lhs.pixelWidth, rhs.pixelWidth)) !== 0)\r\n return diff;\r\n if ((diff = compareNumbers(lhs.pattern, rhs.pattern)) !== 0)\r\n return diff;\r\n\r\n return diff;\r\n }\r\n\r\n private constructor(props?: Partial<ContourStyleProperties>) {\r\n this.color = props?.color ?? RgbColor.fromJSON({r: 0, g: 0, b: 0});\r\n this.pixelWidth = props?.pixelWidth ?? 1;\r\n this.pattern = props?.pattern ?? LinePixels.Solid;\r\n }\r\n\r\n public static fromJSON(props?: ContourStyleProps) {\r\n if (!props)\r\n return new ContourStyle();\r\n\r\n return new this({\r\n color: props?.color ? RgbColor.fromJSON(props.color) : undefined,\r\n pixelWidth: props?.pixelWidth,\r\n pattern: props?.pattern,\r\n });\r\n }\r\n\r\n public toJSON(): ContourStyleProps {\r\n const props: ContourStyleProps = {};\r\n\r\n if (!this.color.equals(RgbColor.fromJSON({r: 0, g: 0, b: 0})))\r\n props.color = this.color.toJSON();\r\n\r\n if (1 !== this.pixelWidth)\r\n props.pixelWidth = this.pixelWidth;\r\n\r\n if (0 !== this.pattern)\r\n props.pattern = this.pattern;\r\n\r\n return props;\r\n }\r\n\r\n /** Create a new ContourStyle. Any properties not specified by `props` will be initialized to their default values. */\r\n public static create(props?: Partial<ContourStyleProperties>): ContourStyle {\r\n return props ? new this(props) : new ContourStyle();\r\n }\r\n\r\n /** Create a copy of this ContourStyle, identical except for any properties specified by `changedProps`.\r\n * Any properties of `changedProps` explicitly set to `undefined` will be reset to their default values.\r\n */\r\n public clone(changedProps?: Partial<ContourStyleProperties>): ContourStyle {\r\n if (!changedProps)\r\n return this;\r\n\r\n return ContourStyle.create({ ...this, ...changedProps });\r\n }\r\n}\r\n\r\n/** JSON representation of a [[Contour]].\r\n * @public\r\n */\r\nexport interface ContourProps {\r\n /** See [[Contour.majorStyle]]. */\r\n majorStyle?: ContourStyleProps;\r\n /** See [[Contour.minor]]. */\r\n minorStyle?: ContourStyleProps;\r\n /** See [[Contour.minorInterval]]. */\r\n minorInterval?: number;\r\n /** See [[Contour.majorIntervalCount]]. */\r\n majorIntervalCount?: number;\r\n /** See [[Contour.showGeometry]] */\r\n showGeometry?: boolean;\r\n}\r\n\r\n/** A type containing all of the properties of [[Contour]] with none of the methods and with the `readonly` modifiers removed.\r\n * Used by [[Contour.create]] and [[Contour.clone]].\r\n * @public\r\n */\r\nexport type ContourProperties = NonFunctionPropertiesOf<Contour>;\r\n\r\n/** Describes how to generate and style contour lines for geometry within a single [[ContourGroup]].\r\n * Contours provide a way to visualize elevation within a 3d scene by drawing lines at fixed intervals along the z-axis.\r\n * There are actually 2 kinds of contour lines: major and minor. Each kind can be styled independently.\r\n * A contour line is generated every [[minorInterval]] meters. Every `nth` line will be a *major* contour, where `n` = [[majorIntervalCount]]; the intervening lines will\r\n * all be *minor* contours.\r\n * For example, with a [[majorIntervalCount]] of `1`, every contour will be major; of `2`, every other contour will be major; and of `3`, there will be two minor contours in between\r\n * each major contour.\r\n *\r\n * @public\r\n */\r\nexport class Contour {\r\n /** Settings that describe how a major contour is styled. Defaults to an instantation of [[ContourStyle]] using `pixelWidth` of 2 and default values for the other properties. */\r\n public readonly majorStyle: ContourStyle;\r\n /** Settings that describe how a minor contour is styled. Defaults to an instantation of [[ContourStyle]] using default values for the properties. */\r\n public readonly minorStyle: ContourStyle;\r\n /** The interval for the minor contour occurrence in meters; these can be specified as fractional. Defaults to 1. If a value <= 0 is specified, this will be treated as 1 meter. */\r\n public readonly minorInterval: number;\r\n /** The count of minor contour intervals that define a major interval (integer > 0). A value of 1 means no minor contours will be shown, only major contours. Defaults to 5. If a value < 1 is specified, this will be treated as 1. If a non-integer value is specified, it will be treated as if it were rounded to the nearest integer. */\r\n public readonly majorIntervalCount: number;\r\n /** If true, show underlying geometry along with the associated contours. If false, only show the contours, not the underlying geometry. Defaults to true. */\r\n public readonly showGeometry: boolean;\r\n\r\n public static readonly defaults = new Contour({});\r\n\r\n public equals(other: Contour): boolean {\r\n if (!this.majorStyle.equals(other.majorStyle) || !this.minorStyle.equals(other.minorStyle) || this.minorInterval !== other.minorInterval || this.majorIntervalCount !== other.majorIntervalCount || this.showGeometry !== other.showGeometry) {\r\n return false;\r\n }\r\n return true;\r\n }\r\n\r\n /** Performs ordered comparison of two contours.\r\n * @param lhs First contour to compare\r\n * @param rhs Second contour to compare\r\n * @returns 0 if lhs is equivalent to rhs, a negative number if lhs compares less than rhs, or a positive number if lhs compares greater than rhs.\r\n */\r\n public static compare(lhs: Contour, rhs: Contour): number {\r\n return ContourStyle.compare(lhs.majorStyle, rhs.majorStyle)\r\n || ContourStyle.compare(lhs.minorStyle, rhs.minorStyle)\r\n || compareNumbers(lhs.minorInterval, rhs.minorInterval)\r\n || compareNumbers(lhs.majorIntervalCount, rhs.majorIntervalCount)\r\n || compareBooleans(lhs.showGeometry, rhs.showGeometry);\r\n }\r\n\r\n private constructor(props?: Partial<ContourProperties>) {\r\n this.majorStyle = props?.majorStyle ?? ContourStyle.fromJSON({ pixelWidth: 2 });\r\n this.minorStyle = props?.minorStyle ?? ContourStyle.fromJSON();\r\n this.minorInterval = props?.minorInterval ?? 1;\r\n this.majorIntervalCount = props?.majorIntervalCount ?? 5;\r\n this.showGeometry = props?.showGeometry ?? true;\r\n }\r\n\r\n public static fromJSON(props?: ContourProps) {\r\n if (!props)\r\n return new Contour();\r\n\r\n return new this({\r\n majorStyle: props?.majorStyle ? ContourStyle.fromJSON(props.majorStyle) : undefined,\r\n minorStyle: props?.minorStyle ? ContourStyle.fromJSON(props.minorStyle) : undefined,\r\n minorInterval: props?.minorInterval,\r\n majorIntervalCount: props?.majorIntervalCount,\r\n showGeometry: props?.showGeometry,\r\n });\r\n }\r\n\r\n public toJSON(): ContourProps {\r\n const props: ContourProps = {};\r\n\r\n if (!this.majorStyle.equals(ContourStyle.fromJSON({ pixelWidth: 2 })))\r\n props.majorStyle = this.majorStyle.toJSON();\r\n\r\n if (!this.minorStyle.equals(ContourStyle.fromJSON()))\r\n props.minorStyle = this.minorStyle.toJSON();\r\n\r\n if (1 !== this.minorInterval)\r\n props.minorInterval = this.minorInterval;\r\n\r\n if (5 !== this.majorIntervalCount)\r\n props.majorIntervalCount = this.majorIntervalCount;\r\n\r\n if (true !== this.showGeometry)\r\n props.showGeometry = this.showGeometry;\r\n\r\n return props;\r\n }\r\n\r\n /** Create a new Contour. Any properties not specified by `props` will be initialized to their default values. */\r\n public static create(props?: Partial<ContourProperties>): Contour {\r\n return props ? new this(props) : new Contour();\r\n }\r\n\r\n /** Create a copy of this Contour, identical except for any properties specified by `changedProps`.\r\n * Any properties of `changedProps` explicitly set to `undefined` will be reset to their default values.\r\n */\r\n public clone(changedProps?: Partial<ContourProperties>): Contour {\r\n if (!changedProps)\r\n return this;\r\n\r\n return Contour.create({ ...this, ...changedProps });\r\n }\r\n}\r\n\r\n/** JSON representation of a [[ContourGroup]].\r\n * @public\r\n */\r\nexport interface ContourGroupProps {\r\n /** See [[ContourGroup.contourDef]]. */\r\n contourDef?: ContourProps;\r\n /** See [[ContourGroup.subCategories]]. */\r\n subCategories?: CompressedId64Set;\r\n /** See [[ContourGroup.name]]. */\r\n name?: string;\r\n}\r\n\r\n/** A type containing all of the properties of [[ContourGroup]] with none of the methods and with the `readonly` modifiers removed.\r\n * Used by [[ContourGroup.create]] and [[ContourGroup.clone]].\r\n * @public\r\n */\r\nexport type ContourGroupProperties = NonFunctionPropertiesOf<ContourGroup>;\r\n\r\n/** Defines a group of objects to which to apply [[Contour]] lines in a particular style.\r\n * The [[ContourDisplay]] settings can contain multiple groups.\r\n * Each group is described by a set of [SubCategory]($backend)'s; all geometry belonging to any of those subcategories belongs to the group.\r\n * An empty set of subcategories indicates that this is a default group, implicitly containing all subcategories that are not explicitly included in another group.\r\n * Each group has an optional, non-user-facing name that applications can use to assign semantics to particular groups.\r\n * @public\r\n */\r\nexport class ContourGroup {\r\n private _subCategories: CompressedId64Set;\r\n\r\n /** Describes the appearance of all of the contours applied to geometry belonging to this group. */\r\n public readonly contourDef: Contour;\r\n /** An optional, non-user-facing name that applications can use to assign semantics to particular groups.\r\n * Default: an empty string.\r\n */\r\n public readonly name: string;\r\n\r\n /** The set of subcategories belonging to this group, or an empty set if this is a default group. If more than one empty set exists in the [[ContourDisplay]] object's `groups` array, the last entry in that array is used for rendering the default styling.\r\n * @see [[isDefaultGroup]] to test if this is a default group.\r\n */\r\n public get subCategories(): OrderedId64Iterable {\r\n return CompressedId64Set.iterable(this._subCategories);\r\n }\r\n\r\n /** Returns true if [[subCategories]] is an empty set, indicating that any subcategory not included in any other [[ContourGroup]] is implicitly\r\n * included in this group.\r\n */\r\n public get isDefaultGroup(): boolean {\r\n return OrderedId64Iterable.isEmptySet(this._subCategories);\r\n }\r\n\r\n /** Returns true if `this` and `other` contain the exact same set of subcategories. */\r\n public subCategoriesEqual(other: ContourGroup): boolean {\r\n return this._subCategories === other._subCategories;\r\n }\r\n\r\n /** Returns true if `this` and `other` are logically equivalent, having the same styling, name, and set of subcategories. */\r\n public equals(other: ContourGroup | undefined): boolean {\r\n if (this === undefined && other === undefined)\r\n return true;\r\n if (this === undefined || other === undefined)\r\n return false;\r\n if (!this.contourDef.equals(other.contourDef))\r\n return false;\r\n if (this._subCategories !== other._subCategories)\r\n return false;\r\n if (this.name !== other.name)\r\n return false;\r\n return true;\r\n }\r\n\r\n private constructor(props?: Partial<ContourGroupProperties>) {\r\n this.contourDef = props?.contourDef ?? Contour.fromJSON();\r\n this._subCategories = props?.subCategories ? CompressedId64Set.sortAndCompress(props.subCategories) : \"\";\r\n this.name = props?.name ?? \"\";\r\n }\r\n\r\n public static fromJSON(props?: ContourGroupProps) {\r\n if (!props)\r\n return new ContourGroup();\r\n\r\n return new this({\r\n contourDef: props?.contourDef ? Contour.fromJSON(props.contourDef) : undefined,\r\n name: props?.name,\r\n subCategories: props?.subCategories ? CompressedId64Set.iterable(props.subCategories) : undefined,\r\n });\r\n }\r\n\r\n public toJSON(): ContourGroupProps {\r\n const props: ContourGroupProps = {};\r\n\r\n if (!this.contourDef.equals(Contour.defaults))\r\n props.contourDef = this.contourDef.toJSON();\r\n\r\n if (this.name)\r\n props.name = this.name;\r\n\r\n props.subCategories = this._subCategories;\r\n return props;\r\n }\r\n\r\n /** Create a new ContourGroup. Any properties not specified by `props` will be initialized to their default values. */\r\n public static create(props?: Partial<ContourGroupProperties>): ContourGroup {\r\n return props ? new this(props) : new ContourGroup();\r\n }\r\n\r\n /** Create a copy of this ContourGroup, identical except for any properties specified by `changedProps`.\r\n * Any properties of `changedProps` explicitly set to `undefined` will be reset to their default values.\r\n */\r\n public clone(changedProps?: Partial<ContourGroupProperties>): ContourGroup {\r\n if (!changedProps)\r\n return this;\r\n\r\n return ContourGroup.create({ ...this, ...changedProps });\r\n }\r\n}\r\n\r\n/** JSON representation of [[ContourDisplay]] settings.\r\n * @public\r\n */\r\nexport interface ContourDisplayProps {\r\n /** See [[ContourDisplay.groups]]. */\r\n groups?: ContourGroupProps[];\r\n /** See [[ContourDisplay.displayContours]]. */\r\n displayContours?: boolean;\r\n}\r\n\r\n/** A type containing all of the properties of [[ContourDisplay]] with none of the methods and with the `readonly` modifiers removed.\r\n * Used by [[ContourDisplay.create]] and [[ContourDisplay.clone]].\r\n * @public\r\n */\r\nexport type ContourDisplayProperties = NonFunctionPropertiesOf<ContourDisplay>;\r\n\r\n/** Settings that specify how to apply [contour lines]($docs/learning/display/ContourDisplay.md) to groups of geometry\r\n * within a 3d scene.\r\n * @see [[DisplayStyle3dSettings.contours]] to associate contour settings with a display style.\r\n * @public\r\n */\r\nexport class ContourDisplay {\r\n /** A list of the groups, each describing their own specific contour display settings. Defaults to an empty array.\r\n * @note The display system supports no more than [[ContourDisplay.maxContourGroups]]. Entries in this array exceeding that maximum will\r\n * have no effect on the display of contour lines.\r\n */\r\n public readonly groups: ContourGroup[];\r\n /** Whether to display the contour lines described by these settings. Default: false.\r\n * @see [[withDisplayContours]] to change this flag.\r\n */\r\n public readonly displayContours: boolean;\r\n /** The maximum number of contour groups that the system will allow. Any contour groups added to the [[groups]] array beyond this number will be ignored\r\n * for display purposes.\r\n */\r\n public static readonly maxContourGroups = 5;\r\n\r\n /** Returns true if `this` and `other` are logically equivalent, having the same groups and styling. */\r\n public equals(other: ContourDisplay): boolean {\r\n if (this.displayContours !== other.displayContours)\r\n return false;\r\n if (this.groups.length !== other.groups.length)\r\n return false;\r\n for (let index = 0, len = this.groups.length; index < len && index < ContourDisplay.maxContourGroups; ++index) {\r\n const match = this.groups[index].equals(other.groups[index]);\r\n if (!match)\r\n return false;\r\n }\r\n return true;\r\n }\r\n\r\n private constructor(props?: Partial<ContourDisplayProperties>) {\r\n this.displayContours = props?.displayContours ?? false;\r\n this.groups = props?.groups ?? [];\r\n }\r\n\r\n public static fromJSON(props?: ContourDisplayProps) {\r\n if (!props)\r\n return new ContourDisplay();\r\n\r\n const groups: ContourGroup[] = [];\r\n if (undefined !== props && undefined !== props.groups) {\r\n for (let n = 0; n < props.groups.length; n++) {\r\n groups[n] = ContourGroup.fromJSON(props.groups[n]);\r\n }\r\n }\r\n\r\n return new this({\r\n displayContours: props?.displayContours,\r\n groups: props.groups ? groups : undefined,\r\n });\r\n }\r\n\r\n public toJSON(): ContourDisplayProps {\r\n const props: ContourDisplayProps = {};\r\n\r\n props.groups = [];\r\n for (let n = 0; n < this.groups.length; n++) {\r\n props.groups[n] = this.groups[n].toJSON();\r\n }\r\n\r\n props.displayContours = this.displayContours;\r\n return props;\r\n }\r\n\r\n /** Create a new ContourDisplay. Any properties not specified by `props` will be initialized to their default values. */\r\n public static create(props?: Partial<ContourDisplayProperties>): ContourDisplay {\r\n return props ? new this(props) : new ContourDisplay();\r\n }\r\n\r\n /** Create a copy of these settings, changing the `displayContours` flag as specified. */\r\n public withDisplayContours(displayContours: boolean): ContourDisplay {\r\n return displayContours === this.displayContours ? this : ContourDisplay.create({ ...this, displayContours });\r\n }\r\n\r\n /** Create a copy of this ContourDisplay, identical except for any properties specified by `changedProps`.\r\n * Any properties of `changedProps` explicitly set to `undefined` will be reset to their default values.\r\n */\r\n public clone(changedProps?: Partial<ContourDisplayProperties>): ContourDisplay {\r\n if (!changedProps)\r\n return this;\r\n\r\n return ContourDisplay.create({ ...this, ...changedProps });\r\n }\r\n}\r\n"]}
@@ -27,6 +27,7 @@ import { IModel } from "./IModel";
27
27
  import { ContextRealityModel, ContextRealityModelProps, ContextRealityModels } from "./ContextRealityModel";
28
28
  import { RealityModelDisplayProps, RealityModelDisplaySettings } from "./RealityModelDisplaySettings";
29
29
  import { WhiteOnWhiteReversalProps, WhiteOnWhiteReversalSettings } from "./WhiteOnWhiteReversalSettings";
30
+ import { ContourDisplay, ContourDisplayProps } from "./ContourDisplay";
30
31
  /** Describes the [[SubCategoryOverride]]s applied to a [[SubCategory]] by a [[DisplayStyle]].
31
32
  * @see [[DisplayStyleSettingsProps]]
32
33
  * @public
@@ -143,6 +144,8 @@ export interface DisplayStyle3dSettingsProps extends DisplayStyleSettingsProps {
143
144
  environment?: EnvironmentProps;
144
145
  /** See [[DisplayStyle3dSettings.thematic]]. */
145
146
  thematic?: ThematicDisplayProps;
147
+ /** See [[DisplayStyle3dSettings.contours]]. */
148
+ contours?: ContourDisplayProps;
146
149
  /** See [[DisplayStyle3dSettings.hiddenLineSettings]]. */
147
150
  hline?: HiddenLine.SettingsProps;
148
151
  /** See [[DisplayStyle3dSettings.ambientOcclusionSettings]]. */
@@ -303,6 +306,8 @@ export declare class DisplayStyleSettings {
303
306
  readonly onRealityModelDisplaySettingsChanged: BeEvent<(modelId: Id64String, newSettings: RealityModelDisplaySettings | undefined) => void>;
304
307
  /** Event raised just prior to assignment to the [[DisplayStyle3dSettings.thematic]] property. */
305
308
  readonly onThematicChanged: BeEvent<(newThematic: ThematicDisplay) => void>;
309
+ /** Event raised just prior to assignment to the [[DisplayStyle3dSettings.contours]] property. */
310
+ readonly onContoursChanged: BeEvent<(newContours: ContourDisplay) => void>;
306
311
  /** Event raised just prior to assignment to the [[DisplayStyle3dSettings.hiddenLineSettings]] property. */
307
312
  readonly onHiddenLineSettingsChanged: BeEvent<(newSettings: HiddenLine.Settings) => void>;
308
313
  /** Event raised just prior to assignment to the [[DisplayStyle3dSettings.ambientOcclusionSettings]] property. */
@@ -500,6 +505,7 @@ export declare class DisplayStyleSettings {
500
505
  */
501
506
  export declare class DisplayStyle3dSettings extends DisplayStyleSettings {
502
507
  private _thematic;
508
+ private _contours;
503
509
  private _hline;
504
510
  private _ao;
505
511
  private _solarShadows;
@@ -521,6 +527,9 @@ export declare class DisplayStyle3dSettings extends DisplayStyleSettings {
521
527
  /** The settings that control thematic display. */
522
528
  get thematic(): ThematicDisplay;
523
529
  set thematic(thematic: ThematicDisplay);
530
+ /** The settings that control contour display. */
531
+ get contours(): ContourDisplay;
532
+ set contours(contours: ContourDisplay);
524
533
  /** The settings that control how visible and hidden edges are displayed. */
525
534
  get hiddenLineSettings(): HiddenLine.Settings;
526
535
  set hiddenLineSettings(hline: HiddenLine.Settings);
@@ -1 +1 @@
1
- {"version":3,"file":"DisplayStyleSettings.d.ts","sourceRoot":"","sources":["../../src/DisplayStyleSettings.ts"],"names":[],"mappings":"AAIA;;GAEG;AAIH,OAAO,EACG,OAAO,EAAE,iBAAiB,EAAQ,SAAS,EAAE,UAAU,EAAuC,mBAAmB,EAC1H,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACpE,OAAO,EAAE,qBAAqB,EAAE,4BAA4B,EAAE,MAAM,yBAAyB,CAAC;AAC9F,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AACxD,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AACrD,OAAO,EAAE,sBAAsB,EAAE,MAAM,gBAAgB,CAAC;AACxD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,iBAAiB,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AAC/E,OAAO,EAA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Q,CAAqB;IACrF,IAAW,wBAAwB,CAAC,EAAE,EAAE,gBAAgB,CAAC,QAAQ,EAIhE;IAED,iEAAiE;IACjE,IAAW,YAAY,IAAI,mBAAmB,CAE7C;IACD,IAAW,YAAY,CAAC,YAAY,EAAE,mBAAmB,EAWxD;IAED;;OAEG;IACH,IAAW,WAAW,IAAI,WAAW,CAEpC;IACD,IAAW,WAAW,CAAC,WAAW,EAAE,WAAW,EAM9C;IAED;;OAEG;IACI,YAAY,CAAC,OAAO,CAAC,EAAE,OAAO,GAAG,IAAI;IAM5C;;OAEG;IACI,iBAAiB,CAAC,OAAO,CAAC,EAAE,OAAO,GAAG,IAAI;IAMjD;;;OAGG;IACI,gBAAgB,CAAC,OAAO,CAAC,EAAE,OAAO,GAAG,IAAI;IAMhD,IAAW,MAAM,IAAI,aAAa,CAEjC;IACD,IAAW,MAAM,CAAC,MAAM,EAAE,aAAa,EAOtC;IAED;;;;;;;OAOG;IACI,UAAU,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,YAAY,GAAG,IAAI;IAgB3E;;;;OAIG;IACI,YAAY,IAAI,IAAI;IAS3B;;;OAGG;IACH,IAAW,OAAO,IAAI,MAAM,GAAG,SAAS,CAEvC;IAED,wFAAwF;IACjF,yBAAyB,CAAC,OAAO,EAAE,UAAU,GAAG,sBAAsB,GAAG,SAAS;IAIzF,qFAAqF;IAC9E,yBAAyB,CAAC,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,sBAAsB,GAAG,SAAS,GAAG,IAAI;IA4BzG,oJAAoJ;IACpJ,IAAW,sBAAsB,IAAI,QAAQ,CAAC,CAAC,UAAU,EAAE,sBAAsB,CAAC,CAAC,GAAG,SAAS,CAE9F;CACF"}
@@ -29,6 +29,7 @@ import { calculateSolarDirection } from "./SolarCalculate";
29
29
  import { ContextRealityModels } from "./ContextRealityModel";
30
30
  import { RealityModelDisplaySettings } from "./RealityModelDisplaySettings";
31
31
  import { WhiteOnWhiteReversalSettings } from "./WhiteOnWhiteReversalSettings";
32
+ import { ContourDisplay } from "./ContourDisplay";
32
33
  /** Describes the style in which monochrome color is applied by a [[DisplayStyleSettings]].
33
34
  * @public
34
35
  * @extensions
@@ -252,6 +253,8 @@ export class DisplayStyleSettings {
252
253
  this.onRealityModelDisplaySettingsChanged = new BeEvent();
253
254
  /** Event raised just prior to assignment to the [[DisplayStyle3dSettings.thematic]] property. */
254
255
  this.onThematicChanged = new BeEvent();
256
+ /** Event raised just prior to assignment to the [[DisplayStyle3dSettings.contours]] property. */
257
+ this.onContoursChanged = new BeEvent();
255
258
  /** Event raised just prior to assignment to the [[DisplayStyle3dSettings.hiddenLineSettings]] property. */
256
259
  this.onHiddenLineSettingsChanged = new BeEvent();
257
260
  /** Event raised just prior to assignment to the [[DisplayStyle3dSettings.ambientOcclusionSettings]] property. */
@@ -720,6 +723,7 @@ export class DisplayStyle3dSettings extends DisplayStyleSettings {
720
723
  constructor(jsonProperties, options) {
721
724
  super(jsonProperties, options);
722
725
  this._thematic = ThematicDisplay.fromJSON(this._json3d.thematic);
726
+ this._contours = ContourDisplay.fromJSON(this._json3d.contours);
723
727
  this._hline = HiddenLine.Settings.fromJSON(this._json3d.hline);
724
728
  this._ao = AmbientOcclusion.Settings.fromJSON(this._json3d.ao);
725
729
  this._solarShadows = SolarShadowSettings.fromJSON(this._json3d.solarShadows);
@@ -786,6 +790,7 @@ export class DisplayStyle3dSettings extends DisplayStyleSettings {
786
790
  props.thematic.range = undefined;
787
791
  }
788
792
  }
793
+ props.contours = this.contours.toJSON();
789
794
  return props;
790
795
  }
791
796
  /** See [[DisplayStyleSettings.applyOverrides]]. */
@@ -807,6 +812,8 @@ export class DisplayStyle3dSettings extends DisplayStyleSettings {
807
812
  }
808
813
  if (overrides.thematic)
809
814
  this.thematic = ThematicDisplay.fromJSON(overrides.thematic);
815
+ if (overrides.contours)
816
+ this.contours = ContourDisplay.fromJSON(overrides.contours);
810
817
  this.onOverridesApplied.raiseEvent(overrides);
811
818
  }
812
819
  /** The settings that control thematic display. */
@@ -818,6 +825,15 @@ export class DisplayStyle3dSettings extends DisplayStyleSettings {
818
825
  this._thematic = thematic;
819
826
  this._json3d.thematic = thematic.toJSON();
820
827
  }
828
+ /** The settings that control contour display. */
829
+ get contours() { return this._contours; }
830
+ set contours(contours) {
831
+ if (contours.equals(this.contours))
832
+ return;
833
+ this.onContoursChanged.raiseEvent(contours);
834
+ this._contours = contours;
835
+ this._json3d.contours = contours.toJSON();
836
+ }
821
837
  /** The settings that control how visible and hidden edges are displayed. */
822
838
  get hiddenLineSettings() { return this._hline; }
823
839
  set hiddenLineSettings(hline) {