@itwin/core-common 5.0.0-dev.8 → 5.0.0-dev.82
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 +1 -1
- package/lib/cjs/ITwinError.d.ts.map +1 -1
- package/lib/cjs/ITwinError.js +1 -1
- 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 +2 -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 +1 -1
- package/lib/esm/ITwinError.d.ts.map +1 -1
- package/lib/esm/ITwinError.js +1 -1
- 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 +2 -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,yCAAsC;AAEtC;;;;;GAKG;AACH,MAAa,eAAe;
|
|
1
|
+
{"version":3,"file":"FeatureIndex.js","sourceRoot":"","sources":["../../src/FeatureIndex.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAEH,yCAAsC;AAEtC;;;;;GAKG;AACH,MAAa,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;AApBD,0CAoBC;AAED;;;GAGG;AACH,MAAa,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,mBAAQ,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;IAClE,gBAAuB,IAAI,CAAC,MAAM,GAAG,mBAAQ,CAAC,KAAK,CAAC,C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AK,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;AArBD,oCAqBC","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,CAAC;IACjC,4CAA4C;IAC5C,UAAU,CAAC,EAAE,UAA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AAiB,KAAK,iBAAiB,GAAG,yBAAyB,CAOhI;IAED;;;OAGG;IACH,SAAgB,KAAK,CAAC,KAAK,EAAE,yBAAyB,EAAE,MAAM,EAAE,yBAAyB,GAAG,yBAAyB,CASpH;CACF"}
|
|
@@ -106,6 +106,41 @@ function transparencyFromJSON(transp) {
|
|
|
106
106
|
* @public
|
|
107
107
|
*/
|
|
108
108
|
class FeatureAppearance {
|
|
109
|
+
/** Overrides the feature's color.
|
|
110
|
+
* If [[lineRgb]] is `undefined`, this color also applies to linear geometry.
|
|
111
|
+
*/
|
|
112
|
+
rgb;
|
|
113
|
+
/** If defined, overrides the color of linear geometry independently of [[rgb]].
|
|
114
|
+
* If `false`, linear geometry draws using its normal color; otherwise, it uses the specified color.
|
|
115
|
+
*/
|
|
116
|
+
lineRgb;
|
|
117
|
+
/** The width of lines and edges in pixels as an integer in [1, 31]. */
|
|
118
|
+
weight;
|
|
119
|
+
/** The transparency in the range [0, 1] where 0 indicates fully opaque and 1 indicates fully transparent.
|
|
120
|
+
* If [[lineTransparency]] is `undefined`, this transparency also applies to linear geometry.
|
|
121
|
+
* @see [[viewDependentTransparency]] for details on how this override interacts with the [DisplayStyle]($backend).
|
|
122
|
+
*/
|
|
123
|
+
transparency;
|
|
124
|
+
/** If defined, overrides the transparency of linear geometry independently of [[transparency]].
|
|
125
|
+
* If `false`, linear geometry draws using its normal transparency; otherwise, it uses the specified transparency.
|
|
126
|
+
* @see [[viewDependentTransparency]] for details on how this override interacts with the [DisplayStyle]($backend).
|
|
127
|
+
*/
|
|
128
|
+
lineTransparency;
|
|
129
|
+
/** The pixel pattern applied to lines and edges. */
|
|
130
|
+
linePixels;
|
|
131
|
+
/** If true, don't apply the [[RenderMaterial]] to the feature's surfaces. */
|
|
132
|
+
ignoresMaterial;
|
|
133
|
+
/** 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. */
|
|
134
|
+
nonLocatable;
|
|
135
|
+
/** If true, the feature will be rendered using the [[Hilite.Settings]] defined by [Viewport.emphasisSettings]($frontend) to make it stand out. */
|
|
136
|
+
emphasized;
|
|
137
|
+
/** If true, then [[transparency]] and/or [[lineTransparency]] will only be applied if [[ViewFlags.transparency]] is enabled and the current [[RenderMode]] supports transparency.
|
|
138
|
+
* Default: false, meaning the transparency will be applied regardless of view flags or render mode.
|
|
139
|
+
* This property has no effect if this appearance does not override transparency.
|
|
140
|
+
*/
|
|
141
|
+
viewDependentTransparency;
|
|
142
|
+
/** An appearance that overrides nothing. */
|
|
143
|
+
static defaults = new FeatureAppearance({});
|
|
109
144
|
static fromJSON(props) {
|
|
110
145
|
if (!props || propsMatchDefaults(props)) {
|
|
111
146
|
return this.defaults;
|
|
@@ -291,8 +326,6 @@ class FeatureAppearance {
|
|
|
291
326
|
}
|
|
292
327
|
}
|
|
293
328
|
exports.FeatureAppearance = FeatureAppearance;
|
|
294
|
-
/** An appearance that overrides nothing. */
|
|
295
|
-
FeatureAppearance.defaults = new FeatureAppearance({});
|
|
296
329
|
const scratchIgnoreAnimationOverridesArgs = {
|
|
297
330
|
elementId: { lower: 0, upper: 0 },
|
|
298
331
|
animationNodeId: 0,
|
|
@@ -323,6 +356,53 @@ const scratchIgnoreAnimationOverridesArgs = {
|
|
|
323
356
|
* @public
|
|
324
357
|
*/
|
|
325
358
|
class FeatureOverrides {
|
|
359
|
+
/** @internal */
|
|
360
|
+
_ignoreAnimationOverrides = [];
|
|
361
|
+
/** Ids of elements that should never be drawn. This takes precedence over [[alwaysDrawn]]. @internal */
|
|
362
|
+
_neverDrawn = new core_bentley_1.Id64.Uint32Set();
|
|
363
|
+
/** Ids of elements that should always be drawn. [[neverDrawn]] takes precedence over this set. @internal */
|
|
364
|
+
_alwaysDrawn = new core_bentley_1.Id64.Uint32Set();
|
|
365
|
+
/** If true, no elements *except* those defined in the "always drawn" set will be drawn.
|
|
366
|
+
* @see [[setAlwaysDrawn]]
|
|
367
|
+
*/
|
|
368
|
+
isAlwaysDrawnExclusive = false;
|
|
369
|
+
/** If true, the always-drawn elements are drawn even if their subcategories are not visible.
|
|
370
|
+
* @see [[setAlwaysDrawn]]
|
|
371
|
+
*/
|
|
372
|
+
alwaysDrawnIgnoresSubCategory = true;
|
|
373
|
+
/** If true, all subcategories are considered visible. This is used for drawing sheets via section callouts in the absence of an actual sheet view.
|
|
374
|
+
*/
|
|
375
|
+
ignoreSubCategory = false;
|
|
376
|
+
/** Overrides applied to any feature not explicitly overridden. @internal */
|
|
377
|
+
_defaultOverrides = FeatureAppearance.defaults;
|
|
378
|
+
/** Whether construction geometry should be drawn. */
|
|
379
|
+
_constructions = false;
|
|
380
|
+
/** Whether dimensions should be drawn. */
|
|
381
|
+
_dimensions = false;
|
|
382
|
+
/** Whether area patterns should be drawn. */
|
|
383
|
+
_patterns = false;
|
|
384
|
+
/** Whether line weights should be applied. If false, all lines are rendered 1-pixel wide. */
|
|
385
|
+
_lineWeights = true;
|
|
386
|
+
/** Overrides applied to all elements belonging to each model. @internal */
|
|
387
|
+
_modelOverrides = new core_bentley_1.Id64.Uint32Map();
|
|
388
|
+
/** Overrides applied to specific elements. */
|
|
389
|
+
_elementOverrides = new core_bentley_1.Id64.Uint32Map();
|
|
390
|
+
/** Overrides applied to geometry belonging to each subcategory. */
|
|
391
|
+
_subCategoryOverrides = new core_bentley_1.Id64.Uint32Map();
|
|
392
|
+
/** The set of displayed subcategories. Geometry belonging to subcategories not included in this set will not be drawn. */
|
|
393
|
+
_visibleSubCategories = new core_bentley_1.Id64.Uint32Set();
|
|
394
|
+
/** Display priorities assigned to subcategories, possibly overridden by display style. Only applicable for plan projection models. */
|
|
395
|
+
_subCategoryPriorities = new core_bentley_1.Id64.Uint32Map();
|
|
396
|
+
/** Per-model, a set of subcategories whose visibility should be inverted for elements within that model.
|
|
397
|
+
* Populated by Viewport.
|
|
398
|
+
*/
|
|
399
|
+
_modelSubCategoryOverrides = new core_bentley_1.Id64.Uint32Map();
|
|
400
|
+
/** Ids of animation nodes that should never be drawn. */
|
|
401
|
+
neverDrawnAnimationNodes = new Set();
|
|
402
|
+
/** Mapping of animation node Ids to overrides applied to the corresponding animation nodes.
|
|
403
|
+
* @internal
|
|
404
|
+
*/
|
|
405
|
+
animationNodeOverrides = new Map();
|
|
326
406
|
/** Accepts a criterion that determines whether color and transparency overrides originating from the view's [[RenderSchedule.Script]] should be ignored for a given element.
|
|
327
407
|
* The function receives a description of the element in question and returns `true` if the script's overrides should be ignored.
|
|
328
408
|
* 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.
|
|
@@ -347,18 +427,16 @@ class FeatureOverrides {
|
|
|
347
427
|
* @note If an element is present in both `alwaysDrawn` and [[neverDrawn]], it will not be displayed - `neverDrawn` takes precedence.
|
|
348
428
|
*/
|
|
349
429
|
get alwaysDrawn() { return this._alwaysDrawn; }
|
|
350
|
-
/** @internal */
|
|
351
430
|
isNeverDrawn(elemIdLo, elemIdHi, animationNodeId) {
|
|
352
431
|
if (this._neverDrawn.has(elemIdLo, elemIdHi))
|
|
353
432
|
return true;
|
|
354
433
|
else
|
|
355
434
|
return this.neverDrawnAnimationNodes.has(animationNodeId);
|
|
356
435
|
}
|
|
357
|
-
/** @internal */
|
|
358
436
|
isAlwaysDrawn(idLo, idHi) { return this._alwaysDrawn.has(idLo, idHi); }
|
|
359
|
-
/** Returns true if the [SubCategory]($backend) specified by Id is in the set of visible subcategories.
|
|
437
|
+
/** Returns true if the [SubCategory]($backend) specified by Id is in the set of visible subcategories. */
|
|
360
438
|
isSubCategoryVisible(idLo, idHi) { return this._visibleSubCategories.has(idLo, idHi); }
|
|
361
|
-
/**
|
|
439
|
+
/** Returns true if the [SubCategory]($backend) specified by Id is in the set of visible subcategories in the context of the specified model. */
|
|
362
440
|
isSubCategoryVisibleInModel(subcatLo, subcatHi, modelLo, modelHi) {
|
|
363
441
|
if (this.ignoreSubCategory)
|
|
364
442
|
return true;
|
|
@@ -368,7 +446,6 @@ class FeatureOverrides {
|
|
|
368
446
|
vis = !vis;
|
|
369
447
|
return vis;
|
|
370
448
|
}
|
|
371
|
-
/** @internal */
|
|
372
449
|
getModelOverrides(idLo, idHi) {
|
|
373
450
|
return this._modelOverrides.get(idLo, idHi);
|
|
374
451
|
}
|
|
@@ -386,7 +463,6 @@ class FeatureOverrides {
|
|
|
386
463
|
args.animationNodeId = animationNodeId;
|
|
387
464
|
return this._ignoreAnimationOverrides.some((ignore) => ignore(args)) ? undefined : app;
|
|
388
465
|
}
|
|
389
|
-
/** @internal */
|
|
390
466
|
getElementOverrides(idLo, idHi, animationNodeId) {
|
|
391
467
|
const elemApp = this._elementOverrides.get(idLo, idHi);
|
|
392
468
|
const nodeApp = this.getElementAnimationOverrides(idLo, idHi, animationNodeId);
|
|
@@ -394,7 +470,6 @@ class FeatureOverrides {
|
|
|
394
470
|
return nodeApp ? nodeApp.extendAppearance(elemApp) : elemApp;
|
|
395
471
|
return nodeApp;
|
|
396
472
|
}
|
|
397
|
-
/** @internal */
|
|
398
473
|
getSubCategoryOverrides(idLo, idHi) { return this._subCategoryOverrides.get(idLo, idHi); }
|
|
399
474
|
/** Add a [SubCategory]($backend) to the set of visible subcategories. */
|
|
400
475
|
setVisibleSubCategory(id) { this._visibleSubCategories.addId(id); }
|
|
@@ -416,6 +491,7 @@ class FeatureOverrides {
|
|
|
416
491
|
getFeatureAppearance(feature, modelId, type = FeatureTable_1.BatchType.Primary, animationNodeId = 0) {
|
|
417
492
|
return this.getAppearance(core_bentley_1.Id64.getLowerUint32(feature.elementId), core_bentley_1.Id64.getUpperUint32(feature.elementId), core_bentley_1.Id64.getLowerUint32(feature.subCategoryId), core_bentley_1.Id64.getUpperUint32(feature.subCategoryId), feature.geometryClass, core_bentley_1.Id64.getLowerUint32(modelId), core_bentley_1.Id64.getUpperUint32(modelId), type, animationNodeId);
|
|
418
493
|
}
|
|
494
|
+
static _weight1Appearance = FeatureAppearance.fromJSON({ weight: 1 });
|
|
419
495
|
/** Returns a feature's appearance overrides, or undefined if the feature is not visible.
|
|
420
496
|
* 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.
|
|
421
497
|
* @see [[getFeatureAppearance]] for an equivalent function that accepts [Id64String]($core-bentley)s instead of integer pairs.
|
|
@@ -456,9 +532,7 @@ class FeatureOverrides {
|
|
|
456
532
|
visible = false; // don't bother rendering something with full transparency...
|
|
457
533
|
return visible ? app : undefined;
|
|
458
534
|
}
|
|
459
|
-
/** Classifiers behave totally differently...in particular they are never invisible unless fully-transparent.
|
|
460
|
-
* @internal
|
|
461
|
-
*/
|
|
535
|
+
/** Classifiers behave totally differently...in particular they are never invisible unless fully-transparent. */
|
|
462
536
|
getClassifierAppearance(elemLo, elemHi, subcatLo, subcatHi, modelLo, modelHi, animationNodeId) {
|
|
463
537
|
let app = FeatureAppearance.defaults;
|
|
464
538
|
const modelApp = this.getModelOverrides(modelLo, modelHi);
|
|
@@ -526,39 +600,6 @@ class FeatureOverrides {
|
|
|
526
600
|
}
|
|
527
601
|
map.set(idLo, idHi, app);
|
|
528
602
|
}
|
|
529
|
-
/** Specify overrides for all elements within the specified model.
|
|
530
|
-
* @param id The Id of the model.
|
|
531
|
-
* @param app The symbology overrides.
|
|
532
|
-
* @param replaceExisting Specifies whether to replace a pre-existing override for the same model.
|
|
533
|
-
* @note These overrides take priority over all other overrides.
|
|
534
|
-
* @note If [[defaultOverrides]] are defined, they will not apply to any element within this model, even if the supplied appearance overrides nothing.
|
|
535
|
-
* @deprecated in 3.x. Use [[FeatureOverrides.override]].
|
|
536
|
-
*/
|
|
537
|
-
overrideModel(id, app, replaceExisting = true) {
|
|
538
|
-
this.override({ modelId: id, appearance: app, onConflict: replaceExisting ? "replace" : "skip" });
|
|
539
|
-
}
|
|
540
|
-
/** Specify overrides for all geometry belonging to the specified [SubCategory]($backend).
|
|
541
|
-
* @param id The Id of the subcategory.
|
|
542
|
-
* @param app The symbology overrides.
|
|
543
|
-
* @param replaceExisting Specifies whether to replace a pre-existing override for the same subcategory.
|
|
544
|
-
* @note These overrides have lower priority than element and model overrides.
|
|
545
|
-
* @note If [[defaultOverrides]] are defined, they will not apply to any geometry within this subcategory, even if the supplied appearance overrides nothing.
|
|
546
|
-
* @deprecated in 3.x. Use [[FeatureOverrides.override]].
|
|
547
|
-
*/
|
|
548
|
-
overrideSubCategory(id, app, replaceExisting = true) {
|
|
549
|
-
this.override({ subCategoryId: id, appearance: app, onConflict: replaceExisting ? "replace" : "skip" });
|
|
550
|
-
}
|
|
551
|
-
/** Specify overrides for all geometry originating from the specified element.
|
|
552
|
-
* @param id The Id of the element.
|
|
553
|
-
* @param app The symbology overrides.
|
|
554
|
-
* @param replaceExisting Specifies whether to replace a pre-existing override for the same element.
|
|
555
|
-
* @note These overrides take precedence over subcategory overrides, but not over model overrides.
|
|
556
|
-
* @note If [[defaultOverrides]] are defined, they will not apply to this element, even if the supplied appearance overrides nothing.
|
|
557
|
-
* @deprecated in 3.x. Use [[FeatureOverrides.override]].
|
|
558
|
-
*/
|
|
559
|
-
overrideElement(id, app, replaceExisting = true) {
|
|
560
|
-
this.override({ elementId: id, appearance: app, onConflict: replaceExisting ? "replace" : "skip" });
|
|
561
|
-
}
|
|
562
603
|
/** Specify overrides for all geometry originating from the specified animation node.
|
|
563
604
|
* @param id The Id of the animation node.
|
|
564
605
|
* @param app The symbology overrides.
|
|
@@ -575,15 +616,11 @@ class FeatureOverrides {
|
|
|
575
616
|
if (replaceExisting || !appearance.overridesSymbology)
|
|
576
617
|
this._defaultOverrides = appearance;
|
|
577
618
|
}
|
|
578
|
-
/** Get the display priority of a subcategory. This is only relevant when using [[PlanProjectionSettings]].
|
|
579
|
-
* @internal
|
|
580
|
-
*/
|
|
619
|
+
/** Get the display priority of a subcategory. This is only relevant when using [[PlanProjectionSettings]]. */
|
|
581
620
|
getSubCategoryPriority(idLo, idHi) {
|
|
582
621
|
return this._subCategoryPriorities.get(idLo, idHi) ?? 0;
|
|
583
622
|
}
|
|
584
|
-
/** Adds all fully transparent elements to the _neverDrawn set. This is used for BatchedModels planar masks.
|
|
585
|
-
* @internal
|
|
586
|
-
*/
|
|
623
|
+
/** Adds all fully transparent elements to the _neverDrawn set. This is used for BatchedModels planar masks. */
|
|
587
624
|
addInvisibleElementOverridesToNeverDrawn() {
|
|
588
625
|
this._elementOverrides.forEach((lo, hi) => {
|
|
589
626
|
const app = this.getElementOverrides(lo, hi, 0);
|
|
@@ -595,57 +632,6 @@ class FeatureOverrides {
|
|
|
595
632
|
* @see [FeatureSymbology.Overrides]($frontend) to construct overrides based on a [ViewState]($frontend) or [Viewport]($frontend).
|
|
596
633
|
*/
|
|
597
634
|
constructor() {
|
|
598
|
-
/** @internal */
|
|
599
|
-
this._ignoreAnimationOverrides = [];
|
|
600
|
-
/** Ids of elements that should never be drawn. This takes precedence over [[alwaysDrawn]]. @internal */
|
|
601
|
-
this._neverDrawn = new core_bentley_1.Id64.Uint32Set();
|
|
602
|
-
/** Ids of elements that should always be drawn. [[neverDrawn]] takes precedence over this set. @internal */
|
|
603
|
-
this._alwaysDrawn = new core_bentley_1.Id64.Uint32Set();
|
|
604
|
-
/** If true, no elements *except* those defined in the "always drawn" set will be drawn.
|
|
605
|
-
* @see [[setAlwaysDrawn]]
|
|
606
|
-
*/
|
|
607
|
-
this.isAlwaysDrawnExclusive = false;
|
|
608
|
-
/** If true, the always-drawn elements are drawn even if their subcategories are not visible.
|
|
609
|
-
* @see [[setAlwaysDrawn]]
|
|
610
|
-
*/
|
|
611
|
-
this.alwaysDrawnIgnoresSubCategory = true;
|
|
612
|
-
/** If true, all subcategories are considered visible. This is used for drawing sheets via section callouts in the absence of an actual sheet view.
|
|
613
|
-
* @internal
|
|
614
|
-
*/
|
|
615
|
-
this.ignoreSubCategory = false;
|
|
616
|
-
/** Overrides applied to any feature not explicitly overridden. @internal */
|
|
617
|
-
this._defaultOverrides = FeatureAppearance.defaults;
|
|
618
|
-
/** Whether construction geometry should be drawn. @internal */
|
|
619
|
-
this._constructions = false;
|
|
620
|
-
/** Whether dimensions should be drawn. @internal */
|
|
621
|
-
this._dimensions = false;
|
|
622
|
-
/** Whether area patterns should be drawn. @internal */
|
|
623
|
-
this._patterns = false;
|
|
624
|
-
/** Whether line weights should be applied. If false, all lines are rendered 1-pixel wide. @internal */
|
|
625
|
-
this._lineWeights = true;
|
|
626
|
-
/** Overrides applied to all elements belonging to each model. @internal */
|
|
627
|
-
this._modelOverrides = new core_bentley_1.Id64.Uint32Map();
|
|
628
|
-
/** Overrides applied to specific elements. @internal */
|
|
629
|
-
this._elementOverrides = new core_bentley_1.Id64.Uint32Map();
|
|
630
|
-
/** Overrides applied to geometry belonging to each subcategory. @internal */
|
|
631
|
-
this._subCategoryOverrides = new core_bentley_1.Id64.Uint32Map();
|
|
632
|
-
/** The set of displayed subcategories. Geometry belonging to subcategories not included in this set will not be drawn. @internal */
|
|
633
|
-
this._visibleSubCategories = new core_bentley_1.Id64.Uint32Set();
|
|
634
|
-
/** Display priorities assigned to subcategories, possibly overridden by display style. Only applicable for plan projection models. @internal */
|
|
635
|
-
this._subCategoryPriorities = new core_bentley_1.Id64.Uint32Map();
|
|
636
|
-
/** Per-model, a set of subcategories whose visibility should be inverted for elements within that model.
|
|
637
|
-
* Populated by Viewport.
|
|
638
|
-
* @internal
|
|
639
|
-
*/
|
|
640
|
-
this._modelSubCategoryOverrides = new core_bentley_1.Id64.Uint32Map();
|
|
641
|
-
/** Ids of animation nodes that should never be drawn.
|
|
642
|
-
* @internal
|
|
643
|
-
*/
|
|
644
|
-
this.neverDrawnAnimationNodes = new Set();
|
|
645
|
-
/** Mapping of animation node Ids to overrides applied to the corresponding animation nodes.
|
|
646
|
-
* @internal
|
|
647
|
-
*/
|
|
648
|
-
this.animationNodeOverrides = new Map();
|
|
649
635
|
//
|
|
650
636
|
}
|
|
651
637
|
/** Returns true if geometry belonging to the specified subcategory will be drawn. */
|
|
@@ -673,7 +659,6 @@ class FeatureOverrides {
|
|
|
673
659
|
}
|
|
674
660
|
}
|
|
675
661
|
exports.FeatureOverrides = FeatureOverrides;
|
|
676
|
-
FeatureOverrides._weight1Appearance = FeatureAppearance.fromJSON({ weight: 1 });
|
|
677
662
|
/** @public */
|
|
678
663
|
var FeatureAppearanceProvider;
|
|
679
664
|
(function (FeatureAppearanceProvider) {
|