@itwin/core-common 5.0.0-dev.8 → 5.0.0-dev.83
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.
- package/CHANGELOG.md +50 -1
- package/lib/cjs/AmbientOcclusion.js +17 -9
- package/lib/cjs/AmbientOcclusion.js.map +1 -1
- package/lib/cjs/AnalysisStyle.d.ts +0 -3
- package/lib/cjs/AnalysisStyle.d.ts.map +1 -1
- package/lib/cjs/AnalysisStyle.js +20 -4
- package/lib/cjs/AnalysisStyle.js.map +1 -1
- package/lib/cjs/Atmosphere.js +39 -21
- package/lib/cjs/Atmosphere.js.map +1 -1
- package/lib/cjs/BackgroundMapProvider.js +4 -0
- package/lib/cjs/BackgroundMapProvider.js.map +1 -1
- package/lib/cjs/BackgroundMapSettings.js +19 -0
- package/lib/cjs/BackgroundMapSettings.js.map +1 -1
- package/lib/cjs/BlobReader.js +8 -6
- package/lib/cjs/BlobReader.js.map +1 -1
- package/lib/cjs/BriefcaseTypes.d.ts +2 -2
- package/lib/cjs/BriefcaseTypes.d.ts.map +1 -1
- package/lib/cjs/BriefcaseTypes.js.map +1 -1
- package/lib/cjs/Camera.js +3 -0
- package/lib/cjs/Camera.js.map +1 -1
- package/lib/cjs/ChangesetProps.d.ts +1 -1
- package/lib/cjs/ChangesetProps.js.map +1 -1
- package/lib/cjs/ClipStyle.js +31 -5
- package/lib/cjs/ClipStyle.js.map +1 -1
- package/lib/cjs/Code.d.ts +0 -5
- package/lib/cjs/Code.d.ts.map +1 -1
- package/lib/cjs/Code.js +16 -11
- package/lib/cjs/Code.js.map +1 -1
- package/lib/cjs/ColorDef.js +11 -10
- package/lib/cjs/ColorDef.js.map +1 -1
- package/lib/cjs/ConcurrentQuery.d.ts +37 -1
- package/lib/cjs/ConcurrentQuery.d.ts.map +1 -1
- package/lib/cjs/ConcurrentQuery.js +16 -3
- package/lib/cjs/ConcurrentQuery.js.map +1 -1
- package/lib/cjs/ContextRealityModel.js +53 -27
- package/lib/cjs/ContextRealityModel.js.map +1 -1
- package/lib/cjs/ContourDisplay.js +40 -5
- package/lib/cjs/ContourDisplay.js.map +1 -1
- package/lib/cjs/DisplayStyleSettings.js +95 -63
- package/lib/cjs/DisplayStyleSettings.js.map +1 -1
- package/lib/cjs/ECSqlReader.d.ts +2 -0
- package/lib/cjs/ECSqlReader.d.ts.map +1 -1
- package/lib/cjs/ECSqlReader.js +56 -50
- package/lib/cjs/ECSqlReader.js.map +1 -1
- package/lib/cjs/ElementProps.d.ts.map +1 -1
- package/lib/cjs/ElementProps.js +7 -3
- package/lib/cjs/ElementProps.js.map +1 -1
- package/lib/cjs/EntityProps.js +31 -0
- package/lib/cjs/EntityProps.js.map +1 -1
- package/lib/cjs/Environment.js +25 -2
- package/lib/cjs/Environment.js.map +1 -1
- package/lib/cjs/FeatureIndex.js +15 -6
- package/lib/cjs/FeatureIndex.js.map +1 -1
- package/lib/cjs/FeatureSymbology.d.ts +25 -73
- package/lib/cjs/FeatureSymbology.d.ts.map +1 -1
- package/lib/cjs/FeatureSymbology.js +88 -103
- package/lib/cjs/FeatureSymbology.js.map +1 -1
- package/lib/cjs/FeatureTable.d.ts +6 -108
- package/lib/cjs/FeatureTable.d.ts.map +1 -1
- package/lib/cjs/FeatureTable.js +13 -329
- package/lib/cjs/FeatureTable.js.map +1 -1
- package/lib/cjs/Fonts.d.ts +68 -10
- package/lib/cjs/Fonts.d.ts.map +1 -1
- package/lib/cjs/Fonts.js +19 -4
- package/lib/cjs/Fonts.js.map +1 -1
- package/lib/cjs/Frustum.js +2 -2
- package/lib/cjs/Frustum.js.map +1 -1
- package/lib/cjs/GeoCoordinateServices.d.ts +1 -0
- package/lib/cjs/GeoCoordinateServices.d.ts.map +1 -1
- package/lib/cjs/GeoCoordinateServices.js +2 -1
- package/lib/cjs/GeoCoordinateServices.js.map +1 -1
- package/lib/cjs/GeometryParams.js +58 -0
- package/lib/cjs/GeometryParams.js.map +1 -1
- package/lib/cjs/Gradient.d.ts +3 -4
- package/lib/cjs/Gradient.d.ts.map +1 -1
- package/lib/cjs/Gradient.js +21 -19
- package/lib/cjs/Gradient.js.map +1 -1
- package/lib/cjs/GraphicParams.js +14 -12
- package/lib/cjs/GraphicParams.js.map +1 -1
- package/lib/cjs/GroundPlane.js +8 -2
- package/lib/cjs/GroundPlane.js.map +1 -1
- package/lib/cjs/HSLColor.js +6 -0
- package/lib/cjs/HSLColor.js.map +1 -1
- package/lib/cjs/HSVColor.js +6 -0
- package/lib/cjs/HSVColor.js.map +1 -1
- package/lib/cjs/HiddenLine.d.ts +17 -18
- package/lib/cjs/HiddenLine.d.ts.map +1 -1
- package/lib/cjs/HiddenLine.js +24 -5
- package/lib/cjs/HiddenLine.js.map +1 -1
- package/lib/cjs/Hilite.js +10 -0
- package/lib/cjs/Hilite.js.map +1 -1
- package/lib/cjs/IModel.d.ts +3 -12
- package/lib/cjs/IModel.d.ts.map +1 -1
- package/lib/cjs/IModel.js +47 -23
- package/lib/cjs/IModel.js.map +1 -1
- package/lib/cjs/IModelError.d.ts +0 -2
- package/lib/cjs/IModelError.d.ts.map +1 -1
- package/lib/cjs/IModelError.js +3 -8
- package/lib/cjs/IModelError.js.map +1 -1
- package/lib/cjs/IModelVersion.js +4 -0
- package/lib/cjs/IModelVersion.js.map +1 -1
- package/lib/cjs/ITwinError.d.ts +63 -27
- package/lib/cjs/ITwinError.d.ts.map +1 -1
- package/lib/cjs/ITwinError.js +93 -45
- package/lib/cjs/ITwinError.js.map +1 -1
- package/lib/cjs/Image.d.ts +22 -8
- package/lib/cjs/Image.d.ts.map +1 -1
- package/lib/cjs/Image.js +20 -4
- package/lib/cjs/Image.js.map +1 -1
- package/lib/cjs/IpcAppProps.d.ts +2 -0
- package/lib/cjs/IpcAppProps.d.ts.map +1 -1
- package/lib/cjs/IpcAppProps.js.map +1 -1
- package/lib/cjs/LightSettings.js +39 -1
- package/lib/cjs/LightSettings.js.map +1 -1
- package/lib/cjs/Localization.d.ts +0 -10
- package/lib/cjs/Localization.d.ts.map +1 -1
- package/lib/cjs/Localization.js +0 -1
- package/lib/cjs/Localization.js.map +1 -1
- package/lib/cjs/MapImagerySettings.js +3 -2
- package/lib/cjs/MapImagerySettings.js.map +1 -1
- package/lib/cjs/MapLayerSettings.d.ts +20 -0
- package/lib/cjs/MapLayerSettings.d.ts.map +1 -1
- package/lib/cjs/MapLayerSettings.js +50 -1
- package/lib/cjs/MapLayerSettings.js.map +1 -1
- package/lib/cjs/MassProperties.d.ts +2 -0
- package/lib/cjs/MassProperties.d.ts.map +1 -1
- package/lib/cjs/MassProperties.js.map +1 -1
- package/lib/cjs/ModelClipGroup.js +6 -0
- package/lib/cjs/ModelClipGroup.js.map +1 -1
- package/lib/cjs/OctEncodedNormal.js +4 -0
- package/lib/cjs/OctEncodedNormal.js.map +1 -1
- package/lib/cjs/PlanProjectionSettings.d.ts +1 -2
- package/lib/cjs/PlanProjectionSettings.d.ts.map +1 -1
- package/lib/cjs/PlanProjectionSettings.js +8 -1
- package/lib/cjs/PlanProjectionSettings.js.map +1 -1
- package/lib/cjs/PlanarClipMask.d.ts +0 -12
- package/lib/cjs/PlanarClipMask.d.ts.map +1 -1
- package/lib/cjs/PlanarClipMask.js +24 -2
- package/lib/cjs/PlanarClipMask.js.map +1 -1
- package/lib/cjs/QPoint.d.ts +5 -5
- package/lib/cjs/QPoint.d.ts.map +1 -1
- package/lib/cjs/QPoint.js +37 -29
- package/lib/cjs/QPoint.js.map +1 -1
- package/lib/cjs/RealityModelDisplaySettings.js +81 -4
- package/lib/cjs/RealityModelDisplaySettings.js.map +1 -1
- package/lib/cjs/RenderMaterial.d.ts +0 -43
- package/lib/cjs/RenderMaterial.d.ts.map +1 -1
- package/lib/cjs/RenderMaterial.js +6 -51
- package/lib/cjs/RenderMaterial.js.map +1 -1
- package/lib/cjs/RenderPolyline.d.ts +36 -0
- package/lib/cjs/RenderPolyline.d.ts.map +1 -0
- package/lib/cjs/RenderPolyline.js +26 -0
- package/lib/cjs/RenderPolyline.js.map +1 -0
- package/lib/cjs/RenderSchedule.d.ts +1 -2
- package/lib/cjs/RenderSchedule.d.ts.map +1 -1
- package/lib/cjs/RenderSchedule.js +138 -11
- package/lib/cjs/RenderSchedule.js.map +1 -1
- package/lib/cjs/RenderTexture.d.ts +5 -23
- package/lib/cjs/RenderTexture.d.ts.map +1 -1
- package/lib/cjs/RenderTexture.js +13 -16
- package/lib/cjs/RenderTexture.js.map +1 -1
- package/lib/cjs/RgbColor.js +3 -0
- package/lib/cjs/RgbColor.js.map +1 -1
- package/lib/cjs/RpcInterface.d.ts.map +1 -1
- package/lib/cjs/RpcInterface.js +7 -1
- package/lib/cjs/RpcInterface.js.map +1 -1
- package/lib/cjs/SkyBox.js +17 -4
- package/lib/cjs/SkyBox.js.map +1 -1
- package/lib/cjs/SolarShadows.js +5 -1
- package/lib/cjs/SolarShadows.js.map +1 -1
- package/lib/cjs/SpatialClassification.js +19 -1
- package/lib/cjs/SpatialClassification.js.map +1 -1
- package/lib/cjs/SubCategoryAppearance.js +35 -1
- package/lib/cjs/SubCategoryAppearance.js.map +1 -1
- package/lib/cjs/SubCategoryOverride.js +16 -2
- package/lib/cjs/SubCategoryOverride.js.map +1 -1
- package/lib/cjs/TerrainSettings.d.ts +0 -7
- package/lib/cjs/TerrainSettings.d.ts.map +1 -1
- package/lib/cjs/TerrainSettings.js +19 -0
- package/lib/cjs/TerrainSettings.js.map +1 -1
- package/lib/cjs/TextureMapping.d.ts +17 -14
- package/lib/cjs/TextureMapping.d.ts.map +1 -1
- package/lib/cjs/TextureMapping.js +47 -19
- package/lib/cjs/TextureMapping.js.map +1 -1
- package/lib/cjs/ThematicDisplay.js +53 -2
- package/lib/cjs/ThematicDisplay.js.map +1 -1
- package/lib/cjs/Thumbnail.d.ts +1 -1
- package/lib/cjs/Thumbnail.js.map +1 -1
- package/lib/cjs/Tween.js +28 -19
- package/lib/cjs/Tween.js.map +1 -1
- package/lib/cjs/ViewDetails.js +10 -6
- package/lib/cjs/ViewDetails.js.map +1 -1
- package/lib/cjs/ViewFlags.d.ts +1 -3
- package/lib/cjs/ViewFlags.d.ts.map +1 -1
- package/lib/cjs/ViewFlags.js +86 -5
- package/lib/cjs/ViewFlags.js.map +1 -1
- package/lib/cjs/ViewProps.d.ts +0 -4
- package/lib/cjs/ViewProps.d.ts.map +1 -1
- package/lib/cjs/ViewProps.js.map +1 -1
- package/lib/cjs/WhiteOnWhiteReversalSettings.js +7 -2
- package/lib/cjs/WhiteOnWhiteReversalSettings.js.map +1 -1
- package/lib/cjs/annotation/TextAnnotation.js +10 -0
- package/lib/cjs/annotation/TextAnnotation.js.map +1 -1
- package/lib/cjs/annotation/TextBlock.js +27 -6
- package/lib/cjs/annotation/TextBlock.js.map +1 -1
- package/lib/cjs/annotation/TextStyle.js +65 -19
- package/lib/cjs/annotation/TextStyle.js.map +1 -1
- package/lib/cjs/core-common.d.ts +1 -2
- package/lib/cjs/core-common.d.ts.map +1 -1
- package/lib/cjs/core-common.js +1 -2
- package/lib/cjs/core-common.js.map +1 -1
- package/lib/cjs/geometry/AdditionalTransform.js +12 -0
- package/lib/cjs/geometry/AdditionalTransform.js.map +1 -1
- package/lib/cjs/geometry/AreaPattern.js +17 -0
- package/lib/cjs/geometry/AreaPattern.js.map +1 -1
- package/lib/cjs/geometry/BoundingSphere.js +4 -0
- package/lib/cjs/geometry/BoundingSphere.js.map +1 -1
- package/lib/cjs/geometry/Cartographic.js +23 -20
- package/lib/cjs/geometry/Cartographic.js.map +1 -1
- package/lib/cjs/geometry/CoordinateReferenceSystem.js +62 -0
- package/lib/cjs/geometry/CoordinateReferenceSystem.js.map +1 -1
- package/lib/cjs/geometry/ElementGeometry.js +26 -8
- package/lib/cjs/geometry/ElementGeometry.js.map +1 -1
- package/lib/cjs/geometry/ElementGeometryFB.js +54 -108
- package/lib/cjs/geometry/ElementGeometryFB.js.map +1 -1
- package/lib/cjs/geometry/FrustumPlanes.js +1 -0
- package/lib/cjs/geometry/FrustumPlanes.js.map +1 -1
- package/lib/cjs/geometry/GeodeticDatum.js +100 -0
- package/lib/cjs/geometry/GeodeticDatum.js.map +1 -1
- package/lib/cjs/geometry/GeodeticEllipsoid.js +16 -0
- package/lib/cjs/geometry/GeodeticEllipsoid.js.map +1 -1
- package/lib/cjs/geometry/GeometryStream.js +19 -6
- package/lib/cjs/geometry/GeometryStream.js.map +1 -1
- package/lib/cjs/geometry/ImageGraphic.js +10 -0
- package/lib/cjs/geometry/ImageGraphic.js.map +1 -1
- package/lib/cjs/geometry/LineStyle.js +14 -0
- package/lib/cjs/geometry/LineStyle.js.map +1 -1
- package/lib/cjs/geometry/Placement.js +6 -0
- package/lib/cjs/geometry/Placement.js.map +1 -1
- package/lib/cjs/geometry/Projection.js +75 -0
- package/lib/cjs/geometry/Projection.js.map +1 -1
- package/lib/cjs/geometry/TextString.js +18 -0
- package/lib/cjs/geometry/TextString.js.map +1 -1
- package/lib/cjs/{BackendTypes.d.ts → internal/BackendTypes.d.ts} +1 -0
- package/lib/cjs/internal/BackendTypes.d.ts.map +1 -0
- package/lib/cjs/internal/BackendTypes.js.map +1 -0
- package/lib/cjs/internal/PackedFeatureTable.d.ts +111 -0
- package/lib/cjs/internal/PackedFeatureTable.d.ts.map +1 -0
- package/lib/cjs/internal/PackedFeatureTable.js +359 -0
- package/lib/cjs/internal/PackedFeatureTable.js.map +1 -0
- package/lib/cjs/internal/RenderMaterialParams.d.ts +47 -0
- package/lib/cjs/internal/RenderMaterialParams.d.ts.map +1 -0
- package/lib/cjs/internal/RenderMaterialParams.js +68 -0
- package/lib/cjs/internal/RenderMaterialParams.js.map +1 -0
- package/lib/cjs/internal/RenderMesh.d.ts +52 -0
- package/lib/cjs/internal/RenderMesh.d.ts.map +1 -0
- package/lib/cjs/{Render.js → internal/RenderMesh.js} +12 -31
- package/lib/cjs/internal/RenderMesh.js.map +1 -0
- package/lib/cjs/internal/RenderTextureParams.d.ts +25 -0
- package/lib/cjs/internal/RenderTextureParams.d.ts.map +1 -0
- package/lib/cjs/internal/RenderTextureParams.js +37 -0
- package/lib/cjs/internal/RenderTextureParams.js.map +1 -0
- package/lib/cjs/internal/cross-package.d.ts +5 -0
- package/lib/cjs/internal/cross-package.d.ts.map +1 -1
- package/lib/cjs/internal/cross-package.js +16 -0
- package/lib/cjs/internal/cross-package.js.map +1 -1
- package/lib/cjs/ipc/IpcSession.js +1 -0
- package/lib/cjs/ipc/IpcSession.js.map +1 -1
- package/lib/cjs/ipc/IpcSocket.d.ts +3 -0
- package/lib/cjs/ipc/IpcSocket.d.ts.map +1 -1
- package/lib/cjs/ipc/IpcSocket.js.map +1 -1
- package/lib/cjs/ipc/IpcWebSocket.js +7 -6
- package/lib/cjs/ipc/IpcWebSocket.js.map +1 -1
- package/lib/cjs/ipc/IpcWebSocketTransport.js +8 -7
- package/lib/cjs/ipc/IpcWebSocketTransport.js.map +1 -1
- package/lib/cjs/rpc/DevToolsRpcInterface.js +6 -6
- package/lib/cjs/rpc/DevToolsRpcInterface.js.map +1 -1
- package/lib/cjs/rpc/IModelReadRpcInterface.js +8 -11
- package/lib/cjs/rpc/IModelReadRpcInterface.js.map +1 -1
- package/lib/cjs/rpc/IModelTileRpcInterface.js +4 -4
- package/lib/cjs/rpc/IModelTileRpcInterface.js.map +1 -1
- package/lib/cjs/rpc/SnapshotIModelRpcInterface.js +4 -4
- package/lib/cjs/rpc/SnapshotIModelRpcInterface.js.map +1 -1
- package/lib/cjs/rpc/TestRpcManager.js +1 -4
- package/lib/cjs/rpc/TestRpcManager.js.map +1 -1
- package/lib/cjs/rpc/core/RpcConfiguration.js +51 -64
- package/lib/cjs/rpc/core/RpcConfiguration.js.map +1 -1
- package/lib/cjs/rpc/core/RpcControl.js +29 -38
- package/lib/cjs/rpc/core/RpcControl.js.map +1 -1
- package/lib/cjs/rpc/core/RpcInvocation.js +19 -13
- package/lib/cjs/rpc/core/RpcInvocation.js.map +1 -1
- package/lib/cjs/rpc/core/RpcMarshaling.d.ts +1 -4
- package/lib/cjs/rpc/core/RpcMarshaling.d.ts.map +1 -1
- package/lib/cjs/rpc/core/RpcMarshaling.js +5 -4
- package/lib/cjs/rpc/core/RpcMarshaling.js.map +1 -1
- package/lib/cjs/rpc/core/RpcOperation.js +29 -31
- package/lib/cjs/rpc/core/RpcOperation.js.map +1 -1
- package/lib/cjs/rpc/core/RpcPendingQueue.js +17 -16
- package/lib/cjs/rpc/core/RpcPendingQueue.js.map +1 -1
- package/lib/cjs/rpc/core/RpcProtocol.js +32 -30
- package/lib/cjs/rpc/core/RpcProtocol.js.map +1 -1
- package/lib/cjs/rpc/core/RpcPush.js +15 -8
- package/lib/cjs/rpc/core/RpcPush.js.map +1 -1
- package/lib/cjs/rpc/core/RpcRegistry.d.ts.map +1 -1
- package/lib/cjs/rpc/core/RpcRegistry.js +10 -9
- package/lib/cjs/rpc/core/RpcRegistry.js.map +1 -1
- package/lib/cjs/rpc/core/RpcRequest.d.ts +2 -2
- package/lib/cjs/rpc/core/RpcRequest.d.ts.map +1 -1
- package/lib/cjs/rpc/core/RpcRequest.js +51 -29
- package/lib/cjs/rpc/core/RpcRequest.js.map +1 -1
- package/lib/cjs/rpc/core/RpcRoutingToken.js +4 -2
- package/lib/cjs/rpc/core/RpcRoutingToken.js.map +1 -1
- package/lib/cjs/rpc/core/RpcSessionInvocation.js +5 -10
- package/lib/cjs/rpc/core/RpcSessionInvocation.js.map +1 -1
- package/lib/cjs/rpc/web/BentleyCloudRpcManager.js +11 -17
- package/lib/cjs/rpc/web/BentleyCloudRpcManager.js.map +1 -1
- package/lib/cjs/rpc/web/BentleyCloudRpcProtocol.js +16 -19
- package/lib/cjs/rpc/web/BentleyCloudRpcProtocol.js.map +1 -1
- package/lib/cjs/rpc/web/OpenAPI.js +2 -0
- package/lib/cjs/rpc/web/OpenAPI.js.map +1 -1
- package/lib/cjs/rpc/web/RpcMultipart.d.ts +1 -1
- package/lib/cjs/rpc/web/RpcMultipart.d.ts.map +1 -1
- package/lib/cjs/rpc/web/RpcMultipart.js +13 -12
- package/lib/cjs/rpc/web/RpcMultipart.js.map +1 -1
- package/lib/cjs/rpc/web/WebAppRpcLogging.d.ts +3 -0
- package/lib/cjs/rpc/web/WebAppRpcLogging.d.ts.map +1 -1
- package/lib/cjs/rpc/web/WebAppRpcLogging.js +1 -6
- package/lib/cjs/rpc/web/WebAppRpcLogging.js.map +1 -1
- package/lib/cjs/rpc/web/WebAppRpcProtocol.d.ts +1 -1
- package/lib/cjs/rpc/web/WebAppRpcProtocol.d.ts.map +1 -1
- package/lib/cjs/rpc/web/WebAppRpcProtocol.js +6 -6
- package/lib/cjs/rpc/web/WebAppRpcProtocol.js.map +1 -1
- package/lib/cjs/rpc/web/WebAppRpcRequest.d.ts.map +1 -1
- package/lib/cjs/rpc/web/WebAppRpcRequest.js +27 -27
- package/lib/cjs/rpc/web/WebAppRpcRequest.js.map +1 -1
- package/lib/cjs/rpc/web/multipart/RpcMultipartParser.d.ts +0 -2
- package/lib/cjs/rpc/web/multipart/RpcMultipartParser.d.ts.map +1 -1
- package/lib/cjs/rpc/web/multipart/RpcMultipartParser.js +14 -8
- package/lib/cjs/rpc/web/multipart/RpcMultipartParser.js.map +1 -1
- package/lib/cjs/tile/B3dmTileIO.js +7 -0
- package/lib/cjs/tile/B3dmTileIO.js.map +1 -1
- package/lib/cjs/tile/CompositeTileIO.js +3 -0
- package/lib/cjs/tile/CompositeTileIO.js.map +1 -1
- package/lib/cjs/tile/GltfTileIO.js +4 -3
- package/lib/cjs/tile/GltfTileIO.js.map +1 -1
- package/lib/cjs/tile/I3dmTileIO.js +8 -0
- package/lib/cjs/tile/I3dmTileIO.js.map +1 -1
- package/lib/cjs/tile/IModelTileIO.d.ts +2 -2
- package/lib/cjs/tile/IModelTileIO.js +26 -3
- package/lib/cjs/tile/IModelTileIO.js.map +1 -1
- package/lib/cjs/tile/PntsTileIO.js +5 -0
- package/lib/cjs/tile/PntsTileIO.js.map +1 -1
- package/lib/cjs/tile/TileIO.js +2 -0
- package/lib/cjs/tile/TileIO.js.map +1 -1
- package/lib/cjs/tile/TileMetadata.js +9 -1
- package/lib/cjs/tile/TileMetadata.js.map +1 -1
- package/lib/esm/AmbientOcclusion.js +17 -9
- package/lib/esm/AmbientOcclusion.js.map +1 -1
- package/lib/esm/AnalysisStyle.d.ts +0 -3
- package/lib/esm/AnalysisStyle.d.ts.map +1 -1
- package/lib/esm/AnalysisStyle.js +20 -4
- package/lib/esm/AnalysisStyle.js.map +1 -1
- package/lib/esm/Atmosphere.js +39 -21
- package/lib/esm/Atmosphere.js.map +1 -1
- package/lib/esm/BackgroundMapProvider.js +4 -0
- package/lib/esm/BackgroundMapProvider.js.map +1 -1
- package/lib/esm/BackgroundMapSettings.js +19 -0
- package/lib/esm/BackgroundMapSettings.js.map +1 -1
- package/lib/esm/BlobReader.js +8 -6
- package/lib/esm/BlobReader.js.map +1 -1
- package/lib/esm/BriefcaseTypes.d.ts +2 -2
- package/lib/esm/BriefcaseTypes.d.ts.map +1 -1
- package/lib/esm/BriefcaseTypes.js.map +1 -1
- package/lib/esm/Camera.js +3 -0
- package/lib/esm/Camera.js.map +1 -1
- package/lib/esm/ChangesetProps.d.ts +1 -1
- package/lib/esm/ChangesetProps.js.map +1 -1
- package/lib/esm/ClipStyle.js +31 -5
- package/lib/esm/ClipStyle.js.map +1 -1
- package/lib/esm/Code.d.ts +0 -5
- package/lib/esm/Code.d.ts.map +1 -1
- package/lib/esm/Code.js +16 -11
- package/lib/esm/Code.js.map +1 -1
- package/lib/esm/ColorDef.js +11 -10
- package/lib/esm/ColorDef.js.map +1 -1
- package/lib/esm/ConcurrentQuery.d.ts +37 -1
- package/lib/esm/ConcurrentQuery.d.ts.map +1 -1
- package/lib/esm/ConcurrentQuery.js +16 -3
- package/lib/esm/ConcurrentQuery.js.map +1 -1
- package/lib/esm/ContextRealityModel.js +53 -27
- package/lib/esm/ContextRealityModel.js.map +1 -1
- package/lib/esm/ContourDisplay.js +40 -5
- package/lib/esm/ContourDisplay.js.map +1 -1
- package/lib/esm/DisplayStyleSettings.js +95 -63
- package/lib/esm/DisplayStyleSettings.js.map +1 -1
- package/lib/esm/ECSqlReader.d.ts +2 -0
- package/lib/esm/ECSqlReader.d.ts.map +1 -1
- package/lib/esm/ECSqlReader.js +56 -50
- package/lib/esm/ECSqlReader.js.map +1 -1
- package/lib/esm/ElementProps.d.ts.map +1 -1
- package/lib/esm/ElementProps.js +8 -4
- package/lib/esm/ElementProps.js.map +1 -1
- package/lib/esm/EntityProps.js +31 -0
- package/lib/esm/EntityProps.js.map +1 -1
- package/lib/esm/Environment.js +25 -2
- package/lib/esm/Environment.js.map +1 -1
- package/lib/esm/FeatureIndex.js +15 -6
- package/lib/esm/FeatureIndex.js.map +1 -1
- package/lib/esm/FeatureSymbology.d.ts +25 -73
- package/lib/esm/FeatureSymbology.d.ts.map +1 -1
- package/lib/esm/FeatureSymbology.js +88 -103
- package/lib/esm/FeatureSymbology.js.map +1 -1
- package/lib/esm/FeatureTable.d.ts +6 -108
- package/lib/esm/FeatureTable.d.ts.map +1 -1
- package/lib/esm/FeatureTable.js +11 -324
- package/lib/esm/FeatureTable.js.map +1 -1
- package/lib/esm/Fonts.d.ts +68 -10
- package/lib/esm/Fonts.d.ts.map +1 -1
- package/lib/esm/Fonts.js +19 -4
- package/lib/esm/Fonts.js.map +1 -1
- package/lib/esm/Frustum.js +2 -2
- package/lib/esm/Frustum.js.map +1 -1
- package/lib/esm/GeoCoordinateServices.d.ts +1 -0
- package/lib/esm/GeoCoordinateServices.d.ts.map +1 -1
- package/lib/esm/GeoCoordinateServices.js +2 -1
- package/lib/esm/GeoCoordinateServices.js.map +1 -1
- package/lib/esm/GeometryParams.js +58 -0
- package/lib/esm/GeometryParams.js.map +1 -1
- package/lib/esm/Gradient.d.ts +3 -4
- package/lib/esm/Gradient.d.ts.map +1 -1
- package/lib/esm/Gradient.js +21 -19
- package/lib/esm/Gradient.js.map +1 -1
- package/lib/esm/GraphicParams.js +14 -12
- package/lib/esm/GraphicParams.js.map +1 -1
- package/lib/esm/GroundPlane.js +8 -2
- package/lib/esm/GroundPlane.js.map +1 -1
- package/lib/esm/HSLColor.js +6 -0
- package/lib/esm/HSLColor.js.map +1 -1
- package/lib/esm/HSVColor.js +6 -0
- package/lib/esm/HSVColor.js.map +1 -1
- package/lib/esm/HiddenLine.d.ts +17 -18
- package/lib/esm/HiddenLine.d.ts.map +1 -1
- package/lib/esm/HiddenLine.js +24 -5
- package/lib/esm/HiddenLine.js.map +1 -1
- package/lib/esm/Hilite.js +10 -0
- package/lib/esm/Hilite.js.map +1 -1
- package/lib/esm/IModel.d.ts +3 -12
- package/lib/esm/IModel.d.ts.map +1 -1
- package/lib/esm/IModel.js +47 -23
- package/lib/esm/IModel.js.map +1 -1
- package/lib/esm/IModelError.d.ts +0 -2
- package/lib/esm/IModelError.d.ts.map +1 -1
- package/lib/esm/IModelError.js +2 -1
- package/lib/esm/IModelError.js.map +1 -1
- package/lib/esm/IModelVersion.js +4 -0
- package/lib/esm/IModelVersion.js.map +1 -1
- package/lib/esm/ITwinError.d.ts +63 -27
- package/lib/esm/ITwinError.d.ts.map +1 -1
- package/lib/esm/ITwinError.js +87 -44
- package/lib/esm/ITwinError.js.map +1 -1
- package/lib/esm/Image.d.ts +22 -8
- package/lib/esm/Image.d.ts.map +1 -1
- package/lib/esm/Image.js +19 -4
- package/lib/esm/Image.js.map +1 -1
- package/lib/esm/IpcAppProps.d.ts +2 -0
- package/lib/esm/IpcAppProps.d.ts.map +1 -1
- package/lib/esm/IpcAppProps.js.map +1 -1
- package/lib/esm/LightSettings.js +39 -1
- package/lib/esm/LightSettings.js.map +1 -1
- package/lib/esm/Localization.d.ts +0 -10
- package/lib/esm/Localization.d.ts.map +1 -1
- package/lib/esm/Localization.js +0 -1
- package/lib/esm/Localization.js.map +1 -1
- package/lib/esm/MapImagerySettings.js +3 -2
- package/lib/esm/MapImagerySettings.js.map +1 -1
- package/lib/esm/MapLayerSettings.d.ts +20 -0
- package/lib/esm/MapLayerSettings.d.ts.map +1 -1
- package/lib/esm/MapLayerSettings.js +50 -1
- package/lib/esm/MapLayerSettings.js.map +1 -1
- package/lib/esm/MassProperties.d.ts +2 -0
- package/lib/esm/MassProperties.d.ts.map +1 -1
- package/lib/esm/MassProperties.js.map +1 -1
- package/lib/esm/ModelClipGroup.js +6 -0
- package/lib/esm/ModelClipGroup.js.map +1 -1
- package/lib/esm/OctEncodedNormal.js +4 -0
- package/lib/esm/OctEncodedNormal.js.map +1 -1
- package/lib/esm/PlanProjectionSettings.d.ts +1 -2
- package/lib/esm/PlanProjectionSettings.d.ts.map +1 -1
- package/lib/esm/PlanProjectionSettings.js +8 -1
- package/lib/esm/PlanProjectionSettings.js.map +1 -1
- package/lib/esm/PlanarClipMask.d.ts +0 -12
- package/lib/esm/PlanarClipMask.d.ts.map +1 -1
- package/lib/esm/PlanarClipMask.js +24 -2
- package/lib/esm/PlanarClipMask.js.map +1 -1
- package/lib/esm/QPoint.d.ts +5 -5
- package/lib/esm/QPoint.d.ts.map +1 -1
- package/lib/esm/QPoint.js +37 -29
- package/lib/esm/QPoint.js.map +1 -1
- package/lib/esm/RealityModelDisplaySettings.js +81 -4
- package/lib/esm/RealityModelDisplaySettings.js.map +1 -1
- package/lib/esm/RenderMaterial.d.ts +0 -43
- package/lib/esm/RenderMaterial.d.ts.map +1 -1
- package/lib/esm/RenderMaterial.js +6 -51
- package/lib/esm/RenderMaterial.js.map +1 -1
- package/lib/esm/RenderPolyline.d.ts +36 -0
- package/lib/esm/RenderPolyline.d.ts.map +1 -0
- package/lib/esm/RenderPolyline.js +23 -0
- package/lib/esm/RenderPolyline.js.map +1 -0
- package/lib/esm/RenderSchedule.d.ts +1 -2
- package/lib/esm/RenderSchedule.d.ts.map +1 -1
- package/lib/esm/RenderSchedule.js +138 -11
- package/lib/esm/RenderSchedule.js.map +1 -1
- package/lib/esm/RenderTexture.d.ts +5 -23
- package/lib/esm/RenderTexture.d.ts.map +1 -1
- package/lib/esm/RenderTexture.js +13 -16
- package/lib/esm/RenderTexture.js.map +1 -1
- package/lib/esm/RgbColor.js +3 -0
- package/lib/esm/RgbColor.js.map +1 -1
- package/lib/esm/RpcInterface.d.ts.map +1 -1
- package/lib/esm/RpcInterface.js +8 -2
- package/lib/esm/RpcInterface.js.map +1 -1
- package/lib/esm/SkyBox.js +17 -4
- package/lib/esm/SkyBox.js.map +1 -1
- package/lib/esm/SolarShadows.js +5 -1
- package/lib/esm/SolarShadows.js.map +1 -1
- package/lib/esm/SpatialClassification.js +19 -1
- package/lib/esm/SpatialClassification.js.map +1 -1
- package/lib/esm/SubCategoryAppearance.js +35 -1
- package/lib/esm/SubCategoryAppearance.js.map +1 -1
- package/lib/esm/SubCategoryOverride.js +16 -2
- package/lib/esm/SubCategoryOverride.js.map +1 -1
- package/lib/esm/TerrainSettings.d.ts +0 -7
- package/lib/esm/TerrainSettings.d.ts.map +1 -1
- package/lib/esm/TerrainSettings.js +19 -0
- package/lib/esm/TerrainSettings.js.map +1 -1
- package/lib/esm/TextureMapping.d.ts +17 -14
- package/lib/esm/TextureMapping.d.ts.map +1 -1
- package/lib/esm/TextureMapping.js +47 -19
- package/lib/esm/TextureMapping.js.map +1 -1
- package/lib/esm/ThematicDisplay.js +53 -2
- package/lib/esm/ThematicDisplay.js.map +1 -1
- package/lib/esm/Thumbnail.d.ts +1 -1
- package/lib/esm/Thumbnail.js.map +1 -1
- package/lib/esm/Tween.js +28 -19
- package/lib/esm/Tween.js.map +1 -1
- package/lib/esm/ViewDetails.js +10 -6
- package/lib/esm/ViewDetails.js.map +1 -1
- package/lib/esm/ViewFlags.d.ts +1 -3
- package/lib/esm/ViewFlags.d.ts.map +1 -1
- package/lib/esm/ViewFlags.js +86 -5
- package/lib/esm/ViewFlags.js.map +1 -1
- package/lib/esm/ViewProps.d.ts +0 -4
- package/lib/esm/ViewProps.d.ts.map +1 -1
- package/lib/esm/ViewProps.js.map +1 -1
- package/lib/esm/WhiteOnWhiteReversalSettings.js +7 -2
- package/lib/esm/WhiteOnWhiteReversalSettings.js.map +1 -1
- package/lib/esm/annotation/TextAnnotation.js +10 -0
- package/lib/esm/annotation/TextAnnotation.js.map +1 -1
- package/lib/esm/annotation/TextBlock.js +27 -6
- package/lib/esm/annotation/TextBlock.js.map +1 -1
- package/lib/esm/annotation/TextStyle.js +65 -19
- package/lib/esm/annotation/TextStyle.js.map +1 -1
- package/lib/esm/core-common.d.ts +1 -2
- package/lib/esm/core-common.d.ts.map +1 -1
- package/lib/esm/core-common.js +1 -2
- package/lib/esm/core-common.js.map +1 -1
- package/lib/esm/geometry/AdditionalTransform.js +12 -0
- package/lib/esm/geometry/AdditionalTransform.js.map +1 -1
- package/lib/esm/geometry/AreaPattern.js +17 -0
- package/lib/esm/geometry/AreaPattern.js.map +1 -1
- package/lib/esm/geometry/BoundingSphere.js +4 -0
- package/lib/esm/geometry/BoundingSphere.js.map +1 -1
- package/lib/esm/geometry/Cartographic.js +23 -20
- package/lib/esm/geometry/Cartographic.js.map +1 -1
- package/lib/esm/geometry/CoordinateReferenceSystem.js +62 -0
- package/lib/esm/geometry/CoordinateReferenceSystem.js.map +1 -1
- package/lib/esm/geometry/ElementGeometry.js +26 -8
- package/lib/esm/geometry/ElementGeometry.js.map +1 -1
- package/lib/esm/geometry/ElementGeometryFB.js +54 -108
- package/lib/esm/geometry/ElementGeometryFB.js.map +1 -1
- package/lib/esm/geometry/FrustumPlanes.js +1 -0
- package/lib/esm/geometry/FrustumPlanes.js.map +1 -1
- package/lib/esm/geometry/GeodeticDatum.js +100 -0
- package/lib/esm/geometry/GeodeticDatum.js.map +1 -1
- package/lib/esm/geometry/GeodeticEllipsoid.js +16 -0
- package/lib/esm/geometry/GeodeticEllipsoid.js.map +1 -1
- package/lib/esm/geometry/GeometryStream.js +19 -6
- package/lib/esm/geometry/GeometryStream.js.map +1 -1
- package/lib/esm/geometry/ImageGraphic.js +10 -0
- package/lib/esm/geometry/ImageGraphic.js.map +1 -1
- package/lib/esm/geometry/LineStyle.js +14 -0
- package/lib/esm/geometry/LineStyle.js.map +1 -1
- package/lib/esm/geometry/Placement.js +6 -0
- package/lib/esm/geometry/Placement.js.map +1 -1
- package/lib/esm/geometry/Projection.js +75 -0
- package/lib/esm/geometry/Projection.js.map +1 -1
- package/lib/esm/geometry/TextString.js +18 -0
- package/lib/esm/geometry/TextString.js.map +1 -1
- package/lib/esm/{BackendTypes.d.ts → internal/BackendTypes.d.ts} +1 -0
- package/lib/esm/internal/BackendTypes.d.ts.map +1 -0
- package/lib/esm/internal/BackendTypes.js.map +1 -0
- package/lib/esm/internal/PackedFeatureTable.d.ts +111 -0
- package/lib/esm/internal/PackedFeatureTable.d.ts.map +1 -0
- package/lib/esm/internal/PackedFeatureTable.js +352 -0
- package/lib/esm/internal/PackedFeatureTable.js.map +1 -0
- package/lib/esm/internal/RenderMaterialParams.d.ts +47 -0
- package/lib/esm/internal/RenderMaterialParams.d.ts.map +1 -0
- package/lib/esm/internal/RenderMaterialParams.js +64 -0
- package/lib/esm/internal/RenderMaterialParams.js.map +1 -0
- package/lib/esm/internal/RenderMesh.d.ts +52 -0
- package/lib/esm/internal/RenderMesh.d.ts.map +1 -0
- package/lib/esm/{Render.js → internal/RenderMesh.js} +11 -29
- package/lib/esm/internal/RenderMesh.js.map +1 -0
- package/lib/esm/internal/RenderTextureParams.d.ts +25 -0
- package/lib/esm/internal/RenderTextureParams.d.ts.map +1 -0
- package/lib/esm/internal/RenderTextureParams.js +33 -0
- package/lib/esm/internal/RenderTextureParams.js.map +1 -0
- package/lib/esm/internal/cross-package.d.ts +5 -0
- package/lib/esm/internal/cross-package.d.ts.map +1 -1
- package/lib/esm/internal/cross-package.js +4 -1
- package/lib/esm/internal/cross-package.js.map +1 -1
- package/lib/esm/ipc/IpcSession.js +1 -0
- package/lib/esm/ipc/IpcSession.js.map +1 -1
- package/lib/esm/ipc/IpcSocket.d.ts +3 -0
- package/lib/esm/ipc/IpcSocket.d.ts.map +1 -1
- package/lib/esm/ipc/IpcSocket.js.map +1 -1
- package/lib/esm/ipc/IpcWebSocket.js +7 -6
- package/lib/esm/ipc/IpcWebSocket.js.map +1 -1
- package/lib/esm/ipc/IpcWebSocketTransport.js +8 -7
- package/lib/esm/ipc/IpcWebSocketTransport.js.map +1 -1
- package/lib/esm/rpc/DevToolsRpcInterface.js +6 -6
- package/lib/esm/rpc/DevToolsRpcInterface.js.map +1 -1
- package/lib/esm/rpc/IModelReadRpcInterface.js +8 -11
- package/lib/esm/rpc/IModelReadRpcInterface.js.map +1 -1
- package/lib/esm/rpc/IModelTileRpcInterface.js +4 -4
- package/lib/esm/rpc/IModelTileRpcInterface.js.map +1 -1
- package/lib/esm/rpc/SnapshotIModelRpcInterface.js +4 -4
- package/lib/esm/rpc/SnapshotIModelRpcInterface.js.map +1 -1
- package/lib/esm/rpc/TestRpcManager.js +1 -4
- package/lib/esm/rpc/TestRpcManager.js.map +1 -1
- package/lib/esm/rpc/core/RpcConfiguration.js +51 -64
- package/lib/esm/rpc/core/RpcConfiguration.js.map +1 -1
- package/lib/esm/rpc/core/RpcControl.js +29 -38
- package/lib/esm/rpc/core/RpcControl.js.map +1 -1
- package/lib/esm/rpc/core/RpcInvocation.js +19 -13
- package/lib/esm/rpc/core/RpcInvocation.js.map +1 -1
- package/lib/esm/rpc/core/RpcMarshaling.d.ts +1 -4
- package/lib/esm/rpc/core/RpcMarshaling.d.ts.map +1 -1
- package/lib/esm/rpc/core/RpcMarshaling.js +2 -1
- package/lib/esm/rpc/core/RpcMarshaling.js.map +1 -1
- package/lib/esm/rpc/core/RpcOperation.js +29 -31
- package/lib/esm/rpc/core/RpcOperation.js.map +1 -1
- package/lib/esm/rpc/core/RpcPendingQueue.js +17 -16
- package/lib/esm/rpc/core/RpcPendingQueue.js.map +1 -1
- package/lib/esm/rpc/core/RpcProtocol.js +32 -30
- package/lib/esm/rpc/core/RpcProtocol.js.map +1 -1
- package/lib/esm/rpc/core/RpcPush.js +15 -8
- package/lib/esm/rpc/core/RpcPush.js.map +1 -1
- package/lib/esm/rpc/core/RpcRegistry.d.ts.map +1 -1
- package/lib/esm/rpc/core/RpcRegistry.js +10 -9
- package/lib/esm/rpc/core/RpcRegistry.js.map +1 -1
- package/lib/esm/rpc/core/RpcRequest.d.ts +2 -2
- package/lib/esm/rpc/core/RpcRequest.d.ts.map +1 -1
- package/lib/esm/rpc/core/RpcRequest.js +51 -29
- package/lib/esm/rpc/core/RpcRequest.js.map +1 -1
- package/lib/esm/rpc/core/RpcRoutingToken.js +4 -2
- package/lib/esm/rpc/core/RpcRoutingToken.js.map +1 -1
- package/lib/esm/rpc/core/RpcSessionInvocation.js +5 -10
- package/lib/esm/rpc/core/RpcSessionInvocation.js.map +1 -1
- package/lib/esm/rpc/web/BentleyCloudRpcManager.js +11 -17
- package/lib/esm/rpc/web/BentleyCloudRpcManager.js.map +1 -1
- package/lib/esm/rpc/web/BentleyCloudRpcProtocol.js +16 -19
- package/lib/esm/rpc/web/BentleyCloudRpcProtocol.js.map +1 -1
- package/lib/esm/rpc/web/OpenAPI.js +2 -0
- package/lib/esm/rpc/web/OpenAPI.js.map +1 -1
- package/lib/esm/rpc/web/RpcMultipart.d.ts +1 -1
- package/lib/esm/rpc/web/RpcMultipart.d.ts.map +1 -1
- package/lib/esm/rpc/web/RpcMultipart.js +14 -13
- package/lib/esm/rpc/web/RpcMultipart.js.map +1 -1
- package/lib/esm/rpc/web/WebAppRpcLogging.d.ts +3 -0
- package/lib/esm/rpc/web/WebAppRpcLogging.d.ts.map +1 -1
- package/lib/esm/rpc/web/WebAppRpcLogging.js +1 -6
- package/lib/esm/rpc/web/WebAppRpcLogging.js.map +1 -1
- package/lib/esm/rpc/web/WebAppRpcProtocol.d.ts +1 -1
- package/lib/esm/rpc/web/WebAppRpcProtocol.d.ts.map +1 -1
- package/lib/esm/rpc/web/WebAppRpcProtocol.js +6 -6
- package/lib/esm/rpc/web/WebAppRpcProtocol.js.map +1 -1
- package/lib/esm/rpc/web/WebAppRpcRequest.d.ts.map +1 -1
- package/lib/esm/rpc/web/WebAppRpcRequest.js +27 -27
- package/lib/esm/rpc/web/WebAppRpcRequest.js.map +1 -1
- package/lib/esm/rpc/web/multipart/RpcMultipartParser.d.ts +0 -2
- package/lib/esm/rpc/web/multipart/RpcMultipartParser.d.ts.map +1 -1
- package/lib/esm/rpc/web/multipart/RpcMultipartParser.js +14 -8
- package/lib/esm/rpc/web/multipart/RpcMultipartParser.js.map +1 -1
- package/lib/esm/tile/B3dmTileIO.js +7 -0
- package/lib/esm/tile/B3dmTileIO.js.map +1 -1
- package/lib/esm/tile/CompositeTileIO.js +3 -0
- package/lib/esm/tile/CompositeTileIO.js.map +1 -1
- package/lib/esm/tile/GltfTileIO.js +4 -3
- package/lib/esm/tile/GltfTileIO.js.map +1 -1
- package/lib/esm/tile/I3dmTileIO.js +8 -0
- package/lib/esm/tile/I3dmTileIO.js.map +1 -1
- package/lib/esm/tile/IModelTileIO.d.ts +2 -2
- package/lib/esm/tile/IModelTileIO.js +26 -3
- package/lib/esm/tile/IModelTileIO.js.map +1 -1
- package/lib/esm/tile/PntsTileIO.js +5 -0
- package/lib/esm/tile/PntsTileIO.js.map +1 -1
- package/lib/esm/tile/TileIO.js +2 -0
- package/lib/esm/tile/TileIO.js.map +1 -1
- package/lib/esm/tile/TileMetadata.js +9 -1
- package/lib/esm/tile/TileMetadata.js.map +1 -1
- package/package.json +14 -14
- package/lib/cjs/BackendTypes.d.ts.map +0 -1
- package/lib/cjs/BackendTypes.js.map +0 -1
- package/lib/cjs/Render.d.ts +0 -85
- package/lib/cjs/Render.d.ts.map +0 -1
- package/lib/cjs/Render.js.map +0 -1
- package/lib/esm/BackendTypes.d.ts.map +0 -1
- package/lib/esm/BackendTypes.js.map +0 -1
- package/lib/esm/Render.d.ts +0 -85
- package/lib/esm/Render.d.ts.map +0 -1
- package/lib/esm/Render.js.map +0 -1
- /package/lib/cjs/{BackendTypes.js → internal/BackendTypes.js} +0 -0
- /package/lib/esm/{BackendTypes.js → internal/BackendTypes.js} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FeatureIndex.js","sourceRoot":"","sources":["../../src/FeatureIndex.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC;;;;;GAKG;AACH,MAAM,OAAO,eAAe;
|
|
1
|
+
{"version":3,"file":"FeatureIndex.js","sourceRoot":"","sources":["../../src/FeatureIndex.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC;;;;;GAKG;AACH,MAAM,OAAO,eAAe;IAC1B,uFAAuF;IACvE,MAAM,CAAc;IACpC,qFAAqF;IACrE,OAAO,CAAc;IACrC;;OAEG;IACa,QAAQ,CAAU;IAElC;;;;OAIG;IACH,YAAmB,MAAmB,EAAE,OAAiB,EAAE,QAAiB;QAC1E,IAAI,CAAC,MAAM,GAAG,IAAI,WAAW,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;QAC7C,IAAI,CAAC,OAAO,GAAG,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACzC,IAAI,CAAC,QAAQ,GAAG,CAAC,QAAQ,CAAC;IAC5B,CAAC;CACF;AAED;;;GAGG;AACH,MAAM,OAAO,UAAU;IACb,MAAM,CAA6B;IAE3C,4DAA4D;IAC5D,IAAW,QAAQ,KAAK,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC;IACvD,2FAA2F;IAC3F,IAAW,SAAS,KAAK,OAAO,IAAI,CAAC,MAAM,YAAY,QAAQ,CAAC,CAAC,CAAC;IAClE,0CAA0C;IAC1C,IAAW,SAAS,KAAa,OAAO,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,UAAW,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC;IAE9F,kEAAkE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hC,wDAAwD;IACxD,IAAW,SAAS,KAAc,OAAO,gBAAgB,CAAC,OAAO,KAAK,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;IAElF,sDAAsD;IACtD,IAAW,OAAO,KAAc,OAAO,gBAAgB,CAAC,KAAK,KAAK,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;IAE9E,+BAA+B;IACxB,KAAK;QACV,IAAI,CAAC,IAAI,GAAG,gBAAgB,CAAC,KAAK,CAAC;QACnC,IAAI,CAAC,SAAS,GAAG,CAAC,CAAC;QACnB,IAAI,CAAC,UAAU,GAAG,SAAS,CAAC;IAC9B,CAAC;CACF","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Rendering\n */\n\nimport { ColorDef } from \"./ColorDef\";\n\n/** As part of a [[ColorIndex]], describes per-vertex colors for a [MeshArgs]($frontend) or [PolylineArgs]($frontend).\n * The [[colors]] array holds the set of unique colors. The [[indices]] array describes the color of each vertex as an index into [[colors]].\n * @note A `NonUniformColor` table cannot contain a mix of opaque and translucent colors. If any color in [[colors]] has a transparency greater\n * than zero, all of them must have a transparency greater than zero.\n * @public\n */\nexport class NonUniformColor {\n /** An array of 32-bit [[ColorDef]] values in `tbgr` format, indexed by [[indices]]. */\n public readonly colors: Uint32Array;\n /** For each vertex, an index into [[colors]] indicating the color of that vertex. */\n public readonly indices: Uint16Array;\n /** If `true`, indicates none of the [[colors]] have a transparency greater than zero; otherwise, all of\n * the colors have a transparency greater than zero.\n */\n public readonly isOpaque: boolean;\n\n /** Constructor.\n * @param colors See [[colors]].\n * @param indices See [[indices]]\n * @param hasAlpha `true` if all `colors` have a transparency greater than zero, or `false` if they all have a transparency of zero.\n */\n public constructor(colors: Uint32Array, indices: number[], hasAlpha: boolean) {\n this.colors = new Uint32Array(colors.buffer);\n this.indices = Uint16Array.from(indices);\n this.isOpaque = !hasAlpha;\n }\n}\n\n/** Describes the color(s) of the vertices of a [MeshArgs]($frontend) or [PolylineArgs]($frontend).\n * This may be a uniform color to be applied to every vertex, or a table specifying individual per-vertex colors.\n * @public\n */\nexport class ColorIndex {\n private _color: ColorDef | NonUniformColor;\n\n /** Whether the color(s) in this index have transparency. */\n public get hasAlpha() { return !this._color.isOpaque; }\n /** Whether this index specifies a single uniform color for the entire mesh or polyline. */\n public get isUniform() { return this._color instanceof ColorDef; }\n /** The number of colors in this index. */\n public get numColors(): number { return this.isUniform ? 1 : this.nonUniform!.colors.length; }\n\n /** Construct a default index specifying a uniform white color. */\n public constructor() { this._color = ColorDef.white; }\n\n /** Reset this index to specify a uniform white color. */\n public reset() { this._color = ColorDef.white; }\n\n /** Returns the single color to be applied to all vertices, if [[isUniform]] is `true`; or `undefined` otherwise. */\n public get uniform(): ColorDef | undefined {\n return this.isUniform ? this._color as ColorDef : undefined;\n }\n\n /** Set the specified color to be applied to all vertices. */\n public initUniform(color: ColorDef | number) {\n this._color = typeof color === \"number\" ? ColorDef.fromJSON(color) : color;\n }\n\n /** Returns the per-vertex colors, if [[isUniform]] is `false`; or `undefined` otherwise. */\n public get nonUniform(): NonUniformColor | undefined {\n return !this.isUniform ? this._color as NonUniformColor : undefined;\n }\n\n /** Set the per-vertex colors.\n * @param colors See [[NonUniformColor.colors]].\n * @param indices See [[NonUniformColor.indices]].\n * @param hasAlpha `true` if all `colors` have a transparency greater than zero, or `false` if they all have a transparency of zero.\n */\n public initNonUniform(colors: Uint32Array, indices: number[], hasAlpha: boolean) {\n this._color = new NonUniformColor(colors, indices, hasAlpha);\n }\n}\n\n/** Describes the type of a [[FeatureIndex]].\n * @public\n */\nexport enum FeatureIndexType {\n /** Indicates that the index contains no features. */\n Empty,\n /** Indicates that the index contains exactly one feature. */\n Uniform,\n /** Indicates that the index contains more than one feature. */\n NonUniform,\n}\n\n/** Describes the set of [[Feature]]s associated with a [MeshArgs]($frontend) or [PolylineArgs]($frontend).\n * The mesh or polyline may have zero or one features; or, individual vertices may be associated with different features.\n * The features are expressed as unsigned 32-bit integer Ids of [[Feature]]s within a [[FeatureTable]].\n * @public\n */\nexport class FeatureIndex {\n /** Describes the quantity (zero, one, or more than one) of features in this index. */\n public type: FeatureIndexType = FeatureIndexType.Empty;\n\n /** If [[type]] is [[FeatureIndexType.Uniform]], the Id of the single feature. */\n public featureID: number = 0;\n /** If [[type]] is [[FeatureIndexType.NonUniform]], the per-vertex feature Ids, indexed by the mesh or polyline's vertex indices. */\n public featureIDs?: Uint32Array;\n\n /** True if [[type]] is [[FeatureIndexType.Uniform]]. */\n public get isUniform(): boolean { return FeatureIndexType.Uniform === this.type; }\n\n /** True if [[type]] is [[FeatureIndexType.Empty]]. */\n public get isEmpty(): boolean { return FeatureIndexType.Empty === this.type; }\n\n /** Reset to an empty index. */\n public reset(): void {\n this.type = FeatureIndexType.Empty;\n this.featureID = 0;\n this.featureIDs = undefined;\n }\n}\n"]}
|
|
@@ -189,9 +189,7 @@ export interface OverrideFeatureAppearanceOptions {
|
|
|
189
189
|
export interface OverrideModelAppearanceOptions extends OverrideFeatureAppearanceOptions {
|
|
190
190
|
/** The Id of the model whose appearance is to be overridden. */
|
|
191
191
|
modelId: Id64String;
|
|
192
|
-
/** @internal */
|
|
193
192
|
elementId?: never;
|
|
194
|
-
/** @internal */
|
|
195
193
|
subCategoryId?: never;
|
|
196
194
|
}
|
|
197
195
|
/** Options for using [[FeatureOverrides.override]] to override the appearance of a [GeometricElement]($backend).
|
|
@@ -200,9 +198,7 @@ export interface OverrideModelAppearanceOptions extends OverrideFeatureAppearanc
|
|
|
200
198
|
export interface OverrideElementAppearanceOptions extends OverrideFeatureAppearanceOptions {
|
|
201
199
|
/** The Id of the element whose appearance is to be overridden. */
|
|
202
200
|
elementId: Id64String;
|
|
203
|
-
/** @internal */
|
|
204
201
|
modelId?: never;
|
|
205
|
-
/** @internal */
|
|
206
202
|
subCategoryId?: never;
|
|
207
203
|
}
|
|
208
204
|
/** Options for using [[FeatureOverrides.override]] to override the appearance of a [SubCategory]($backend).
|
|
@@ -211,9 +207,7 @@ export interface OverrideElementAppearanceOptions extends OverrideFeatureAppeara
|
|
|
211
207
|
export interface OverrideSubCategoryAppearanceOptions extends OverrideFeatureAppearanceOptions {
|
|
212
208
|
/** The Id of the subcategory whose appearance is to be overridden. */
|
|
213
209
|
subCategoryId: Id64String;
|
|
214
|
-
/** @internal */
|
|
215
210
|
modelId?: never;
|
|
216
|
-
/** @internal */
|
|
217
211
|
elementId?: never;
|
|
218
212
|
}
|
|
219
213
|
/** Arguments supplied to [[FeatureOverrides.override]].
|
|
@@ -265,11 +259,11 @@ export type IgnoreAnimationOverrides = (args: IgnoreAnimationOverridesArgs) => b
|
|
|
265
259
|
*/
|
|
266
260
|
export declare class FeatureOverrides implements FeatureAppearanceSource {
|
|
267
261
|
/** @internal */
|
|
268
|
-
|
|
262
|
+
private readonly _ignoreAnimationOverrides;
|
|
269
263
|
/** Ids of elements that should never be drawn. This takes precedence over [[alwaysDrawn]]. @internal */
|
|
270
|
-
|
|
264
|
+
private readonly _neverDrawn;
|
|
271
265
|
/** Ids of elements that should always be drawn. [[neverDrawn]] takes precedence over this set. @internal */
|
|
272
|
-
|
|
266
|
+
private readonly _alwaysDrawn;
|
|
273
267
|
/** If true, no elements *except* those defined in the "always drawn" set will be drawn.
|
|
274
268
|
* @see [[setAlwaysDrawn]]
|
|
275
269
|
*/
|
|
@@ -279,37 +273,33 @@ export declare class FeatureOverrides implements FeatureAppearanceSource {
|
|
|
279
273
|
*/
|
|
280
274
|
alwaysDrawnIgnoresSubCategory: boolean;
|
|
281
275
|
/** If true, all subcategories are considered visible. This is used for drawing sheets via section callouts in the absence of an actual sheet view.
|
|
282
|
-
* @internal
|
|
283
276
|
*/
|
|
284
277
|
ignoreSubCategory: boolean;
|
|
285
278
|
/** Overrides applied to any feature not explicitly overridden. @internal */
|
|
286
|
-
|
|
287
|
-
/** Whether construction geometry should be drawn.
|
|
279
|
+
private _defaultOverrides;
|
|
280
|
+
/** Whether construction geometry should be drawn. */
|
|
288
281
|
protected _constructions: boolean;
|
|
289
|
-
/** Whether dimensions should be drawn.
|
|
282
|
+
/** Whether dimensions should be drawn. */
|
|
290
283
|
protected _dimensions: boolean;
|
|
291
|
-
/** Whether area patterns should be drawn.
|
|
284
|
+
/** Whether area patterns should be drawn. */
|
|
292
285
|
protected _patterns: boolean;
|
|
293
|
-
/** Whether line weights should be applied. If false, all lines are rendered 1-pixel wide.
|
|
286
|
+
/** Whether line weights should be applied. If false, all lines are rendered 1-pixel wide. */
|
|
294
287
|
protected _lineWeights: boolean;
|
|
295
288
|
/** Overrides applied to all elements belonging to each model. @internal */
|
|
296
|
-
|
|
297
|
-
/** Overrides applied to specific elements.
|
|
289
|
+
private readonly _modelOverrides;
|
|
290
|
+
/** Overrides applied to specific elements. */
|
|
298
291
|
protected readonly _elementOverrides: Id64.Uint32Map<FeatureAppearance>;
|
|
299
|
-
/** Overrides applied to geometry belonging to each subcategory.
|
|
292
|
+
/** Overrides applied to geometry belonging to each subcategory. */
|
|
300
293
|
protected readonly _subCategoryOverrides: Id64.Uint32Map<FeatureAppearance>;
|
|
301
|
-
/** The set of displayed subcategories. Geometry belonging to subcategories not included in this set will not be drawn.
|
|
294
|
+
/** The set of displayed subcategories. Geometry belonging to subcategories not included in this set will not be drawn. */
|
|
302
295
|
protected readonly _visibleSubCategories: Id64.Uint32Set;
|
|
303
|
-
/** Display priorities assigned to subcategories, possibly overridden by display style. Only applicable for plan projection models.
|
|
296
|
+
/** Display priorities assigned to subcategories, possibly overridden by display style. Only applicable for plan projection models. */
|
|
304
297
|
protected readonly _subCategoryPriorities: Id64.Uint32Map<number>;
|
|
305
298
|
/** Per-model, a set of subcategories whose visibility should be inverted for elements within that model.
|
|
306
299
|
* Populated by Viewport.
|
|
307
|
-
* @internal
|
|
308
300
|
*/
|
|
309
301
|
protected readonly _modelSubCategoryOverrides: Id64.Uint32Map<Id64.Uint32Set>;
|
|
310
|
-
/** Ids of animation nodes that should never be drawn.
|
|
311
|
-
* @internal
|
|
312
|
-
*/
|
|
302
|
+
/** Ids of animation nodes that should never be drawn. */
|
|
313
303
|
readonly neverDrawnAnimationNodes: Set<number>;
|
|
314
304
|
/** Mapping of animation node Ids to overrides applied to the corresponding animation nodes.
|
|
315
305
|
* @internal
|
|
@@ -337,21 +327,16 @@ export declare class FeatureOverrides implements FeatureAppearanceSource {
|
|
|
337
327
|
* @note If an element is present in both `alwaysDrawn` and [[neverDrawn]], it will not be displayed - `neverDrawn` takes precedence.
|
|
338
328
|
*/
|
|
339
329
|
get alwaysDrawn(): Id64.Uint32Set;
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
/**
|
|
343
|
-
protected isAlwaysDrawn(idLo: number, idHi: number): boolean;
|
|
344
|
-
/** Returns true if the [SubCategory]($backend) specified by Id is in the set of visible subcategories. @internal */
|
|
330
|
+
private isNeverDrawn;
|
|
331
|
+
private isAlwaysDrawn;
|
|
332
|
+
/** Returns true if the [SubCategory]($backend) specified by Id is in the set of visible subcategories. */
|
|
345
333
|
isSubCategoryVisible(idLo: number, idHi: number): boolean;
|
|
346
|
-
/**
|
|
334
|
+
/** Returns true if the [SubCategory]($backend) specified by Id is in the set of visible subcategories in the context of the specified model. */
|
|
347
335
|
isSubCategoryVisibleInModel(subcatLo: number, subcatHi: number, modelLo: number, modelHi: number): boolean;
|
|
348
|
-
|
|
349
|
-
protected getModelOverrides(idLo: number, idHi: number): FeatureAppearance | undefined;
|
|
336
|
+
private getModelOverrides;
|
|
350
337
|
private getElementAnimationOverrides;
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
/** @internal */
|
|
354
|
-
protected getSubCategoryOverrides(idLo: number, idHi: number): FeatureAppearance | undefined;
|
|
338
|
+
private getElementOverrides;
|
|
339
|
+
private getSubCategoryOverrides;
|
|
355
340
|
/** Add a [SubCategory]($backend) to the set of visible subcategories. */
|
|
356
341
|
setVisibleSubCategory(id: Id64String): void;
|
|
357
342
|
/** Specify the Id of an element that should never be drawn. */
|
|
@@ -372,43 +357,14 @@ export declare class FeatureOverrides implements FeatureAppearanceSource {
|
|
|
372
357
|
* @see [[getFeatureAppearance]] for an equivalent function that accepts [Id64String]($core-bentley)s instead of integer pairs.
|
|
373
358
|
*/
|
|
374
359
|
getAppearance(elemLo: number, elemHi: number, subcatLo: number, subcatHi: number, geomClass: GeometryClass, modelLo: number, modelHi: number, type: BatchType, animationNodeId: number): FeatureAppearance | undefined;
|
|
375
|
-
/** Classifiers behave totally differently...in particular they are never invisible unless fully-transparent.
|
|
376
|
-
|
|
377
|
-
*/
|
|
378
|
-
protected getClassifierAppearance(elemLo: number, elemHi: number, subcatLo: number, subcatHi: number, modelLo: number, modelHi: number, animationNodeId: number): FeatureAppearance | undefined;
|
|
360
|
+
/** Classifiers behave totally differently...in particular they are never invisible unless fully-transparent. */
|
|
361
|
+
private getClassifierAppearance;
|
|
379
362
|
/** Return whether geometry of the specified class should be drawn.
|
|
380
363
|
* @see [[ViewFlags.constructions]], [[ViewFlags.dimensions]], and [[ViewFlags.patterns]].
|
|
381
364
|
*/
|
|
382
365
|
isClassVisible(geomClass: GeometryClass): boolean;
|
|
383
366
|
/** Specify overrides for all elements belonging to a specified [GeometricModel]($backend), or all geometry belonging to a specified [GeometricElement]($backend) or [SubCategory]($backend). */
|
|
384
367
|
override(args: OverrideFeatureAppearanceArgs): void;
|
|
385
|
-
/** Specify overrides for all elements within the specified model.
|
|
386
|
-
* @param id The Id of the model.
|
|
387
|
-
* @param app The symbology overrides.
|
|
388
|
-
* @param replaceExisting Specifies whether to replace a pre-existing override for the same model.
|
|
389
|
-
* @note These overrides take priority over all other overrides.
|
|
390
|
-
* @note If [[defaultOverrides]] are defined, they will not apply to any element within this model, even if the supplied appearance overrides nothing.
|
|
391
|
-
* @deprecated in 3.x. Use [[FeatureOverrides.override]].
|
|
392
|
-
*/
|
|
393
|
-
overrideModel(id: Id64String, app: FeatureAppearance, replaceExisting?: boolean): void;
|
|
394
|
-
/** Specify overrides for all geometry belonging to the specified [SubCategory]($backend).
|
|
395
|
-
* @param id The Id of the subcategory.
|
|
396
|
-
* @param app The symbology overrides.
|
|
397
|
-
* @param replaceExisting Specifies whether to replace a pre-existing override for the same subcategory.
|
|
398
|
-
* @note These overrides have lower priority than element and model overrides.
|
|
399
|
-
* @note If [[defaultOverrides]] are defined, they will not apply to any geometry within this subcategory, even if the supplied appearance overrides nothing.
|
|
400
|
-
* @deprecated in 3.x. Use [[FeatureOverrides.override]].
|
|
401
|
-
*/
|
|
402
|
-
overrideSubCategory(id: Id64String, app: FeatureAppearance, replaceExisting?: boolean): void;
|
|
403
|
-
/** Specify overrides for all geometry originating from the specified element.
|
|
404
|
-
* @param id The Id of the element.
|
|
405
|
-
* @param app The symbology overrides.
|
|
406
|
-
* @param replaceExisting Specifies whether to replace a pre-existing override for the same element.
|
|
407
|
-
* @note These overrides take precedence over subcategory overrides, but not over model overrides.
|
|
408
|
-
* @note If [[defaultOverrides]] are defined, they will not apply to this element, even if the supplied appearance overrides nothing.
|
|
409
|
-
* @deprecated in 3.x. Use [[FeatureOverrides.override]].
|
|
410
|
-
*/
|
|
411
|
-
overrideElement(id: Id64String, app: FeatureAppearance, replaceExisting?: boolean): void;
|
|
412
368
|
/** Specify overrides for all geometry originating from the specified animation node.
|
|
413
369
|
* @param id The Id of the animation node.
|
|
414
370
|
* @param app The symbology overrides.
|
|
@@ -420,13 +376,9 @@ export declare class FeatureOverrides implements FeatureAppearanceSource {
|
|
|
420
376
|
* @param replaceExisting Specifies whether to replace the current default overrides if they are already defined.
|
|
421
377
|
*/
|
|
422
378
|
setDefaultOverrides(appearance: FeatureAppearance, replaceExisting?: boolean): void;
|
|
423
|
-
/** Get the display priority of a subcategory. This is only relevant when using [[PlanProjectionSettings]].
|
|
424
|
-
* @internal
|
|
425
|
-
*/
|
|
379
|
+
/** Get the display priority of a subcategory. This is only relevant when using [[PlanProjectionSettings]]. */
|
|
426
380
|
getSubCategoryPriority(idLo: number, idHi: number): number;
|
|
427
|
-
/** Adds all fully transparent elements to the _neverDrawn set. This is used for BatchedModels planar masks.
|
|
428
|
-
* @internal
|
|
429
|
-
*/
|
|
381
|
+
/** Adds all fully transparent elements to the _neverDrawn set. This is used for BatchedModels planar masks. */
|
|
430
382
|
addInvisibleElementOverridesToNeverDrawn(): void;
|
|
431
383
|
/** Construct a new Overrides that overrides nothing.
|
|
432
384
|
* @see [FeatureSymbology.Overrides]($frontend) to construct overrides based on a [ViewState]($frontend) or [Viewport]($frontend).
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FeatureSymbology.d.ts","sourceRoot":"","sources":["../../src/FeatureSymbology.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAU,IAAI,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAC/D,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AACrD,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAc5D;;;GAGG;AACH,MAAM,WAAW,sBAAsB;IACrC,qCAAqC;IACrC,GAAG,CAAC,EAAE,aAAa,CAAC;IACpB,yCAAyC;IACzC,OAAO,CAAC,EAAE,aAAa,GAAG,KAAK,CAAC;IAChC,wCAAwC;IACxC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,8CAA8C;IAC9C,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,kDAAkD;IAClD,gBAAgB,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC;IAClC,2DAA2D;IAC3D,yBAAyB,CAAC,EAAE,IAAI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gB,UAAU,CAAC,oBAAoB,EAAE,CAAC,UAAU,EAAE,iBAAiB,KAAK,iBAAiB,GAAG,yBAAyB,CAOhI;IAED;;;OAGG;IACH,SAAgB,KAAK,CAAC,KAAK,EAAE,yBAAyB,EAAE,MAAM,EAAE,yBAAyB,GAAG,yBAAyB,CASpH;CACF"}
|
|
@@ -103,6 +103,41 @@ function transparencyFromJSON(transp) {
|
|
|
103
103
|
* @public
|
|
104
104
|
*/
|
|
105
105
|
export class FeatureAppearance {
|
|
106
|
+
/** Overrides the feature's color.
|
|
107
|
+
* If [[lineRgb]] is `undefined`, this color also applies to linear geometry.
|
|
108
|
+
*/
|
|
109
|
+
rgb;
|
|
110
|
+
/** If defined, overrides the color of linear geometry independently of [[rgb]].
|
|
111
|
+
* If `false`, linear geometry draws using its normal color; otherwise, it uses the specified color.
|
|
112
|
+
*/
|
|
113
|
+
lineRgb;
|
|
114
|
+
/** The width of lines and edges in pixels as an integer in [1, 31]. */
|
|
115
|
+
weight;
|
|
116
|
+
/** The transparency in the range [0, 1] where 0 indicates fully opaque and 1 indicates fully transparent.
|
|
117
|
+
* If [[lineTransparency]] is `undefined`, this transparency also applies to linear geometry.
|
|
118
|
+
* @see [[viewDependentTransparency]] for details on how this override interacts with the [DisplayStyle]($backend).
|
|
119
|
+
*/
|
|
120
|
+
transparency;
|
|
121
|
+
/** If defined, overrides the transparency of linear geometry independently of [[transparency]].
|
|
122
|
+
* If `false`, linear geometry draws using its normal transparency; otherwise, it uses the specified transparency.
|
|
123
|
+
* @see [[viewDependentTransparency]] for details on how this override interacts with the [DisplayStyle]($backend).
|
|
124
|
+
*/
|
|
125
|
+
lineTransparency;
|
|
126
|
+
/** The pixel pattern applied to lines and edges. */
|
|
127
|
+
linePixels;
|
|
128
|
+
/** If true, don't apply the [[RenderMaterial]] to the feature's surfaces. */
|
|
129
|
+
ignoresMaterial;
|
|
130
|
+
/** If true, the feature will not be drawn when using [Viewport.readPixels]($frontend), meaning [Tool]($frontend)s will not be able to interact with it. */
|
|
131
|
+
nonLocatable;
|
|
132
|
+
/** If true, the feature will be rendered using the [[Hilite.Settings]] defined by [Viewport.emphasisSettings]($frontend) to make it stand out. */
|
|
133
|
+
emphasized;
|
|
134
|
+
/** If true, then [[transparency]] and/or [[lineTransparency]] will only be applied if [[ViewFlags.transparency]] is enabled and the current [[RenderMode]] supports transparency.
|
|
135
|
+
* Default: false, meaning the transparency will be applied regardless of view flags or render mode.
|
|
136
|
+
* This property has no effect if this appearance does not override transparency.
|
|
137
|
+
*/
|
|
138
|
+
viewDependentTransparency;
|
|
139
|
+
/** An appearance that overrides nothing. */
|
|
140
|
+
static defaults = new FeatureAppearance({});
|
|
106
141
|
static fromJSON(props) {
|
|
107
142
|
if (!props || propsMatchDefaults(props)) {
|
|
108
143
|
return this.defaults;
|
|
@@ -287,8 +322,6 @@ export class FeatureAppearance {
|
|
|
287
322
|
}
|
|
288
323
|
}
|
|
289
324
|
}
|
|
290
|
-
/** An appearance that overrides nothing. */
|
|
291
|
-
FeatureAppearance.defaults = new FeatureAppearance({});
|
|
292
325
|
const scratchIgnoreAnimationOverridesArgs = {
|
|
293
326
|
elementId: { lower: 0, upper: 0 },
|
|
294
327
|
animationNodeId: 0,
|
|
@@ -319,6 +352,53 @@ const scratchIgnoreAnimationOverridesArgs = {
|
|
|
319
352
|
* @public
|
|
320
353
|
*/
|
|
321
354
|
export class FeatureOverrides {
|
|
355
|
+
/** @internal */
|
|
356
|
+
_ignoreAnimationOverrides = [];
|
|
357
|
+
/** Ids of elements that should never be drawn. This takes precedence over [[alwaysDrawn]]. @internal */
|
|
358
|
+
_neverDrawn = new Id64.Uint32Set();
|
|
359
|
+
/** Ids of elements that should always be drawn. [[neverDrawn]] takes precedence over this set. @internal */
|
|
360
|
+
_alwaysDrawn = new Id64.Uint32Set();
|
|
361
|
+
/** If true, no elements *except* those defined in the "always drawn" set will be drawn.
|
|
362
|
+
* @see [[setAlwaysDrawn]]
|
|
363
|
+
*/
|
|
364
|
+
isAlwaysDrawnExclusive = false;
|
|
365
|
+
/** If true, the always-drawn elements are drawn even if their subcategories are not visible.
|
|
366
|
+
* @see [[setAlwaysDrawn]]
|
|
367
|
+
*/
|
|
368
|
+
alwaysDrawnIgnoresSubCategory = true;
|
|
369
|
+
/** If true, all subcategories are considered visible. This is used for drawing sheets via section callouts in the absence of an actual sheet view.
|
|
370
|
+
*/
|
|
371
|
+
ignoreSubCategory = false;
|
|
372
|
+
/** Overrides applied to any feature not explicitly overridden. @internal */
|
|
373
|
+
_defaultOverrides = FeatureAppearance.defaults;
|
|
374
|
+
/** Whether construction geometry should be drawn. */
|
|
375
|
+
_constructions = false;
|
|
376
|
+
/** Whether dimensions should be drawn. */
|
|
377
|
+
_dimensions = false;
|
|
378
|
+
/** Whether area patterns should be drawn. */
|
|
379
|
+
_patterns = false;
|
|
380
|
+
/** Whether line weights should be applied. If false, all lines are rendered 1-pixel wide. */
|
|
381
|
+
_lineWeights = true;
|
|
382
|
+
/** Overrides applied to all elements belonging to each model. @internal */
|
|
383
|
+
_modelOverrides = new Id64.Uint32Map();
|
|
384
|
+
/** Overrides applied to specific elements. */
|
|
385
|
+
_elementOverrides = new Id64.Uint32Map();
|
|
386
|
+
/** Overrides applied to geometry belonging to each subcategory. */
|
|
387
|
+
_subCategoryOverrides = new Id64.Uint32Map();
|
|
388
|
+
/** The set of displayed subcategories. Geometry belonging to subcategories not included in this set will not be drawn. */
|
|
389
|
+
_visibleSubCategories = new Id64.Uint32Set();
|
|
390
|
+
/** Display priorities assigned to subcategories, possibly overridden by display style. Only applicable for plan projection models. */
|
|
391
|
+
_subCategoryPriorities = new Id64.Uint32Map();
|
|
392
|
+
/** Per-model, a set of subcategories whose visibility should be inverted for elements within that model.
|
|
393
|
+
* Populated by Viewport.
|
|
394
|
+
*/
|
|
395
|
+
_modelSubCategoryOverrides = new Id64.Uint32Map();
|
|
396
|
+
/** Ids of animation nodes that should never be drawn. */
|
|
397
|
+
neverDrawnAnimationNodes = new Set();
|
|
398
|
+
/** Mapping of animation node Ids to overrides applied to the corresponding animation nodes.
|
|
399
|
+
* @internal
|
|
400
|
+
*/
|
|
401
|
+
animationNodeOverrides = new Map();
|
|
322
402
|
/** Accepts a criterion that determines whether color and transparency overrides originating from the view's [[RenderSchedule.Script]] should be ignored for a given element.
|
|
323
403
|
* The function receives a description of the element in question and returns `true` if the script's overrides should be ignored.
|
|
324
404
|
* Any number of such functions can be registered; if any one of them returns `true`, the script's overrides are not applied to the specified element.
|
|
@@ -343,18 +423,16 @@ export class FeatureOverrides {
|
|
|
343
423
|
* @note If an element is present in both `alwaysDrawn` and [[neverDrawn]], it will not be displayed - `neverDrawn` takes precedence.
|
|
344
424
|
*/
|
|
345
425
|
get alwaysDrawn() { return this._alwaysDrawn; }
|
|
346
|
-
/** @internal */
|
|
347
426
|
isNeverDrawn(elemIdLo, elemIdHi, animationNodeId) {
|
|
348
427
|
if (this._neverDrawn.has(elemIdLo, elemIdHi))
|
|
349
428
|
return true;
|
|
350
429
|
else
|
|
351
430
|
return this.neverDrawnAnimationNodes.has(animationNodeId);
|
|
352
431
|
}
|
|
353
|
-
/** @internal */
|
|
354
432
|
isAlwaysDrawn(idLo, idHi) { return this._alwaysDrawn.has(idLo, idHi); }
|
|
355
|
-
/** Returns true if the [SubCategory]($backend) specified by Id is in the set of visible subcategories.
|
|
433
|
+
/** Returns true if the [SubCategory]($backend) specified by Id is in the set of visible subcategories. */
|
|
356
434
|
isSubCategoryVisible(idLo, idHi) { return this._visibleSubCategories.has(idLo, idHi); }
|
|
357
|
-
/**
|
|
435
|
+
/** Returns true if the [SubCategory]($backend) specified by Id is in the set of visible subcategories in the context of the specified model. */
|
|
358
436
|
isSubCategoryVisibleInModel(subcatLo, subcatHi, modelLo, modelHi) {
|
|
359
437
|
if (this.ignoreSubCategory)
|
|
360
438
|
return true;
|
|
@@ -364,7 +442,6 @@ export class FeatureOverrides {
|
|
|
364
442
|
vis = !vis;
|
|
365
443
|
return vis;
|
|
366
444
|
}
|
|
367
|
-
/** @internal */
|
|
368
445
|
getModelOverrides(idLo, idHi) {
|
|
369
446
|
return this._modelOverrides.get(idLo, idHi);
|
|
370
447
|
}
|
|
@@ -382,7 +459,6 @@ export class FeatureOverrides {
|
|
|
382
459
|
args.animationNodeId = animationNodeId;
|
|
383
460
|
return this._ignoreAnimationOverrides.some((ignore) => ignore(args)) ? undefined : app;
|
|
384
461
|
}
|
|
385
|
-
/** @internal */
|
|
386
462
|
getElementOverrides(idLo, idHi, animationNodeId) {
|
|
387
463
|
const elemApp = this._elementOverrides.get(idLo, idHi);
|
|
388
464
|
const nodeApp = this.getElementAnimationOverrides(idLo, idHi, animationNodeId);
|
|
@@ -390,7 +466,6 @@ export class FeatureOverrides {
|
|
|
390
466
|
return nodeApp ? nodeApp.extendAppearance(elemApp) : elemApp;
|
|
391
467
|
return nodeApp;
|
|
392
468
|
}
|
|
393
|
-
/** @internal */
|
|
394
469
|
getSubCategoryOverrides(idLo, idHi) { return this._subCategoryOverrides.get(idLo, idHi); }
|
|
395
470
|
/** Add a [SubCategory]($backend) to the set of visible subcategories. */
|
|
396
471
|
setVisibleSubCategory(id) { this._visibleSubCategories.addId(id); }
|
|
@@ -412,6 +487,7 @@ export class FeatureOverrides {
|
|
|
412
487
|
getFeatureAppearance(feature, modelId, type = BatchType.Primary, animationNodeId = 0) {
|
|
413
488
|
return this.getAppearance(Id64.getLowerUint32(feature.elementId), Id64.getUpperUint32(feature.elementId), Id64.getLowerUint32(feature.subCategoryId), Id64.getUpperUint32(feature.subCategoryId), feature.geometryClass, Id64.getLowerUint32(modelId), Id64.getUpperUint32(modelId), type, animationNodeId);
|
|
414
489
|
}
|
|
490
|
+
static _weight1Appearance = FeatureAppearance.fromJSON({ weight: 1 });
|
|
415
491
|
/** Returns a feature's appearance overrides, or undefined if the feature is not visible.
|
|
416
492
|
* Takes Id64s as pairs of unsigned 32-bit integers for efficiency, because that is how they are stored by the PackedFeatureTable associated with each batch of graphics.
|
|
417
493
|
* @see [[getFeatureAppearance]] for an equivalent function that accepts [Id64String]($core-bentley)s instead of integer pairs.
|
|
@@ -452,9 +528,7 @@ export class FeatureOverrides {
|
|
|
452
528
|
visible = false; // don't bother rendering something with full transparency...
|
|
453
529
|
return visible ? app : undefined;
|
|
454
530
|
}
|
|
455
|
-
/** Classifiers behave totally differently...in particular they are never invisible unless fully-transparent.
|
|
456
|
-
* @internal
|
|
457
|
-
*/
|
|
531
|
+
/** Classifiers behave totally differently...in particular they are never invisible unless fully-transparent. */
|
|
458
532
|
getClassifierAppearance(elemLo, elemHi, subcatLo, subcatHi, modelLo, modelHi, animationNodeId) {
|
|
459
533
|
let app = FeatureAppearance.defaults;
|
|
460
534
|
const modelApp = this.getModelOverrides(modelLo, modelHi);
|
|
@@ -522,39 +596,6 @@ export class FeatureOverrides {
|
|
|
522
596
|
}
|
|
523
597
|
map.set(idLo, idHi, app);
|
|
524
598
|
}
|
|
525
|
-
/** Specify overrides for all elements within the specified model.
|
|
526
|
-
* @param id The Id of the model.
|
|
527
|
-
* @param app The symbology overrides.
|
|
528
|
-
* @param replaceExisting Specifies whether to replace a pre-existing override for the same model.
|
|
529
|
-
* @note These overrides take priority over all other overrides.
|
|
530
|
-
* @note If [[defaultOverrides]] are defined, they will not apply to any element within this model, even if the supplied appearance overrides nothing.
|
|
531
|
-
* @deprecated in 3.x. Use [[FeatureOverrides.override]].
|
|
532
|
-
*/
|
|
533
|
-
overrideModel(id, app, replaceExisting = true) {
|
|
534
|
-
this.override({ modelId: id, appearance: app, onConflict: replaceExisting ? "replace" : "skip" });
|
|
535
|
-
}
|
|
536
|
-
/** Specify overrides for all geometry belonging to the specified [SubCategory]($backend).
|
|
537
|
-
* @param id The Id of the subcategory.
|
|
538
|
-
* @param app The symbology overrides.
|
|
539
|
-
* @param replaceExisting Specifies whether to replace a pre-existing override for the same subcategory.
|
|
540
|
-
* @note These overrides have lower priority than element and model overrides.
|
|
541
|
-
* @note If [[defaultOverrides]] are defined, they will not apply to any geometry within this subcategory, even if the supplied appearance overrides nothing.
|
|
542
|
-
* @deprecated in 3.x. Use [[FeatureOverrides.override]].
|
|
543
|
-
*/
|
|
544
|
-
overrideSubCategory(id, app, replaceExisting = true) {
|
|
545
|
-
this.override({ subCategoryId: id, appearance: app, onConflict: replaceExisting ? "replace" : "skip" });
|
|
546
|
-
}
|
|
547
|
-
/** Specify overrides for all geometry originating from the specified element.
|
|
548
|
-
* @param id The Id of the element.
|
|
549
|
-
* @param app The symbology overrides.
|
|
550
|
-
* @param replaceExisting Specifies whether to replace a pre-existing override for the same element.
|
|
551
|
-
* @note These overrides take precedence over subcategory overrides, but not over model overrides.
|
|
552
|
-
* @note If [[defaultOverrides]] are defined, they will not apply to this element, even if the supplied appearance overrides nothing.
|
|
553
|
-
* @deprecated in 3.x. Use [[FeatureOverrides.override]].
|
|
554
|
-
*/
|
|
555
|
-
overrideElement(id, app, replaceExisting = true) {
|
|
556
|
-
this.override({ elementId: id, appearance: app, onConflict: replaceExisting ? "replace" : "skip" });
|
|
557
|
-
}
|
|
558
599
|
/** Specify overrides for all geometry originating from the specified animation node.
|
|
559
600
|
* @param id The Id of the animation node.
|
|
560
601
|
* @param app The symbology overrides.
|
|
@@ -571,15 +612,11 @@ export class FeatureOverrides {
|
|
|
571
612
|
if (replaceExisting || !appearance.overridesSymbology)
|
|
572
613
|
this._defaultOverrides = appearance;
|
|
573
614
|
}
|
|
574
|
-
/** Get the display priority of a subcategory. This is only relevant when using [[PlanProjectionSettings]].
|
|
575
|
-
* @internal
|
|
576
|
-
*/
|
|
615
|
+
/** Get the display priority of a subcategory. This is only relevant when using [[PlanProjectionSettings]]. */
|
|
577
616
|
getSubCategoryPriority(idLo, idHi) {
|
|
578
617
|
return this._subCategoryPriorities.get(idLo, idHi) ?? 0;
|
|
579
618
|
}
|
|
580
|
-
/** Adds all fully transparent elements to the _neverDrawn set. This is used for BatchedModels planar masks.
|
|
581
|
-
* @internal
|
|
582
|
-
*/
|
|
619
|
+
/** Adds all fully transparent elements to the _neverDrawn set. This is used for BatchedModels planar masks. */
|
|
583
620
|
addInvisibleElementOverridesToNeverDrawn() {
|
|
584
621
|
this._elementOverrides.forEach((lo, hi) => {
|
|
585
622
|
const app = this.getElementOverrides(lo, hi, 0);
|
|
@@ -591,57 +628,6 @@ export class FeatureOverrides {
|
|
|
591
628
|
* @see [FeatureSymbology.Overrides]($frontend) to construct overrides based on a [ViewState]($frontend) or [Viewport]($frontend).
|
|
592
629
|
*/
|
|
593
630
|
constructor() {
|
|
594
|
-
/** @internal */
|
|
595
|
-
this._ignoreAnimationOverrides = [];
|
|
596
|
-
/** Ids of elements that should never be drawn. This takes precedence over [[alwaysDrawn]]. @internal */
|
|
597
|
-
this._neverDrawn = new Id64.Uint32Set();
|
|
598
|
-
/** Ids of elements that should always be drawn. [[neverDrawn]] takes precedence over this set. @internal */
|
|
599
|
-
this._alwaysDrawn = new Id64.Uint32Set();
|
|
600
|
-
/** If true, no elements *except* those defined in the "always drawn" set will be drawn.
|
|
601
|
-
* @see [[setAlwaysDrawn]]
|
|
602
|
-
*/
|
|
603
|
-
this.isAlwaysDrawnExclusive = false;
|
|
604
|
-
/** If true, the always-drawn elements are drawn even if their subcategories are not visible.
|
|
605
|
-
* @see [[setAlwaysDrawn]]
|
|
606
|
-
*/
|
|
607
|
-
this.alwaysDrawnIgnoresSubCategory = true;
|
|
608
|
-
/** If true, all subcategories are considered visible. This is used for drawing sheets via section callouts in the absence of an actual sheet view.
|
|
609
|
-
* @internal
|
|
610
|
-
*/
|
|
611
|
-
this.ignoreSubCategory = false;
|
|
612
|
-
/** Overrides applied to any feature not explicitly overridden. @internal */
|
|
613
|
-
this._defaultOverrides = FeatureAppearance.defaults;
|
|
614
|
-
/** Whether construction geometry should be drawn. @internal */
|
|
615
|
-
this._constructions = false;
|
|
616
|
-
/** Whether dimensions should be drawn. @internal */
|
|
617
|
-
this._dimensions = false;
|
|
618
|
-
/** Whether area patterns should be drawn. @internal */
|
|
619
|
-
this._patterns = false;
|
|
620
|
-
/** Whether line weights should be applied. If false, all lines are rendered 1-pixel wide. @internal */
|
|
621
|
-
this._lineWeights = true;
|
|
622
|
-
/** Overrides applied to all elements belonging to each model. @internal */
|
|
623
|
-
this._modelOverrides = new Id64.Uint32Map();
|
|
624
|
-
/** Overrides applied to specific elements. @internal */
|
|
625
|
-
this._elementOverrides = new Id64.Uint32Map();
|
|
626
|
-
/** Overrides applied to geometry belonging to each subcategory. @internal */
|
|
627
|
-
this._subCategoryOverrides = new Id64.Uint32Map();
|
|
628
|
-
/** The set of displayed subcategories. Geometry belonging to subcategories not included in this set will not be drawn. @internal */
|
|
629
|
-
this._visibleSubCategories = new Id64.Uint32Set();
|
|
630
|
-
/** Display priorities assigned to subcategories, possibly overridden by display style. Only applicable for plan projection models. @internal */
|
|
631
|
-
this._subCategoryPriorities = new Id64.Uint32Map();
|
|
632
|
-
/** Per-model, a set of subcategories whose visibility should be inverted for elements within that model.
|
|
633
|
-
* Populated by Viewport.
|
|
634
|
-
* @internal
|
|
635
|
-
*/
|
|
636
|
-
this._modelSubCategoryOverrides = new Id64.Uint32Map();
|
|
637
|
-
/** Ids of animation nodes that should never be drawn.
|
|
638
|
-
* @internal
|
|
639
|
-
*/
|
|
640
|
-
this.neverDrawnAnimationNodes = new Set();
|
|
641
|
-
/** Mapping of animation node Ids to overrides applied to the corresponding animation nodes.
|
|
642
|
-
* @internal
|
|
643
|
-
*/
|
|
644
|
-
this.animationNodeOverrides = new Map();
|
|
645
631
|
//
|
|
646
632
|
}
|
|
647
633
|
/** Returns true if geometry belonging to the specified subcategory will be drawn. */
|
|
@@ -668,7 +654,6 @@ export class FeatureOverrides {
|
|
|
668
654
|
return this.isClassVisible(geometryClass);
|
|
669
655
|
}
|
|
670
656
|
}
|
|
671
|
-
FeatureOverrides._weight1Appearance = FeatureAppearance.fromJSON({ weight: 1 });
|
|
672
657
|
/** @public */
|
|
673
658
|
export var FeatureAppearanceProvider;
|
|
674
659
|
(function (FeatureAppearanceProvider) {
|