@itwin/core-orbitgt 4.0.0-dev.48 → 4.0.0-dev.50
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/lib/cjs/core-orbitgt.d.ts +26 -26
- package/lib/cjs/core-orbitgt.js +58 -58
- package/lib/cjs/core-orbitgt.js.map +1 -1
- package/lib/cjs/pointcloud/format/opc/AttributeMask.d.ts +30 -30
- package/lib/cjs/pointcloud/format/opc/AttributeMask.js +47 -47
- package/lib/cjs/pointcloud/format/opc/AttributeMask.js.map +1 -1
- package/lib/cjs/pointcloud/format/opc/AttributeReader.d.ts +63 -63
- package/lib/cjs/pointcloud/format/opc/AttributeReader.js +24 -24
- package/lib/cjs/pointcloud/format/opc/AttributeReader.js.map +1 -1
- package/lib/cjs/pointcloud/format/opc/BlockRecord.d.ts +54 -54
- package/lib/cjs/pointcloud/format/opc/BlockRecord.js +84 -84
- package/lib/cjs/pointcloud/format/opc/BlockRecord.js.map +1 -1
- package/lib/cjs/pointcloud/format/opc/ContainerFile.d.ts +85 -85
- package/lib/cjs/pointcloud/format/opc/ContainerFile.js +199 -199
- package/lib/cjs/pointcloud/format/opc/ContainerFile.js.map +1 -1
- package/lib/cjs/pointcloud/format/opc/ContainerFilePart.d.ts +55 -55
- package/lib/cjs/pointcloud/format/opc/ContainerFilePart.js +75 -75
- package/lib/cjs/pointcloud/format/opc/ContainerFilePart.js.map +1 -1
- package/lib/cjs/pointcloud/format/opc/DirectoryReader.d.ts +75 -75
- package/lib/cjs/pointcloud/format/opc/DirectoryReader.js +169 -169
- package/lib/cjs/pointcloud/format/opc/DirectoryReader.js.map +1 -1
- package/lib/cjs/pointcloud/format/opc/DirectoryRecord.d.ts +59 -59
- package/lib/cjs/pointcloud/format/opc/DirectoryRecord.js +89 -89
- package/lib/cjs/pointcloud/format/opc/DirectoryRecord.js.map +1 -1
- package/lib/cjs/pointcloud/format/opc/EmbeddedAttributeReader.d.ts +106 -106
- package/lib/cjs/pointcloud/format/opc/EmbeddedAttributeReader.js +197 -197
- package/lib/cjs/pointcloud/format/opc/EmbeddedAttributeReader.js.map +1 -1
- package/lib/cjs/pointcloud/format/opc/FileAccess.d.ts +39 -39
- package/lib/cjs/pointcloud/format/opc/FileAccess.js +48 -48
- package/lib/cjs/pointcloud/format/opc/FileAccess.js.map +1 -1
- package/lib/cjs/pointcloud/format/opc/FileReader.d.ts +118 -118
- package/lib/cjs/pointcloud/format/opc/FileReader.js +248 -248
- package/lib/cjs/pointcloud/format/opc/FileReader.js.map +1 -1
- package/lib/cjs/pointcloud/format/opc/FileRecord.d.ts +89 -89
- package/lib/cjs/pointcloud/format/opc/FileRecord.js +125 -125
- package/lib/cjs/pointcloud/format/opc/FileRecord.js.map +1 -1
- package/lib/cjs/pointcloud/format/opc/GeometryReader.d.ts +79 -79
- package/lib/cjs/pointcloud/format/opc/GeometryReader.js +163 -163
- package/lib/cjs/pointcloud/format/opc/GeometryReader.js.map +1 -1
- package/lib/cjs/pointcloud/format/opc/GeometryRecord.d.ts +53 -53
- package/lib/cjs/pointcloud/format/opc/GeometryRecord.js +107 -107
- package/lib/cjs/pointcloud/format/opc/GeometryRecord.js.map +1 -1
- package/lib/cjs/pointcloud/format/opc/OPCReader.d.ts +157 -157
- package/lib/cjs/pointcloud/format/opc/OPCReader.js +319 -319
- package/lib/cjs/pointcloud/format/opc/OPCReader.js.map +1 -1
- package/lib/cjs/pointcloud/format/opc/PointReader.d.ts +72 -72
- package/lib/cjs/pointcloud/format/opc/PointReader.js +152 -152
- package/lib/cjs/pointcloud/format/opc/PointReader.js.map +1 -1
- package/lib/cjs/pointcloud/format/opc/TileReadBuffer.d.ts +63 -63
- package/lib/cjs/pointcloud/format/opc/TileReadBuffer.js +92 -92
- package/lib/cjs/pointcloud/format/opc/TileReadBuffer.js.map +1 -1
- package/lib/cjs/pointcloud/format/opc/TileRecord.d.ts +88 -88
- package/lib/cjs/pointcloud/format/opc/TileRecord.js +161 -161
- package/lib/cjs/pointcloud/format/opc/TileRecord.js.map +1 -1
- package/lib/cjs/pointcloud/model/AttributeTypes.d.ts +37 -37
- package/lib/cjs/pointcloud/model/AttributeTypes.js +64 -64
- package/lib/cjs/pointcloud/model/AttributeTypes.js.map +1 -1
- package/lib/cjs/pointcloud/model/AttributeValue.d.ts +247 -247
- package/lib/cjs/pointcloud/model/AttributeValue.js +508 -508
- package/lib/cjs/pointcloud/model/AttributeValue.js.map +1 -1
- package/lib/cjs/pointcloud/model/BlockIndex.d.ts +49 -49
- package/lib/cjs/pointcloud/model/BlockIndex.js +48 -48
- package/lib/cjs/pointcloud/model/BlockIndex.js.map +1 -1
- package/lib/cjs/pointcloud/model/CloudPoint.d.ts +210 -210
- package/lib/cjs/pointcloud/model/CloudPoint.js +318 -318
- package/lib/cjs/pointcloud/model/CloudPoint.js.map +1 -1
- package/lib/cjs/pointcloud/model/Grid.d.ts +91 -91
- package/lib/cjs/pointcloud/model/Grid.js +129 -129
- package/lib/cjs/pointcloud/model/Grid.js.map +1 -1
- package/lib/cjs/pointcloud/model/GridIndex.d.ts +66 -66
- package/lib/cjs/pointcloud/model/GridIndex.js +93 -93
- package/lib/cjs/pointcloud/model/GridIndex.js.map +1 -1
- package/lib/cjs/pointcloud/model/PointAttribute.d.ts +208 -208
- package/lib/cjs/pointcloud/model/PointAttribute.js +374 -374
- package/lib/cjs/pointcloud/model/PointAttribute.js.map +1 -1
- package/lib/cjs/pointcloud/model/PointCloudReader.d.ts +156 -156
- package/lib/cjs/pointcloud/model/PointCloudReader.js +189 -189
- package/lib/cjs/pointcloud/model/PointCloudReader.js.map +1 -1
- package/lib/cjs/pointcloud/model/PointData.d.ts +17 -17
- package/lib/cjs/pointcloud/model/PointData.js +24 -24
- package/lib/cjs/pointcloud/model/PointData.js.map +1 -1
- package/lib/cjs/pointcloud/model/PointDataRaw.d.ts +34 -34
- package/lib/cjs/pointcloud/model/PointDataRaw.js +69 -69
- package/lib/cjs/pointcloud/model/PointDataRaw.js.map +1 -1
- package/lib/cjs/pointcloud/model/ReadRequest.d.ts +175 -175
- package/lib/cjs/pointcloud/model/ReadRequest.js +239 -239
- package/lib/cjs/pointcloud/model/ReadRequest.js.map +1 -1
- package/lib/cjs/pointcloud/model/StandardAttributes.d.ts +40 -40
- package/lib/cjs/pointcloud/model/StandardAttributes.js +47 -47
- package/lib/cjs/pointcloud/model/StandardAttributes.js.map +1 -1
- package/lib/cjs/pointcloud/model/TileIndex.d.ts +47 -47
- package/lib/cjs/pointcloud/model/TileIndex.js +47 -47
- package/lib/cjs/pointcloud/model/TileIndex.js.map +1 -1
- package/lib/cjs/pointcloud/render/AViewRequest.d.ts +38 -38
- package/lib/cjs/pointcloud/render/AViewRequest.js +24 -24
- package/lib/cjs/pointcloud/render/AViewRequest.js.map +1 -1
- package/lib/cjs/pointcloud/render/Block.d.ts +67 -67
- package/lib/cjs/pointcloud/render/Block.js +119 -119
- package/lib/cjs/pointcloud/render/Block.js.map +1 -1
- package/lib/cjs/pointcloud/render/DataManager.d.ts +136 -136
- package/lib/cjs/pointcloud/render/DataManager.js +342 -342
- package/lib/cjs/pointcloud/render/DataManager.js.map +1 -1
- package/lib/cjs/pointcloud/render/FrameData.d.ts +30 -30
- package/lib/cjs/pointcloud/render/FrameData.js +39 -39
- package/lib/cjs/pointcloud/render/FrameData.js.map +1 -1
- package/lib/cjs/pointcloud/render/Level.d.ts +90 -90
- package/lib/cjs/pointcloud/render/Level.js +119 -119
- package/lib/cjs/pointcloud/render/Level.js.map +1 -1
- package/lib/cjs/pointcloud/render/TileLoadSorter.d.ts +60 -60
- package/lib/cjs/pointcloud/render/TileLoadSorter.js +99 -99
- package/lib/cjs/pointcloud/render/TileLoadSorter.js.map +1 -1
- package/lib/cjs/pointcloud/render/ViewTree.d.ts +113 -113
- package/lib/cjs/pointcloud/render/ViewTree.js +363 -363
- package/lib/cjs/pointcloud/render/ViewTree.js.map +1 -1
- package/lib/cjs/spatial/crs/CRSEngine.d.ts +55 -55
- package/lib/cjs/spatial/crs/CRSEngine.js +93 -93
- package/lib/cjs/spatial/crs/CRSEngine.js.map +1 -1
- package/lib/cjs/spatial/crs/CRSManager.d.ts +49 -49
- package/lib/cjs/spatial/crs/CRSManager.js +109 -109
- package/lib/cjs/spatial/crs/CRSManager.js.map +1 -1
- package/lib/cjs/spatial/ecrs/Axis.d.ts +77 -77
- package/lib/cjs/spatial/ecrs/Axis.js +93 -93
- package/lib/cjs/spatial/ecrs/Axis.js.map +1 -1
- package/lib/cjs/spatial/ecrs/CRS.d.ts +447 -447
- package/lib/cjs/spatial/ecrs/CRS.js +930 -930
- package/lib/cjs/spatial/ecrs/CRS.js.map +1 -1
- package/lib/cjs/spatial/ecrs/CoordinateSystem.d.ts +142 -142
- package/lib/cjs/spatial/ecrs/CoordinateSystem.js +326 -326
- package/lib/cjs/spatial/ecrs/CoordinateSystem.js.map +1 -1
- package/lib/cjs/spatial/ecrs/DataFileUnit.d.ts +10 -10
- package/lib/cjs/spatial/ecrs/DataFileUnit.js +104 -104
- package/lib/cjs/spatial/ecrs/DataFileUnit.js.map +1 -1
- package/lib/cjs/spatial/ecrs/Datum.d.ts +111 -111
- package/lib/cjs/spatial/ecrs/Datum.js +166 -166
- package/lib/cjs/spatial/ecrs/Datum.js.map +1 -1
- package/lib/cjs/spatial/ecrs/Ellipsoid.d.ts +188 -188
- package/lib/cjs/spatial/ecrs/Ellipsoid.js +336 -336
- package/lib/cjs/spatial/ecrs/Ellipsoid.js.map +1 -1
- package/lib/cjs/spatial/ecrs/OnlineEngine.d.ts +48 -48
- package/lib/cjs/spatial/ecrs/OnlineEngine.js +102 -102
- package/lib/cjs/spatial/ecrs/OnlineEngine.js.map +1 -1
- package/lib/cjs/spatial/ecrs/OnlineRegistry.d.ts +37 -37
- package/lib/cjs/spatial/ecrs/OnlineRegistry.js +76 -76
- package/lib/cjs/spatial/ecrs/OnlineRegistry.js.map +1 -1
- package/lib/cjs/spatial/ecrs/Operation.d.ts +191 -191
- package/lib/cjs/spatial/ecrs/Operation.js +345 -345
- package/lib/cjs/spatial/ecrs/Operation.js.map +1 -1
- package/lib/cjs/spatial/ecrs/OperationMethod.d.ts +71 -71
- package/lib/cjs/spatial/ecrs/OperationMethod.js +75 -75
- package/lib/cjs/spatial/ecrs/OperationMethod.js.map +1 -1
- package/lib/cjs/spatial/ecrs/ParameterValue.d.ts +49 -49
- package/lib/cjs/spatial/ecrs/ParameterValue.js +65 -65
- package/lib/cjs/spatial/ecrs/ParameterValue.js.map +1 -1
- package/lib/cjs/spatial/ecrs/ParameterValueList.d.ts +72 -72
- package/lib/cjs/spatial/ecrs/ParameterValueList.js +120 -120
- package/lib/cjs/spatial/ecrs/ParameterValueList.js.map +1 -1
- package/lib/cjs/spatial/ecrs/PrimeMeridian.d.ts +78 -78
- package/lib/cjs/spatial/ecrs/PrimeMeridian.js +108 -108
- package/lib/cjs/spatial/ecrs/PrimeMeridian.js.map +1 -1
- package/lib/cjs/spatial/ecrs/Registry.d.ts +109 -109
- package/lib/cjs/spatial/ecrs/Registry.js +207 -207
- package/lib/cjs/spatial/ecrs/Registry.js.map +1 -1
- package/lib/cjs/spatial/ecrs/Transform.d.ts +77 -77
- package/lib/cjs/spatial/ecrs/Transform.js +396 -396
- package/lib/cjs/spatial/ecrs/Transform.js.map +1 -1
- package/lib/cjs/spatial/ecrs/Unit.d.ts +170 -170
- package/lib/cjs/spatial/ecrs/Unit.js +336 -336
- package/lib/cjs/spatial/ecrs/Unit.js.map +1 -1
- package/lib/cjs/spatial/ecrs/VerticalModel.d.ts +69 -69
- package/lib/cjs/spatial/ecrs/VerticalModel.js +88 -88
- package/lib/cjs/spatial/ecrs/VerticalModel.js.map +1 -1
- package/lib/cjs/spatial/ecrs/WellKnownText.d.ts +153 -153
- package/lib/cjs/spatial/ecrs/WellKnownText.js +494 -494
- package/lib/cjs/spatial/ecrs/WellKnownText.js.map +1 -1
- package/lib/cjs/spatial/ecrs/WellKnownTextNode.d.ts +69 -69
- package/lib/cjs/spatial/ecrs/WellKnownTextNode.js +128 -128
- package/lib/cjs/spatial/ecrs/WellKnownTextNode.js.map +1 -1
- package/lib/cjs/spatial/ecrs/projection/HotineObliqueMercator.d.ts +101 -101
- package/lib/cjs/spatial/ecrs/projection/HotineObliqueMercator.js +162 -162
- package/lib/cjs/spatial/ecrs/projection/HotineObliqueMercator.js.map +1 -1
- package/lib/cjs/spatial/ecrs/projection/KrovakObliqueConformalConic.d.ts +79 -79
- package/lib/cjs/spatial/ecrs/projection/KrovakObliqueConformalConic.js +125 -125
- package/lib/cjs/spatial/ecrs/projection/KrovakObliqueConformalConic.js.map +1 -1
- package/lib/cjs/spatial/ecrs/projection/KrovakObliqueConformalConicEN.d.ts +47 -47
- package/lib/cjs/spatial/ecrs/projection/KrovakObliqueConformalConicEN.js +73 -73
- package/lib/cjs/spatial/ecrs/projection/KrovakObliqueConformalConicEN.js.map +1 -1
- package/lib/cjs/spatial/ecrs/projection/LambertConical1SP.d.ts +72 -72
- package/lib/cjs/spatial/ecrs/projection/LambertConical1SP.js +129 -129
- package/lib/cjs/spatial/ecrs/projection/LambertConical1SP.js.map +1 -1
- package/lib/cjs/spatial/ecrs/projection/LambertConical2SP.d.ts +120 -120
- package/lib/cjs/spatial/ecrs/projection/LambertConical2SP.js +179 -179
- package/lib/cjs/spatial/ecrs/projection/LambertConical2SP.js.map +1 -1
- package/lib/cjs/spatial/ecrs/projection/Mercator1SP.d.ts +73 -73
- package/lib/cjs/spatial/ecrs/projection/Mercator1SP.js +112 -112
- package/lib/cjs/spatial/ecrs/projection/Mercator1SP.js.map +1 -1
- package/lib/cjs/spatial/ecrs/projection/ObliqueMercator.d.ts +96 -96
- package/lib/cjs/spatial/ecrs/projection/ObliqueMercator.js +173 -173
- package/lib/cjs/spatial/ecrs/projection/ObliqueMercator.js.map +1 -1
- package/lib/cjs/spatial/ecrs/projection/ObliqueStereographic.d.ts +123 -123
- package/lib/cjs/spatial/ecrs/projection/ObliqueStereographic.js +208 -208
- package/lib/cjs/spatial/ecrs/projection/ObliqueStereographic.js.map +1 -1
- package/lib/cjs/spatial/ecrs/projection/TransverseMercator.d.ts +108 -108
- package/lib/cjs/spatial/ecrs/projection/TransverseMercator.js +183 -183
- package/lib/cjs/spatial/ecrs/projection/TransverseMercator.js.map +1 -1
- package/lib/cjs/spatial/ecrs/transformation/PositionVector.d.ts +90 -90
- package/lib/cjs/spatial/ecrs/transformation/PositionVector.js +130 -130
- package/lib/cjs/spatial/ecrs/transformation/PositionVector.js.map +1 -1
- package/lib/cjs/spatial/geom/Bounds.d.ts +33 -33
- package/lib/cjs/spatial/geom/Bounds.js +156 -156
- package/lib/cjs/spatial/geom/Bounds.js.map +1 -1
- package/lib/cjs/spatial/geom/Coordinate.d.ts +61 -61
- package/lib/cjs/spatial/geom/Coordinate.js +186 -186
- package/lib/cjs/spatial/geom/Coordinate.js.map +1 -1
- package/lib/cjs/spatial/geom/Line.d.ts +225 -225
- package/lib/cjs/spatial/geom/Line.js +432 -432
- package/lib/cjs/spatial/geom/Line.js.map +1 -1
- package/lib/cjs/spatial/geom/Transform.d.ts +340 -340
- package/lib/cjs/spatial/geom/Transform.js +748 -748
- package/lib/cjs/spatial/geom/Transform.js.map +1 -1
- package/lib/cjs/system/buffer/ABuffer.d.ts +51 -51
- package/lib/cjs/system/buffer/ABuffer.js +90 -90
- package/lib/cjs/system/buffer/ABuffer.js.map +1 -1
- package/lib/cjs/system/buffer/Float32Buffer.d.ts +46 -46
- package/lib/cjs/system/buffer/Float32Buffer.js +60 -60
- package/lib/cjs/system/buffer/Float32Buffer.js.map +1 -1
- package/lib/cjs/system/buffer/LittleEndian.d.ts +149 -149
- package/lib/cjs/system/buffer/LittleEndian.js +303 -303
- package/lib/cjs/system/buffer/LittleEndian.js.map +1 -1
- package/lib/cjs/system/buffer/Uint16Buffer.d.ts +49 -49
- package/lib/cjs/system/buffer/Uint16Buffer.js +65 -65
- package/lib/cjs/system/buffer/Uint16Buffer.js.map +1 -1
- package/lib/cjs/system/buffer/Uint8Buffer.d.ts +49 -49
- package/lib/cjs/system/buffer/Uint8Buffer.js +65 -65
- package/lib/cjs/system/buffer/Uint8Buffer.js.map +1 -1
- package/lib/cjs/system/collection/AList.d.ts +30 -30
- package/lib/cjs/system/collection/AList.js +70 -70
- package/lib/cjs/system/collection/AList.js.map +1 -1
- package/lib/cjs/system/collection/IntMap.d.ts +18 -18
- package/lib/cjs/system/collection/IntMap.js +35 -35
- package/lib/cjs/system/collection/IntMap.js.map +1 -1
- package/lib/cjs/system/collection/StringMap.d.ts +26 -26
- package/lib/cjs/system/collection/StringMap.js +63 -63
- package/lib/cjs/system/collection/StringMap.js.map +1 -1
- package/lib/cjs/system/io/ABufferInStream.d.ts +29 -29
- package/lib/cjs/system/io/ABufferInStream.js +46 -46
- package/lib/cjs/system/io/ABufferInStream.js.map +1 -1
- package/lib/cjs/system/io/InStream.d.ts +23 -23
- package/lib/cjs/system/io/InStream.js +34 -34
- package/lib/cjs/system/io/InStream.js.map +1 -1
- package/lib/cjs/system/io/OutStream.d.ts +23 -23
- package/lib/cjs/system/io/OutStream.js +33 -33
- package/lib/cjs/system/io/OutStream.js.map +1 -1
- package/lib/cjs/system/runtime/ALong.d.ts +329 -329
- package/lib/cjs/system/runtime/ALong.js +687 -687
- package/lib/cjs/system/runtime/ALong.js.map +1 -1
- package/lib/cjs/system/runtime/ASystem.d.ts +14 -14
- package/lib/cjs/system/runtime/ASystem.js +31 -31
- package/lib/cjs/system/runtime/ASystem.js.map +1 -1
- package/lib/cjs/system/runtime/Downloader.d.ts +17 -17
- package/lib/cjs/system/runtime/Downloader.js +38 -38
- package/lib/cjs/system/runtime/Downloader.js.map +1 -1
- package/lib/cjs/system/runtime/DownloaderNode.d.ts +18 -18
- package/lib/cjs/system/runtime/DownloaderNode.js +129 -129
- package/lib/cjs/system/runtime/DownloaderNode.js.map +1 -1
- package/lib/cjs/system/runtime/DownloaderXhr.d.ts +18 -18
- package/lib/cjs/system/runtime/DownloaderXhr.js +131 -131
- package/lib/cjs/system/runtime/DownloaderXhr.js.map +1 -1
- package/lib/cjs/system/runtime/Message.d.ts +16 -16
- package/lib/cjs/system/runtime/Message.js +39 -39
- package/lib/cjs/system/runtime/Message.js.map +1 -1
- package/lib/cjs/system/runtime/Numbers.d.ts +34 -34
- package/lib/cjs/system/runtime/Numbers.js +87 -87
- package/lib/cjs/system/runtime/Numbers.js.map +1 -1
- package/lib/cjs/system/runtime/Strings.d.ts +49 -49
- package/lib/cjs/system/runtime/Strings.js +188 -188
- package/lib/cjs/system/runtime/Strings.js.map +1 -1
- package/lib/cjs/system/runtime/iComparator.d.ts +12 -12
- package/lib/cjs/system/runtime/iComparator.js +9 -9
- package/lib/cjs/system/runtime/iComparator.js.map +1 -1
- package/lib/cjs/system/storage/CacheList.d.ts +39 -39
- package/lib/cjs/system/storage/CacheList.js +80 -80
- package/lib/cjs/system/storage/CacheList.js.map +1 -1
- package/lib/cjs/system/storage/CachedItem.d.ts +21 -21
- package/lib/cjs/system/storage/CachedItem.js +25 -25
- package/lib/cjs/system/storage/CachedItem.js.map +1 -1
- package/lib/cjs/system/storage/ContentLoader.d.ts +64 -64
- package/lib/cjs/system/storage/ContentLoader.js +95 -95
- package/lib/cjs/system/storage/ContentLoader.js.map +1 -1
- package/lib/cjs/system/storage/FileContent.d.ts +19 -19
- package/lib/cjs/system/storage/FileContent.js +24 -24
- package/lib/cjs/system/storage/FileContent.js.map +1 -1
- package/lib/cjs/system/storage/FileRange.d.ts +20 -20
- package/lib/cjs/system/storage/FileRange.js +24 -24
- package/lib/cjs/system/storage/FileRange.js.map +1 -1
- package/lib/cjs/system/storage/FileStorage.d.ts +44 -44
- package/lib/cjs/system/storage/FileStorage.js +62 -62
- package/lib/cjs/system/storage/FileStorage.js.map +1 -1
- package/lib/cjs/system/storage/NodeFS.d.ts +41 -41
- package/lib/cjs/system/storage/NodeFS.js +79 -79
- package/lib/cjs/system/storage/NodeFS.js.map +1 -1
- package/lib/cjs/system/storage/PageCachedFile.d.ts +54 -54
- package/lib/cjs/system/storage/PageCachedFile.js +165 -165
- package/lib/cjs/system/storage/PageCachedFile.js.map +1 -1
- package/lib/cjs/system/storage/UrlFS.d.ts +53 -53
- package/lib/cjs/system/storage/UrlFS.js +114 -114
- package/lib/cjs/system/storage/UrlFS.js.map +1 -1
- package/lib/esm/core-orbitgt.d.ts +26 -26
- package/lib/esm/core-orbitgt.js +31 -31
- package/lib/esm/core-orbitgt.js.map +1 -1
- package/lib/esm/pointcloud/format/opc/AttributeMask.d.ts +30 -30
- package/lib/esm/pointcloud/format/opc/AttributeMask.js +43 -43
- package/lib/esm/pointcloud/format/opc/AttributeMask.js.map +1 -1
- package/lib/esm/pointcloud/format/opc/AttributeReader.d.ts +63 -63
- package/lib/esm/pointcloud/format/opc/AttributeReader.js +20 -20
- package/lib/esm/pointcloud/format/opc/AttributeReader.js.map +1 -1
- package/lib/esm/pointcloud/format/opc/BlockRecord.d.ts +54 -54
- package/lib/esm/pointcloud/format/opc/BlockRecord.js +80 -80
- package/lib/esm/pointcloud/format/opc/BlockRecord.js.map +1 -1
- package/lib/esm/pointcloud/format/opc/ContainerFile.d.ts +85 -85
- package/lib/esm/pointcloud/format/opc/ContainerFile.js +195 -195
- package/lib/esm/pointcloud/format/opc/ContainerFile.js.map +1 -1
- package/lib/esm/pointcloud/format/opc/ContainerFilePart.d.ts +55 -55
- package/lib/esm/pointcloud/format/opc/ContainerFilePart.js +71 -71
- package/lib/esm/pointcloud/format/opc/ContainerFilePart.js.map +1 -1
- package/lib/esm/pointcloud/format/opc/DirectoryReader.d.ts +75 -75
- package/lib/esm/pointcloud/format/opc/DirectoryReader.js +165 -165
- package/lib/esm/pointcloud/format/opc/DirectoryReader.js.map +1 -1
- package/lib/esm/pointcloud/format/opc/DirectoryRecord.d.ts +59 -59
- package/lib/esm/pointcloud/format/opc/DirectoryRecord.js +85 -85
- package/lib/esm/pointcloud/format/opc/DirectoryRecord.js.map +1 -1
- package/lib/esm/pointcloud/format/opc/EmbeddedAttributeReader.d.ts +106 -106
- package/lib/esm/pointcloud/format/opc/EmbeddedAttributeReader.js +193 -193
- package/lib/esm/pointcloud/format/opc/EmbeddedAttributeReader.js.map +1 -1
- package/lib/esm/pointcloud/format/opc/FileAccess.d.ts +39 -39
- package/lib/esm/pointcloud/format/opc/FileAccess.js +44 -44
- package/lib/esm/pointcloud/format/opc/FileAccess.js.map +1 -1
- package/lib/esm/pointcloud/format/opc/FileReader.d.ts +118 -118
- package/lib/esm/pointcloud/format/opc/FileReader.js +244 -244
- package/lib/esm/pointcloud/format/opc/FileReader.js.map +1 -1
- package/lib/esm/pointcloud/format/opc/FileRecord.d.ts +89 -89
- package/lib/esm/pointcloud/format/opc/FileRecord.js +121 -121
- package/lib/esm/pointcloud/format/opc/FileRecord.js.map +1 -1
- package/lib/esm/pointcloud/format/opc/GeometryReader.d.ts +79 -79
- package/lib/esm/pointcloud/format/opc/GeometryReader.js +159 -159
- package/lib/esm/pointcloud/format/opc/GeometryReader.js.map +1 -1
- package/lib/esm/pointcloud/format/opc/GeometryRecord.d.ts +53 -53
- package/lib/esm/pointcloud/format/opc/GeometryRecord.js +103 -103
- package/lib/esm/pointcloud/format/opc/GeometryRecord.js.map +1 -1
- package/lib/esm/pointcloud/format/opc/OPCReader.d.ts +157 -157
- package/lib/esm/pointcloud/format/opc/OPCReader.js +315 -315
- package/lib/esm/pointcloud/format/opc/OPCReader.js.map +1 -1
- package/lib/esm/pointcloud/format/opc/PointReader.d.ts +72 -72
- package/lib/esm/pointcloud/format/opc/PointReader.js +148 -148
- package/lib/esm/pointcloud/format/opc/PointReader.js.map +1 -1
- package/lib/esm/pointcloud/format/opc/TileReadBuffer.d.ts +63 -63
- package/lib/esm/pointcloud/format/opc/TileReadBuffer.js +88 -88
- package/lib/esm/pointcloud/format/opc/TileReadBuffer.js.map +1 -1
- package/lib/esm/pointcloud/format/opc/TileRecord.d.ts +88 -88
- package/lib/esm/pointcloud/format/opc/TileRecord.js +157 -157
- package/lib/esm/pointcloud/format/opc/TileRecord.js.map +1 -1
- package/lib/esm/pointcloud/model/AttributeTypes.d.ts +37 -37
- package/lib/esm/pointcloud/model/AttributeTypes.js +60 -60
- package/lib/esm/pointcloud/model/AttributeTypes.js.map +1 -1
- package/lib/esm/pointcloud/model/AttributeValue.d.ts +247 -247
- package/lib/esm/pointcloud/model/AttributeValue.js +504 -504
- package/lib/esm/pointcloud/model/AttributeValue.js.map +1 -1
- package/lib/esm/pointcloud/model/BlockIndex.d.ts +49 -49
- package/lib/esm/pointcloud/model/BlockIndex.js +44 -44
- package/lib/esm/pointcloud/model/BlockIndex.js.map +1 -1
- package/lib/esm/pointcloud/model/CloudPoint.d.ts +210 -210
- package/lib/esm/pointcloud/model/CloudPoint.js +314 -314
- package/lib/esm/pointcloud/model/CloudPoint.js.map +1 -1
- package/lib/esm/pointcloud/model/Grid.d.ts +91 -91
- package/lib/esm/pointcloud/model/Grid.js +125 -125
- package/lib/esm/pointcloud/model/Grid.js.map +1 -1
- package/lib/esm/pointcloud/model/GridIndex.d.ts +66 -66
- package/lib/esm/pointcloud/model/GridIndex.js +89 -89
- package/lib/esm/pointcloud/model/GridIndex.js.map +1 -1
- package/lib/esm/pointcloud/model/PointAttribute.d.ts +208 -208
- package/lib/esm/pointcloud/model/PointAttribute.js +370 -370
- package/lib/esm/pointcloud/model/PointAttribute.js.map +1 -1
- package/lib/esm/pointcloud/model/PointCloudReader.d.ts +156 -156
- package/lib/esm/pointcloud/model/PointCloudReader.js +185 -185
- package/lib/esm/pointcloud/model/PointCloudReader.js.map +1 -1
- package/lib/esm/pointcloud/model/PointData.d.ts +17 -17
- package/lib/esm/pointcloud/model/PointData.js +20 -20
- package/lib/esm/pointcloud/model/PointData.js.map +1 -1
- package/lib/esm/pointcloud/model/PointDataRaw.d.ts +34 -34
- package/lib/esm/pointcloud/model/PointDataRaw.js +65 -65
- package/lib/esm/pointcloud/model/PointDataRaw.js.map +1 -1
- package/lib/esm/pointcloud/model/ReadRequest.d.ts +175 -175
- package/lib/esm/pointcloud/model/ReadRequest.js +235 -235
- package/lib/esm/pointcloud/model/ReadRequest.js.map +1 -1
- package/lib/esm/pointcloud/model/StandardAttributes.d.ts +40 -40
- package/lib/esm/pointcloud/model/StandardAttributes.js +43 -43
- package/lib/esm/pointcloud/model/StandardAttributes.js.map +1 -1
- package/lib/esm/pointcloud/model/TileIndex.d.ts +47 -47
- package/lib/esm/pointcloud/model/TileIndex.js +43 -43
- package/lib/esm/pointcloud/model/TileIndex.js.map +1 -1
- package/lib/esm/pointcloud/render/AViewRequest.d.ts +38 -38
- package/lib/esm/pointcloud/render/AViewRequest.js +20 -20
- package/lib/esm/pointcloud/render/AViewRequest.js.map +1 -1
- package/lib/esm/pointcloud/render/Block.d.ts +67 -67
- package/lib/esm/pointcloud/render/Block.js +115 -115
- package/lib/esm/pointcloud/render/Block.js.map +1 -1
- package/lib/esm/pointcloud/render/DataManager.d.ts +136 -136
- package/lib/esm/pointcloud/render/DataManager.js +338 -338
- package/lib/esm/pointcloud/render/DataManager.js.map +1 -1
- package/lib/esm/pointcloud/render/FrameData.d.ts +30 -30
- package/lib/esm/pointcloud/render/FrameData.js +35 -35
- package/lib/esm/pointcloud/render/FrameData.js.map +1 -1
- package/lib/esm/pointcloud/render/Level.d.ts +90 -90
- package/lib/esm/pointcloud/render/Level.js +115 -115
- package/lib/esm/pointcloud/render/Level.js.map +1 -1
- package/lib/esm/pointcloud/render/TileLoadSorter.d.ts +60 -60
- package/lib/esm/pointcloud/render/TileLoadSorter.js +95 -95
- package/lib/esm/pointcloud/render/TileLoadSorter.js.map +1 -1
- package/lib/esm/pointcloud/render/ViewTree.d.ts +113 -113
- package/lib/esm/pointcloud/render/ViewTree.js +359 -359
- package/lib/esm/pointcloud/render/ViewTree.js.map +1 -1
- package/lib/esm/spatial/crs/CRSEngine.d.ts +55 -55
- package/lib/esm/spatial/crs/CRSEngine.js +89 -89
- package/lib/esm/spatial/crs/CRSEngine.js.map +1 -1
- package/lib/esm/spatial/crs/CRSManager.d.ts +49 -49
- package/lib/esm/spatial/crs/CRSManager.js +105 -105
- package/lib/esm/spatial/crs/CRSManager.js.map +1 -1
- package/lib/esm/spatial/ecrs/Axis.d.ts +77 -77
- package/lib/esm/spatial/ecrs/Axis.js +89 -89
- package/lib/esm/spatial/ecrs/Axis.js.map +1 -1
- package/lib/esm/spatial/ecrs/CRS.d.ts +447 -447
- package/lib/esm/spatial/ecrs/CRS.js +926 -926
- package/lib/esm/spatial/ecrs/CRS.js.map +1 -1
- package/lib/esm/spatial/ecrs/CoordinateSystem.d.ts +142 -142
- package/lib/esm/spatial/ecrs/CoordinateSystem.js +322 -322
- package/lib/esm/spatial/ecrs/CoordinateSystem.js.map +1 -1
- package/lib/esm/spatial/ecrs/DataFileUnit.d.ts +10 -10
- package/lib/esm/spatial/ecrs/DataFileUnit.js +100 -100
- package/lib/esm/spatial/ecrs/DataFileUnit.js.map +1 -1
- package/lib/esm/spatial/ecrs/Datum.d.ts +111 -111
- package/lib/esm/spatial/ecrs/Datum.js +162 -162
- package/lib/esm/spatial/ecrs/Datum.js.map +1 -1
- package/lib/esm/spatial/ecrs/Ellipsoid.d.ts +188 -188
- package/lib/esm/spatial/ecrs/Ellipsoid.js +332 -332
- package/lib/esm/spatial/ecrs/Ellipsoid.js.map +1 -1
- package/lib/esm/spatial/ecrs/OnlineEngine.d.ts +48 -48
- package/lib/esm/spatial/ecrs/OnlineEngine.js +98 -98
- package/lib/esm/spatial/ecrs/OnlineEngine.js.map +1 -1
- package/lib/esm/spatial/ecrs/OnlineRegistry.d.ts +37 -37
- package/lib/esm/spatial/ecrs/OnlineRegistry.js +72 -72
- package/lib/esm/spatial/ecrs/OnlineRegistry.js.map +1 -1
- package/lib/esm/spatial/ecrs/Operation.d.ts +191 -191
- package/lib/esm/spatial/ecrs/Operation.js +341 -341
- package/lib/esm/spatial/ecrs/Operation.js.map +1 -1
- package/lib/esm/spatial/ecrs/OperationMethod.d.ts +71 -71
- package/lib/esm/spatial/ecrs/OperationMethod.js +71 -71
- package/lib/esm/spatial/ecrs/OperationMethod.js.map +1 -1
- package/lib/esm/spatial/ecrs/ParameterValue.d.ts +49 -49
- package/lib/esm/spatial/ecrs/ParameterValue.js +61 -61
- package/lib/esm/spatial/ecrs/ParameterValue.js.map +1 -1
- package/lib/esm/spatial/ecrs/ParameterValueList.d.ts +72 -72
- package/lib/esm/spatial/ecrs/ParameterValueList.js +116 -116
- package/lib/esm/spatial/ecrs/ParameterValueList.js.map +1 -1
- package/lib/esm/spatial/ecrs/PrimeMeridian.d.ts +78 -78
- package/lib/esm/spatial/ecrs/PrimeMeridian.js +104 -104
- package/lib/esm/spatial/ecrs/PrimeMeridian.js.map +1 -1
- package/lib/esm/spatial/ecrs/Registry.d.ts +109 -109
- package/lib/esm/spatial/ecrs/Registry.js +203 -203
- package/lib/esm/spatial/ecrs/Registry.js.map +1 -1
- package/lib/esm/spatial/ecrs/Transform.d.ts +77 -77
- package/lib/esm/spatial/ecrs/Transform.js +392 -392
- package/lib/esm/spatial/ecrs/Transform.js.map +1 -1
- package/lib/esm/spatial/ecrs/Unit.d.ts +170 -170
- package/lib/esm/spatial/ecrs/Unit.js +332 -332
- package/lib/esm/spatial/ecrs/Unit.js.map +1 -1
- package/lib/esm/spatial/ecrs/VerticalModel.d.ts +69 -69
- package/lib/esm/spatial/ecrs/VerticalModel.js +84 -84
- package/lib/esm/spatial/ecrs/VerticalModel.js.map +1 -1
- package/lib/esm/spatial/ecrs/WellKnownText.d.ts +153 -153
- package/lib/esm/spatial/ecrs/WellKnownText.js +490 -490
- package/lib/esm/spatial/ecrs/WellKnownText.js.map +1 -1
- package/lib/esm/spatial/ecrs/WellKnownTextNode.d.ts +69 -69
- package/lib/esm/spatial/ecrs/WellKnownTextNode.js +124 -124
- package/lib/esm/spatial/ecrs/WellKnownTextNode.js.map +1 -1
- package/lib/esm/spatial/ecrs/projection/HotineObliqueMercator.d.ts +101 -101
- package/lib/esm/spatial/ecrs/projection/HotineObliqueMercator.js +158 -158
- package/lib/esm/spatial/ecrs/projection/HotineObliqueMercator.js.map +1 -1
- package/lib/esm/spatial/ecrs/projection/KrovakObliqueConformalConic.d.ts +79 -79
- package/lib/esm/spatial/ecrs/projection/KrovakObliqueConformalConic.js +121 -121
- package/lib/esm/spatial/ecrs/projection/KrovakObliqueConformalConic.js.map +1 -1
- package/lib/esm/spatial/ecrs/projection/KrovakObliqueConformalConicEN.d.ts +47 -47
- package/lib/esm/spatial/ecrs/projection/KrovakObliqueConformalConicEN.js +69 -69
- package/lib/esm/spatial/ecrs/projection/KrovakObliqueConformalConicEN.js.map +1 -1
- package/lib/esm/spatial/ecrs/projection/LambertConical1SP.d.ts +72 -72
- package/lib/esm/spatial/ecrs/projection/LambertConical1SP.js +125 -125
- package/lib/esm/spatial/ecrs/projection/LambertConical1SP.js.map +1 -1
- package/lib/esm/spatial/ecrs/projection/LambertConical2SP.d.ts +120 -120
- package/lib/esm/spatial/ecrs/projection/LambertConical2SP.js +175 -175
- package/lib/esm/spatial/ecrs/projection/LambertConical2SP.js.map +1 -1
- package/lib/esm/spatial/ecrs/projection/Mercator1SP.d.ts +73 -73
- package/lib/esm/spatial/ecrs/projection/Mercator1SP.js +108 -108
- package/lib/esm/spatial/ecrs/projection/Mercator1SP.js.map +1 -1
- package/lib/esm/spatial/ecrs/projection/ObliqueMercator.d.ts +96 -96
- package/lib/esm/spatial/ecrs/projection/ObliqueMercator.js +169 -169
- package/lib/esm/spatial/ecrs/projection/ObliqueMercator.js.map +1 -1
- package/lib/esm/spatial/ecrs/projection/ObliqueStereographic.d.ts +123 -123
- package/lib/esm/spatial/ecrs/projection/ObliqueStereographic.js +204 -204
- package/lib/esm/spatial/ecrs/projection/ObliqueStereographic.js.map +1 -1
- package/lib/esm/spatial/ecrs/projection/TransverseMercator.d.ts +108 -108
- package/lib/esm/spatial/ecrs/projection/TransverseMercator.js +179 -179
- package/lib/esm/spatial/ecrs/projection/TransverseMercator.js.map +1 -1
- package/lib/esm/spatial/ecrs/transformation/PositionVector.d.ts +90 -90
- package/lib/esm/spatial/ecrs/transformation/PositionVector.js +126 -126
- package/lib/esm/spatial/ecrs/transformation/PositionVector.js.map +1 -1
- package/lib/esm/spatial/geom/Bounds.d.ts +33 -33
- package/lib/esm/spatial/geom/Bounds.js +152 -152
- package/lib/esm/spatial/geom/Bounds.js.map +1 -1
- package/lib/esm/spatial/geom/Coordinate.d.ts +61 -61
- package/lib/esm/spatial/geom/Coordinate.js +182 -182
- package/lib/esm/spatial/geom/Coordinate.js.map +1 -1
- package/lib/esm/spatial/geom/Line.d.ts +225 -225
- package/lib/esm/spatial/geom/Line.js +428 -428
- package/lib/esm/spatial/geom/Line.js.map +1 -1
- package/lib/esm/spatial/geom/Transform.d.ts +340 -340
- package/lib/esm/spatial/geom/Transform.js +744 -744
- package/lib/esm/spatial/geom/Transform.js.map +1 -1
- package/lib/esm/system/buffer/ABuffer.d.ts +51 -51
- package/lib/esm/system/buffer/ABuffer.js +86 -86
- package/lib/esm/system/buffer/ABuffer.js.map +1 -1
- package/lib/esm/system/buffer/Float32Buffer.d.ts +46 -46
- package/lib/esm/system/buffer/Float32Buffer.js +56 -56
- package/lib/esm/system/buffer/Float32Buffer.js.map +1 -1
- package/lib/esm/system/buffer/LittleEndian.d.ts +149 -149
- package/lib/esm/system/buffer/LittleEndian.js +299 -299
- package/lib/esm/system/buffer/LittleEndian.js.map +1 -1
- package/lib/esm/system/buffer/Uint16Buffer.d.ts +49 -49
- package/lib/esm/system/buffer/Uint16Buffer.js +61 -61
- package/lib/esm/system/buffer/Uint16Buffer.js.map +1 -1
- package/lib/esm/system/buffer/Uint8Buffer.d.ts +49 -49
- package/lib/esm/system/buffer/Uint8Buffer.js +61 -61
- package/lib/esm/system/buffer/Uint8Buffer.js.map +1 -1
- package/lib/esm/system/collection/AList.d.ts +30 -30
- package/lib/esm/system/collection/AList.js +66 -66
- package/lib/esm/system/collection/AList.js.map +1 -1
- package/lib/esm/system/collection/IntMap.d.ts +18 -18
- package/lib/esm/system/collection/IntMap.js +31 -31
- package/lib/esm/system/collection/IntMap.js.map +1 -1
- package/lib/esm/system/collection/StringMap.d.ts +26 -26
- package/lib/esm/system/collection/StringMap.js +59 -59
- package/lib/esm/system/collection/StringMap.js.map +1 -1
- package/lib/esm/system/io/ABufferInStream.d.ts +29 -29
- package/lib/esm/system/io/ABufferInStream.js +42 -42
- package/lib/esm/system/io/ABufferInStream.js.map +1 -1
- package/lib/esm/system/io/InStream.d.ts +23 -23
- package/lib/esm/system/io/InStream.js +30 -30
- package/lib/esm/system/io/InStream.js.map +1 -1
- package/lib/esm/system/io/OutStream.d.ts +23 -23
- package/lib/esm/system/io/OutStream.js +29 -29
- package/lib/esm/system/io/OutStream.js.map +1 -1
- package/lib/esm/system/runtime/ALong.d.ts +329 -329
- package/lib/esm/system/runtime/ALong.js +683 -683
- package/lib/esm/system/runtime/ALong.js.map +1 -1
- package/lib/esm/system/runtime/ASystem.d.ts +14 -14
- package/lib/esm/system/runtime/ASystem.js +27 -27
- package/lib/esm/system/runtime/ASystem.js.map +1 -1
- package/lib/esm/system/runtime/Downloader.d.ts +17 -17
- package/lib/esm/system/runtime/Downloader.js +34 -34
- package/lib/esm/system/runtime/Downloader.js.map +1 -1
- package/lib/esm/system/runtime/DownloaderNode.d.ts +18 -18
- package/lib/esm/system/runtime/DownloaderNode.js +125 -125
- package/lib/esm/system/runtime/DownloaderNode.js.map +1 -1
- package/lib/esm/system/runtime/DownloaderXhr.d.ts +18 -18
- package/lib/esm/system/runtime/DownloaderXhr.js +127 -127
- package/lib/esm/system/runtime/DownloaderXhr.js.map +1 -1
- package/lib/esm/system/runtime/Message.d.ts +16 -16
- package/lib/esm/system/runtime/Message.js +35 -35
- package/lib/esm/system/runtime/Message.js.map +1 -1
- package/lib/esm/system/runtime/Numbers.d.ts +34 -34
- package/lib/esm/system/runtime/Numbers.js +83 -83
- package/lib/esm/system/runtime/Numbers.js.map +1 -1
- package/lib/esm/system/runtime/Strings.d.ts +49 -49
- package/lib/esm/system/runtime/Strings.js +184 -184
- package/lib/esm/system/runtime/Strings.js.map +1 -1
- package/lib/esm/system/runtime/iComparator.d.ts +12 -12
- package/lib/esm/system/runtime/iComparator.js +8 -8
- package/lib/esm/system/runtime/iComparator.js.map +1 -1
- package/lib/esm/system/storage/CacheList.d.ts +39 -39
- package/lib/esm/system/storage/CacheList.js +76 -76
- package/lib/esm/system/storage/CacheList.js.map +1 -1
- package/lib/esm/system/storage/CachedItem.d.ts +21 -21
- package/lib/esm/system/storage/CachedItem.js +21 -21
- package/lib/esm/system/storage/CachedItem.js.map +1 -1
- package/lib/esm/system/storage/ContentLoader.d.ts +64 -64
- package/lib/esm/system/storage/ContentLoader.js +91 -91
- package/lib/esm/system/storage/ContentLoader.js.map +1 -1
- package/lib/esm/system/storage/FileContent.d.ts +19 -19
- package/lib/esm/system/storage/FileContent.js +20 -20
- package/lib/esm/system/storage/FileContent.js.map +1 -1
- package/lib/esm/system/storage/FileRange.d.ts +20 -20
- package/lib/esm/system/storage/FileRange.js +20 -20
- package/lib/esm/system/storage/FileRange.js.map +1 -1
- package/lib/esm/system/storage/FileStorage.d.ts +44 -44
- package/lib/esm/system/storage/FileStorage.js +58 -58
- package/lib/esm/system/storage/FileStorage.js.map +1 -1
- package/lib/esm/system/storage/NodeFS.d.ts +41 -41
- package/lib/esm/system/storage/NodeFS.js +75 -75
- package/lib/esm/system/storage/NodeFS.js.map +1 -1
- package/lib/esm/system/storage/PageCachedFile.d.ts +54 -54
- package/lib/esm/system/storage/PageCachedFile.js +161 -161
- package/lib/esm/system/storage/PageCachedFile.js.map +1 -1
- package/lib/esm/system/storage/UrlFS.d.ts +53 -53
- package/lib/esm/system/storage/UrlFS.js +110 -110
- package/lib/esm/system/storage/UrlFS.js.map +1 -1
- package/package.json +3 -3
|
@@ -1,67 +1,67 @@
|
|
|
1
|
-
/*---------------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
3
|
-
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
4
|
-
*--------------------------------------------------------------------------------------------*/
|
|
5
|
-
/** @packageDocumentation
|
|
6
|
-
* @module OrbitGT
|
|
7
|
-
*/
|
|
8
|
-
/**
|
|
9
|
-
* Class AList defines a typed list of elements.
|
|
10
|
-
*/
|
|
11
|
-
/** @internal */
|
|
12
|
-
export class AList {
|
|
13
|
-
constructor(capacity = 10) {
|
|
14
|
-
this._elements = [];
|
|
15
|
-
}
|
|
16
|
-
size() {
|
|
17
|
-
return this._elements.length;
|
|
18
|
-
}
|
|
19
|
-
add(element) {
|
|
20
|
-
this._elements.push(element);
|
|
21
|
-
}
|
|
22
|
-
addAt(index, element) {
|
|
23
|
-
this._elements.splice(index, 0, element);
|
|
24
|
-
}
|
|
25
|
-
remove(index) {
|
|
26
|
-
this._elements.splice(index, 1);
|
|
27
|
-
}
|
|
28
|
-
get(index) {
|
|
29
|
-
return this._elements[index];
|
|
30
|
-
}
|
|
31
|
-
indexOf(element) {
|
|
32
|
-
for (let i = 0; i < this._elements.length; i++)
|
|
33
|
-
if (this._elements[i] === element)
|
|
34
|
-
return i;
|
|
35
|
-
return -1;
|
|
36
|
-
}
|
|
37
|
-
contains(element) {
|
|
38
|
-
return (this.indexOf(element) >= 0);
|
|
39
|
-
}
|
|
40
|
-
clear() {
|
|
41
|
-
this._elements.splice(0, this._elements.length);
|
|
42
|
-
}
|
|
43
|
-
sort(comparator) {
|
|
44
|
-
this._elements.sort(function (o1, o2) { return comparator.compare(o1, o2); });
|
|
45
|
-
}
|
|
46
|
-
toArray(holder) {
|
|
47
|
-
return this._elements;
|
|
48
|
-
}
|
|
49
|
-
/**
|
|
50
|
-
* Get an iterator to use in "for of" loops.
|
|
51
|
-
*/
|
|
52
|
-
[Symbol.iterator]() {
|
|
53
|
-
let iteratorList = this._elements;
|
|
54
|
-
let index = 0;
|
|
55
|
-
return {
|
|
56
|
-
next() {
|
|
57
|
-
if (index < iteratorList.length) {
|
|
58
|
-
return { done: false, value: iteratorList[index++] };
|
|
59
|
-
}
|
|
60
|
-
else {
|
|
61
|
-
return { done: true, value: null };
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
};
|
|
65
|
-
}
|
|
66
|
-
}
|
|
1
|
+
/*---------------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
3
|
+
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
4
|
+
*--------------------------------------------------------------------------------------------*/
|
|
5
|
+
/** @packageDocumentation
|
|
6
|
+
* @module OrbitGT
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* Class AList defines a typed list of elements.
|
|
10
|
+
*/
|
|
11
|
+
/** @internal */
|
|
12
|
+
export class AList {
|
|
13
|
+
constructor(capacity = 10) {
|
|
14
|
+
this._elements = [];
|
|
15
|
+
}
|
|
16
|
+
size() {
|
|
17
|
+
return this._elements.length;
|
|
18
|
+
}
|
|
19
|
+
add(element) {
|
|
20
|
+
this._elements.push(element);
|
|
21
|
+
}
|
|
22
|
+
addAt(index, element) {
|
|
23
|
+
this._elements.splice(index, 0, element);
|
|
24
|
+
}
|
|
25
|
+
remove(index) {
|
|
26
|
+
this._elements.splice(index, 1);
|
|
27
|
+
}
|
|
28
|
+
get(index) {
|
|
29
|
+
return this._elements[index];
|
|
30
|
+
}
|
|
31
|
+
indexOf(element) {
|
|
32
|
+
for (let i = 0; i < this._elements.length; i++)
|
|
33
|
+
if (this._elements[i] === element)
|
|
34
|
+
return i;
|
|
35
|
+
return -1;
|
|
36
|
+
}
|
|
37
|
+
contains(element) {
|
|
38
|
+
return (this.indexOf(element) >= 0);
|
|
39
|
+
}
|
|
40
|
+
clear() {
|
|
41
|
+
this._elements.splice(0, this._elements.length);
|
|
42
|
+
}
|
|
43
|
+
sort(comparator) {
|
|
44
|
+
this._elements.sort(function (o1, o2) { return comparator.compare(o1, o2); });
|
|
45
|
+
}
|
|
46
|
+
toArray(holder) {
|
|
47
|
+
return this._elements;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Get an iterator to use in "for of" loops.
|
|
51
|
+
*/
|
|
52
|
+
[Symbol.iterator]() {
|
|
53
|
+
let iteratorList = this._elements;
|
|
54
|
+
let index = 0;
|
|
55
|
+
return {
|
|
56
|
+
next() {
|
|
57
|
+
if (index < iteratorList.length) {
|
|
58
|
+
return { done: false, value: iteratorList[index++] };
|
|
59
|
+
}
|
|
60
|
+
else {
|
|
61
|
+
return { done: true, value: null };
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
67
|
//# sourceMappingURL=AList.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AList.js","sourceRoot":"","sources":["../../../../src/system/collection/AList.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAUH;;GAEG;AACH,gBAAgB;AAChB,MAAM,OAAO,KAAK;IAId,YAAmB,WAAmB,EAAE;QACpC,IAAI,CAAC,SAAS,GAAG,EAAE,CAAC;IACxB,CAAC;IAEM,IAAI;QACP,OAAO,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC;IACjC,CAAC;IAEM,GAAG,CAAC,OAAU;QACjB,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACjC,CAAC;IAEM,KAAK,CAAC,KAAa,EAAE,OAAU;QAClC,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,KAAK,EAAE,CAAC,EAAE,OAAO,CAAC,CAAC;IAC7C,CAAC;IAEM,MAAM,CAAC,KAAY;QACtB,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC;IACpC,CAAC;IAEM,GAAG,CAAC,KAAY;QACnB,OAAO,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;IACjC,CAAC;IAEM,OAAO,CAAC,OAAU;QACrB,KAAK,IAAI,CAAC,GAAW,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC,SAAS,CAAC,MAAM,EAAE,CAAC,EAAE;YAAE,IAAI,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,KAAK,OAAO;gBAAE,OAAO,CAAC,CAAC;QACpG,OAAO,CAAC,CAAC,CAAC;IACd,CAAC;IAEM,QAAQ,CAAC,OAAU;QACtB,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC;IACxC,CAAC;IAEM,KAAK;QACR,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,EAAE,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC;IACpD,CAAC;IAEM,IAAI,CAAC,UAA0B;QAClC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,UAAU,EAAK,EAAE,EAAK,IAAI,OAAO,UAAU,CAAC,OAAO,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IACxF,CAAC;IAEM,OAAO,CAAC,MAAW;QACtB,OAAO,IAAI,CAAC,SAAS,CAAC;IAC1B,CAAC;IAED;;OAEG;IACH,CAAC,MAAM,CAAC,QAAQ,CAAC;QACb,IAAI,YAAY,GAAa,IAAI,CAAC,SAAS,CAAC;QAC5C,IAAI,KAAK,GAAW,CAAC,CAAC;QACtB,OAAO;YACH,IAAI;gBACA,IAAI,KAAK,GAAG,YAAY,CAAC,MAAM,EAAE;oBAC7B,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,YAAY,CAAC,KAAK,EAAE,CAAC,EAAE,CAAA;iBACvD;qBACI;oBACD,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,CAAA;iBACrC;YACL,CAAC;SACJ,CAAA;IACL,CAAC;CACJ","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 OrbitGT\n */\n\ntype int8 = number;\ntype int16 = number;\ntype int32 = number;\ntype float32 = number;\ntype float64 = number;\n\nimport { iComparator } from \"../runtime/iComparator\";\n\n/**\n * Class AList defines a typed list of elements.\n */\n/** @internal */\nexport class AList<T>\n{\n private _elements: Array<T>;\n\n public constructor(capacity: number = 10) {\n this._elements = [];\n }\n\n public size(): int32 {\n return this._elements.length;\n }\n\n public add(element: T): void {\n this._elements.push(element);\n }\n\n public addAt(index: number, element: T): void {\n this._elements.splice(index, 0, element);\n }\n\n public remove(index: int32): void {\n this._elements.splice(index, 1);\n }\n\n public get(index: int32): T {\n return this._elements[index];\n }\n\n public indexOf(element: T): int32 {\n for (let i: number = 0; i < this._elements.length; i++) if (this._elements[i] === element) return i;\n return -1;\n }\n\n public contains(element: T): boolean {\n return (this.indexOf(element) >= 0);\n }\n\n public clear(): void {\n this._elements.splice(0, this._elements.length);\n }\n\n public sort(comparator: iComparator<T>): void {\n this._elements.sort(function (o1: T, o2: T) { return comparator.compare(o1, o2); });\n }\n\n public toArray(holder: any): Array<T> {\n return this._elements;\n }\n\n /**\n * Get an iterator to use in \"for of\" loops.\n */\n [Symbol.iterator]() {\n let iteratorList: Array<T> = this._elements;\n let index: number = 0;\n return {\n next(): IteratorResult<T> {\n if (index < iteratorList.length) {\n return { done: false, value: iteratorList[index++] }\n }\n else {\n return { done: true, value: null }\n }\n }\n }\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"AList.js","sourceRoot":"","sources":["../../../../src/system/collection/AList.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAUH;;GAEG;AACH,gBAAgB;AAChB,MAAM,OAAO,KAAK;IAId,YAAmB,WAAmB,EAAE;QACpC,IAAI,CAAC,SAAS,GAAG,EAAE,CAAC;IACxB,CAAC;IAEM,IAAI;QACP,OAAO,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC;IACjC,CAAC;IAEM,GAAG,CAAC,OAAU;QACjB,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACjC,CAAC;IAEM,KAAK,CAAC,KAAa,EAAE,OAAU;QAClC,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,KAAK,EAAE,CAAC,EAAE,OAAO,CAAC,CAAC;IAC7C,CAAC;IAEM,MAAM,CAAC,KAAY;QACtB,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC;IACpC,CAAC;IAEM,GAAG,CAAC,KAAY;QACnB,OAAO,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;IACjC,CAAC;IAEM,OAAO,CAAC,OAAU;QACrB,KAAK,IAAI,CAAC,GAAW,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC,SAAS,CAAC,MAAM,EAAE,CAAC,EAAE;YAAE,IAAI,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,KAAK,OAAO;gBAAE,OAAO,CAAC,CAAC;QACpG,OAAO,CAAC,CAAC,CAAC;IACd,CAAC;IAEM,QAAQ,CAAC,OAAU;QACtB,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC;IACxC,CAAC;IAEM,KAAK;QACR,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,EAAE,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC;IACpD,CAAC;IAEM,IAAI,CAAC,UAA0B;QAClC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,UAAU,EAAK,EAAE,EAAK,IAAI,OAAO,UAAU,CAAC,OAAO,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IACxF,CAAC;IAEM,OAAO,CAAC,MAAW;QACtB,OAAO,IAAI,CAAC,SAAS,CAAC;IAC1B,CAAC;IAED;;OAEG;IACH,CAAC,MAAM,CAAC,QAAQ,CAAC;QACb,IAAI,YAAY,GAAa,IAAI,CAAC,SAAS,CAAC;QAC5C,IAAI,KAAK,GAAW,CAAC,CAAC;QACtB,OAAO;YACH,IAAI;gBACA,IAAI,KAAK,GAAG,YAAY,CAAC,MAAM,EAAE;oBAC7B,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,YAAY,CAAC,KAAK,EAAE,CAAC,EAAE,CAAA;iBACvD;qBACI;oBACD,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,CAAA;iBACrC;YACL,CAAC;SACJ,CAAA;IACL,CAAC;CACJ","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module OrbitGT\r\n */\r\n\r\ntype int8 = number;\r\ntype int16 = number;\r\ntype int32 = number;\r\ntype float32 = number;\r\ntype float64 = number;\r\n\r\nimport { iComparator } from \"../runtime/iComparator\";\r\n\r\n/**\r\n * Class AList defines a typed list of elements.\r\n */\r\n/** @internal */\r\nexport class AList<T>\r\n{\r\n private _elements: Array<T>;\r\n\r\n public constructor(capacity: number = 10) {\r\n this._elements = [];\r\n }\r\n\r\n public size(): int32 {\r\n return this._elements.length;\r\n }\r\n\r\n public add(element: T): void {\r\n this._elements.push(element);\r\n }\r\n\r\n public addAt(index: number, element: T): void {\r\n this._elements.splice(index, 0, element);\r\n }\r\n\r\n public remove(index: int32): void {\r\n this._elements.splice(index, 1);\r\n }\r\n\r\n public get(index: int32): T {\r\n return this._elements[index];\r\n }\r\n\r\n public indexOf(element: T): int32 {\r\n for (let i: number = 0; i < this._elements.length; i++) if (this._elements[i] === element) return i;\r\n return -1;\r\n }\r\n\r\n public contains(element: T): boolean {\r\n return (this.indexOf(element) >= 0);\r\n }\r\n\r\n public clear(): void {\r\n this._elements.splice(0, this._elements.length);\r\n }\r\n\r\n public sort(comparator: iComparator<T>): void {\r\n this._elements.sort(function (o1: T, o2: T) { return comparator.compare(o1, o2); });\r\n }\r\n\r\n public toArray(holder: any): Array<T> {\r\n return this._elements;\r\n }\r\n\r\n /**\r\n * Get an iterator to use in \"for of\" loops.\r\n */\r\n [Symbol.iterator]() {\r\n let iteratorList: Array<T> = this._elements;\r\n let index: number = 0;\r\n return {\r\n next(): IteratorResult<T> {\r\n if (index < iteratorList.length) {\r\n return { done: false, value: iteratorList[index++] }\r\n }\r\n else {\r\n return { done: true, value: null }\r\n }\r\n }\r\n }\r\n }\r\n}\r\n"]}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
/** @packageDocumentation
|
|
2
|
-
* @module OrbitGT
|
|
3
|
-
*/
|
|
4
|
-
declare type int32 = number;
|
|
5
|
-
/**
|
|
6
|
-
* Class IntMap defines a map of elements in which the keys are integer numbers.
|
|
7
|
-
*/
|
|
8
|
-
/** @internal */
|
|
9
|
-
export declare class IntMap<V> {
|
|
10
|
-
private _map;
|
|
11
|
-
constructor();
|
|
12
|
-
size(): int32;
|
|
13
|
-
contains(key: int32): boolean;
|
|
14
|
-
get(key: int32): V;
|
|
15
|
-
set(key: int32, value: V): void;
|
|
16
|
-
clear(): void;
|
|
17
|
-
}
|
|
18
|
-
export {};
|
|
1
|
+
/** @packageDocumentation
|
|
2
|
+
* @module OrbitGT
|
|
3
|
+
*/
|
|
4
|
+
declare type int32 = number;
|
|
5
|
+
/**
|
|
6
|
+
* Class IntMap defines a map of elements in which the keys are integer numbers.
|
|
7
|
+
*/
|
|
8
|
+
/** @internal */
|
|
9
|
+
export declare class IntMap<V> {
|
|
10
|
+
private _map;
|
|
11
|
+
constructor();
|
|
12
|
+
size(): int32;
|
|
13
|
+
contains(key: int32): boolean;
|
|
14
|
+
get(key: int32): V;
|
|
15
|
+
set(key: int32, value: V): void;
|
|
16
|
+
clear(): void;
|
|
17
|
+
}
|
|
18
|
+
export {};
|
|
19
19
|
//# sourceMappingURL=IntMap.d.ts.map
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
/*---------------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
3
|
-
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
4
|
-
*--------------------------------------------------------------------------------------------*/
|
|
5
|
-
/** @packageDocumentation
|
|
6
|
-
* @module OrbitGT
|
|
7
|
-
*/
|
|
8
|
-
/**
|
|
9
|
-
* Class IntMap defines a map of elements in which the keys are integer numbers.
|
|
10
|
-
*/
|
|
11
|
-
/** @internal */
|
|
12
|
-
export class IntMap {
|
|
13
|
-
constructor() {
|
|
14
|
-
this._map = new Map();
|
|
15
|
-
}
|
|
16
|
-
size() {
|
|
17
|
-
return this._map.size;
|
|
18
|
-
}
|
|
19
|
-
contains(key) {
|
|
20
|
-
return this._map.has(key);
|
|
21
|
-
}
|
|
22
|
-
get(key) {
|
|
23
|
-
return this._map.get(key);
|
|
24
|
-
}
|
|
25
|
-
set(key, value) {
|
|
26
|
-
this._map.set(key, value);
|
|
27
|
-
}
|
|
28
|
-
clear() {
|
|
29
|
-
this._map.clear();
|
|
30
|
-
}
|
|
31
|
-
}
|
|
1
|
+
/*---------------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
3
|
+
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
4
|
+
*--------------------------------------------------------------------------------------------*/
|
|
5
|
+
/** @packageDocumentation
|
|
6
|
+
* @module OrbitGT
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* Class IntMap defines a map of elements in which the keys are integer numbers.
|
|
10
|
+
*/
|
|
11
|
+
/** @internal */
|
|
12
|
+
export class IntMap {
|
|
13
|
+
constructor() {
|
|
14
|
+
this._map = new Map();
|
|
15
|
+
}
|
|
16
|
+
size() {
|
|
17
|
+
return this._map.size;
|
|
18
|
+
}
|
|
19
|
+
contains(key) {
|
|
20
|
+
return this._map.has(key);
|
|
21
|
+
}
|
|
22
|
+
get(key) {
|
|
23
|
+
return this._map.get(key);
|
|
24
|
+
}
|
|
25
|
+
set(key, value) {
|
|
26
|
+
this._map.set(key, value);
|
|
27
|
+
}
|
|
28
|
+
clear() {
|
|
29
|
+
this._map.clear();
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
32
|
//# sourceMappingURL=IntMap.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IntMap.js","sourceRoot":"","sources":["../../../../src/system/collection/IntMap.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAQH;;GAEG;AACH,gBAAgB;AAChB,MAAM,OAAO,MAAM;IAIf;QACI,IAAI,CAAC,IAAI,GAAG,IAAI,GAAG,EAAY,CAAC;IACpC,CAAC;IAEM,IAAI;QACP,OAAO,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC;IAC1B,CAAC;IAEM,QAAQ,CAAC,GAAU;QACtB,OAAO,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IAC9B,CAAC;IAEM,GAAG,CAAC,GAAU;QACjB,OAAO,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IAC9B,CAAC;IAEM,GAAG,CAAC,GAAU,EAAE,KAAQ;QAC3B,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC;IAC9B,CAAC;IAEM,KAAK;QACR,IAAI,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC;IACtB,CAAC;CACJ","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 OrbitGT\n */\n\ntype int8 = number;\ntype int16 = number;\ntype int32 = number;\ntype float32 = number;\ntype float64 = number;\n\n/**\n * Class IntMap defines a map of elements in which the keys are integer numbers.\n */\n/** @internal */\nexport class IntMap<V>\n{\n private _map: Map<int32, V>;\n\n public constructor() {\n this._map = new Map<int32, V>();\n }\n\n public size(): int32 {\n return this._map.size;\n }\n\n public contains(key: int32): boolean {\n return this._map.has(key);\n }\n\n public get(key: int32): V {\n return this._map.get(key);\n }\n\n public set(key: int32, value: V): void {\n this._map.set(key, value);\n }\n\n public clear(): void {\n this._map.clear();\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"IntMap.js","sourceRoot":"","sources":["../../../../src/system/collection/IntMap.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAQH;;GAEG;AACH,gBAAgB;AAChB,MAAM,OAAO,MAAM;IAIf;QACI,IAAI,CAAC,IAAI,GAAG,IAAI,GAAG,EAAY,CAAC;IACpC,CAAC;IAEM,IAAI;QACP,OAAO,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC;IAC1B,CAAC;IAEM,QAAQ,CAAC,GAAU;QACtB,OAAO,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IAC9B,CAAC;IAEM,GAAG,CAAC,GAAU;QACjB,OAAO,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IAC9B,CAAC;IAEM,GAAG,CAAC,GAAU,EAAE,KAAQ;QAC3B,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC;IAC9B,CAAC;IAEM,KAAK;QACR,IAAI,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC;IACtB,CAAC;CACJ","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module OrbitGT\r\n */\r\n\r\ntype int8 = number;\r\ntype int16 = number;\r\ntype int32 = number;\r\ntype float32 = number;\r\ntype float64 = number;\r\n\r\n/**\r\n * Class IntMap defines a map of elements in which the keys are integer numbers.\r\n */\r\n/** @internal */\r\nexport class IntMap<V>\r\n{\r\n private _map: Map<int32, V>;\r\n\r\n public constructor() {\r\n this._map = new Map<int32, V>();\r\n }\r\n\r\n public size(): int32 {\r\n return this._map.size;\r\n }\r\n\r\n public contains(key: int32): boolean {\r\n return this._map.has(key);\r\n }\r\n\r\n public get(key: int32): V {\r\n return this._map.get(key);\r\n }\r\n\r\n public set(key: int32, value: V): void {\r\n this._map.set(key, value);\r\n }\r\n\r\n public clear(): void {\r\n this._map.clear();\r\n }\r\n}\r\n"]}
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
/** @packageDocumentation
|
|
2
|
-
* @module OrbitGT
|
|
3
|
-
*/
|
|
4
|
-
declare type int32 = number;
|
|
5
|
-
import { AList } from "./AList";
|
|
6
|
-
/**
|
|
7
|
-
* Class StringMap defines a map of elements in which the keys are strings.
|
|
8
|
-
*/
|
|
9
|
-
/** @internal */
|
|
10
|
-
export declare class StringMap<V> {
|
|
11
|
-
private _map;
|
|
12
|
-
constructor();
|
|
13
|
-
size(): int32;
|
|
14
|
-
contains(key: string): boolean;
|
|
15
|
-
containsKey(key: string): boolean;
|
|
16
|
-
get(key: string): V;
|
|
17
|
-
set(key: string, value: V): void;
|
|
18
|
-
put(key: string, value: V): void;
|
|
19
|
-
remove(key: string): void;
|
|
20
|
-
clear(): void;
|
|
21
|
-
keysArray(): Array<string>;
|
|
22
|
-
keys(): AList<string>;
|
|
23
|
-
valuesArray(): Array<V>;
|
|
24
|
-
values(): AList<V>;
|
|
25
|
-
}
|
|
26
|
-
export {};
|
|
1
|
+
/** @packageDocumentation
|
|
2
|
+
* @module OrbitGT
|
|
3
|
+
*/
|
|
4
|
+
declare type int32 = number;
|
|
5
|
+
import { AList } from "./AList";
|
|
6
|
+
/**
|
|
7
|
+
* Class StringMap defines a map of elements in which the keys are strings.
|
|
8
|
+
*/
|
|
9
|
+
/** @internal */
|
|
10
|
+
export declare class StringMap<V> {
|
|
11
|
+
private _map;
|
|
12
|
+
constructor();
|
|
13
|
+
size(): int32;
|
|
14
|
+
contains(key: string): boolean;
|
|
15
|
+
containsKey(key: string): boolean;
|
|
16
|
+
get(key: string): V;
|
|
17
|
+
set(key: string, value: V): void;
|
|
18
|
+
put(key: string, value: V): void;
|
|
19
|
+
remove(key: string): void;
|
|
20
|
+
clear(): void;
|
|
21
|
+
keysArray(): Array<string>;
|
|
22
|
+
keys(): AList<string>;
|
|
23
|
+
valuesArray(): Array<V>;
|
|
24
|
+
values(): AList<V>;
|
|
25
|
+
}
|
|
26
|
+
export {};
|
|
27
27
|
//# sourceMappingURL=StringMap.d.ts.map
|
|
@@ -1,60 +1,60 @@
|
|
|
1
|
-
/*---------------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
3
|
-
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
4
|
-
*--------------------------------------------------------------------------------------------*/
|
|
5
|
-
/** @packageDocumentation
|
|
6
|
-
* @module OrbitGT
|
|
7
|
-
*/
|
|
8
|
-
import { AList } from "./AList";
|
|
9
|
-
/**
|
|
10
|
-
* Class StringMap defines a map of elements in which the keys are strings.
|
|
11
|
-
*/
|
|
12
|
-
/** @internal */
|
|
13
|
-
export class StringMap {
|
|
14
|
-
constructor() {
|
|
15
|
-
this._map = new Map();
|
|
16
|
-
}
|
|
17
|
-
size() {
|
|
18
|
-
return this._map.size;
|
|
19
|
-
}
|
|
20
|
-
contains(key) {
|
|
21
|
-
return this._map.has(key);
|
|
22
|
-
}
|
|
23
|
-
containsKey(key) {
|
|
24
|
-
return this._map.has(key);
|
|
25
|
-
}
|
|
26
|
-
get(key) {
|
|
27
|
-
return this._map.get(key);
|
|
28
|
-
}
|
|
29
|
-
set(key, value) {
|
|
30
|
-
this._map.set(key, value);
|
|
31
|
-
}
|
|
32
|
-
put(key, value) {
|
|
33
|
-
this._map.set(key, value);
|
|
34
|
-
}
|
|
35
|
-
remove(key) {
|
|
36
|
-
this._map.delete(key);
|
|
37
|
-
}
|
|
38
|
-
clear() {
|
|
39
|
-
this._map.clear();
|
|
40
|
-
}
|
|
41
|
-
keysArray() {
|
|
42
|
-
return Array.from(this._map.keys());
|
|
43
|
-
}
|
|
44
|
-
keys() {
|
|
45
|
-
let keys = new AList();
|
|
46
|
-
for (let key of this._map.keys())
|
|
47
|
-
keys.add(key);
|
|
48
|
-
return keys;
|
|
49
|
-
}
|
|
50
|
-
valuesArray() {
|
|
51
|
-
return Array.from(this._map.values());
|
|
52
|
-
}
|
|
53
|
-
values() {
|
|
54
|
-
let values = new AList();
|
|
55
|
-
for (let value of this._map.values())
|
|
56
|
-
values.add(value);
|
|
57
|
-
return values;
|
|
58
|
-
}
|
|
59
|
-
}
|
|
1
|
+
/*---------------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
3
|
+
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
4
|
+
*--------------------------------------------------------------------------------------------*/
|
|
5
|
+
/** @packageDocumentation
|
|
6
|
+
* @module OrbitGT
|
|
7
|
+
*/
|
|
8
|
+
import { AList } from "./AList";
|
|
9
|
+
/**
|
|
10
|
+
* Class StringMap defines a map of elements in which the keys are strings.
|
|
11
|
+
*/
|
|
12
|
+
/** @internal */
|
|
13
|
+
export class StringMap {
|
|
14
|
+
constructor() {
|
|
15
|
+
this._map = new Map();
|
|
16
|
+
}
|
|
17
|
+
size() {
|
|
18
|
+
return this._map.size;
|
|
19
|
+
}
|
|
20
|
+
contains(key) {
|
|
21
|
+
return this._map.has(key);
|
|
22
|
+
}
|
|
23
|
+
containsKey(key) {
|
|
24
|
+
return this._map.has(key);
|
|
25
|
+
}
|
|
26
|
+
get(key) {
|
|
27
|
+
return this._map.get(key);
|
|
28
|
+
}
|
|
29
|
+
set(key, value) {
|
|
30
|
+
this._map.set(key, value);
|
|
31
|
+
}
|
|
32
|
+
put(key, value) {
|
|
33
|
+
this._map.set(key, value);
|
|
34
|
+
}
|
|
35
|
+
remove(key) {
|
|
36
|
+
this._map.delete(key);
|
|
37
|
+
}
|
|
38
|
+
clear() {
|
|
39
|
+
this._map.clear();
|
|
40
|
+
}
|
|
41
|
+
keysArray() {
|
|
42
|
+
return Array.from(this._map.keys());
|
|
43
|
+
}
|
|
44
|
+
keys() {
|
|
45
|
+
let keys = new AList();
|
|
46
|
+
for (let key of this._map.keys())
|
|
47
|
+
keys.add(key);
|
|
48
|
+
return keys;
|
|
49
|
+
}
|
|
50
|
+
valuesArray() {
|
|
51
|
+
return Array.from(this._map.values());
|
|
52
|
+
}
|
|
53
|
+
values() {
|
|
54
|
+
let values = new AList();
|
|
55
|
+
for (let value of this._map.values())
|
|
56
|
+
values.add(value);
|
|
57
|
+
return values;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
60
|
//# sourceMappingURL=StringMap.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StringMap.js","sourceRoot":"","sources":["../../../../src/system/collection/StringMap.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAQH,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAEhC;;GAEG;AACH,gBAAgB;AAChB,MAAM,OAAO,SAAS;IAIrB;QACC,IAAI,CAAC,IAAI,GAAG,IAAI,GAAG,EAAa,CAAC;IAClC,CAAC;IAEM,IAAI;QACV,OAAO,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC;IACvB,CAAC;IAEM,QAAQ,CAAC,GAAW;QAC1B,OAAO,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IAC3B,CAAC;IAEM,WAAW,CAAC,GAAW;QAC7B,OAAO,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IAC3B,CAAC;IAEM,GAAG,CAAC,GAAW;QACrB,OAAO,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IAC3B,CAAC;IAEM,GAAG,CAAC,GAAW,EAAE,KAAQ;QAC/B,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC;IAC3B,CAAC;IAEM,GAAG,CAAC,GAAW,EAAE,KAAQ;QAC/B,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC;IAC3B,CAAC;IAEM,MAAM,CAAC,GAAW;QACxB,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;IACvB,CAAC;IAEM,KAAK;QACX,IAAI,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC;IACnB,CAAC;IAEM,SAAS;QACf,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC;IACrC,CAAC;IAEM,IAAI;QACV,IAAI,IAAI,GAAkB,IAAI,KAAK,EAAU,CAAC;QAC9C,KAAK,IAAI,GAAG,IAAI,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE;YAAE,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;QAChD,OAAO,IAAI,CAAC;IACb,CAAC;IAEM,WAAW;QACjB,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC,CAAC;IACvC,CAAC;IAEM,MAAM;QACZ,IAAI,MAAM,GAAa,IAAI,KAAK,EAAK,CAAC;QACtC,KAAK,IAAI,KAAK,IAAI,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE;YAAE,MAAM,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;QACxD,OAAO,MAAM,CAAC;IACf,CAAC;CACD","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 OrbitGT\n */\n\ntype int8 = number;\ntype int16 = number;\ntype int32 = number;\ntype float32 = number;\ntype float64 = number;\n\nimport { AList } from \"./AList\";\n\n/**\n * Class StringMap defines a map of elements in which the keys are strings.\n */\n/** @internal */\nexport class StringMap<V>\n{\n\tprivate _map: Map<string, V>;\n\n\tpublic constructor() {\n\t\tthis._map = new Map<string, V>();\n\t}\n\n\tpublic size(): int32 {\n\t\treturn this._map.size;\n\t}\n\n\tpublic contains(key: string): boolean {\n\t\treturn this._map.has(key);\n\t}\n\n\tpublic containsKey(key: string): boolean {\n\t\treturn this._map.has(key);\n\t}\n\n\tpublic get(key: string): V {\n\t\treturn this._map.get(key);\n\t}\n\n\tpublic set(key: string, value: V): void {\n\t\tthis._map.set(key, value);\n\t}\n\n\tpublic put(key: string, value: V): void {\n\t\tthis._map.set(key, value);\n\t}\n\n\tpublic remove(key: string): void {\n\t\tthis._map.delete(key);\n\t}\n\n\tpublic clear(): void {\n\t\tthis._map.clear();\n\t}\n\n\tpublic keysArray(): Array<string> {\n\t\treturn Array.from(this._map.keys());\n\t}\n\n\tpublic keys(): AList<string> {\n\t\tlet keys: AList<string> = new AList<string>();\n\t\tfor (let key of this._map.keys()) keys.add(key);\n\t\treturn keys;\n\t}\n\n\tpublic valuesArray(): Array<V> {\n\t\treturn Array.from(this._map.values());\n\t}\n\n\tpublic values(): AList<V> {\n\t\tlet values: AList<V> = new AList<V>();\n\t\tfor (let value of this._map.values()) values.add(value);\n\t\treturn values;\n\t}\n}\n"]}
|
|
1
|
+
{"version":3,"file":"StringMap.js","sourceRoot":"","sources":["../../../../src/system/collection/StringMap.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAQH,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAEhC;;GAEG;AACH,gBAAgB;AAChB,MAAM,OAAO,SAAS;IAIrB;QACC,IAAI,CAAC,IAAI,GAAG,IAAI,GAAG,EAAa,CAAC;IAClC,CAAC;IAEM,IAAI;QACV,OAAO,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC;IACvB,CAAC;IAEM,QAAQ,CAAC,GAAW;QAC1B,OAAO,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IAC3B,CAAC;IAEM,WAAW,CAAC,GAAW;QAC7B,OAAO,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IAC3B,CAAC;IAEM,GAAG,CAAC,GAAW;QACrB,OAAO,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IAC3B,CAAC;IAEM,GAAG,CAAC,GAAW,EAAE,KAAQ;QAC/B,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC;IAC3B,CAAC;IAEM,GAAG,CAAC,GAAW,EAAE,KAAQ;QAC/B,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC;IAC3B,CAAC;IAEM,MAAM,CAAC,GAAW;QACxB,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;IACvB,CAAC;IAEM,KAAK;QACX,IAAI,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC;IACnB,CAAC;IAEM,SAAS;QACf,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC;IACrC,CAAC;IAEM,IAAI;QACV,IAAI,IAAI,GAAkB,IAAI,KAAK,EAAU,CAAC;QAC9C,KAAK,IAAI,GAAG,IAAI,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE;YAAE,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;QAChD,OAAO,IAAI,CAAC;IACb,CAAC;IAEM,WAAW;QACjB,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC,CAAC;IACvC,CAAC;IAEM,MAAM;QACZ,IAAI,MAAM,GAAa,IAAI,KAAK,EAAK,CAAC;QACtC,KAAK,IAAI,KAAK,IAAI,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE;YAAE,MAAM,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;QACxD,OAAO,MAAM,CAAC;IACf,CAAC;CACD","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module OrbitGT\r\n */\r\n\r\ntype int8 = number;\r\ntype int16 = number;\r\ntype int32 = number;\r\ntype float32 = number;\r\ntype float64 = number;\r\n\r\nimport { AList } from \"./AList\";\r\n\r\n/**\r\n * Class StringMap defines a map of elements in which the keys are strings.\r\n */\r\n/** @internal */\r\nexport class StringMap<V>\r\n{\r\n\tprivate _map: Map<string, V>;\r\n\r\n\tpublic constructor() {\r\n\t\tthis._map = new Map<string, V>();\r\n\t}\r\n\r\n\tpublic size(): int32 {\r\n\t\treturn this._map.size;\r\n\t}\r\n\r\n\tpublic contains(key: string): boolean {\r\n\t\treturn this._map.has(key);\r\n\t}\r\n\r\n\tpublic containsKey(key: string): boolean {\r\n\t\treturn this._map.has(key);\r\n\t}\r\n\r\n\tpublic get(key: string): V {\r\n\t\treturn this._map.get(key);\r\n\t}\r\n\r\n\tpublic set(key: string, value: V): void {\r\n\t\tthis._map.set(key, value);\r\n\t}\r\n\r\n\tpublic put(key: string, value: V): void {\r\n\t\tthis._map.set(key, value);\r\n\t}\r\n\r\n\tpublic remove(key: string): void {\r\n\t\tthis._map.delete(key);\r\n\t}\r\n\r\n\tpublic clear(): void {\r\n\t\tthis._map.clear();\r\n\t}\r\n\r\n\tpublic keysArray(): Array<string> {\r\n\t\treturn Array.from(this._map.keys());\r\n\t}\r\n\r\n\tpublic keys(): AList<string> {\r\n\t\tlet keys: AList<string> = new AList<string>();\r\n\t\tfor (let key of this._map.keys()) keys.add(key);\r\n\t\treturn keys;\r\n\t}\r\n\r\n\tpublic valuesArray(): Array<V> {\r\n\t\treturn Array.from(this._map.values());\r\n\t}\r\n\r\n\tpublic values(): AList<V> {\r\n\t\tlet values: AList<V> = new AList<V>();\r\n\t\tfor (let value of this._map.values()) values.add(value);\r\n\t\treturn values;\r\n\t}\r\n}\r\n"]}
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
/** @packageDocumentation
|
|
2
|
-
* @module OrbitGT
|
|
3
|
-
*/
|
|
4
|
-
declare type int32 = number;
|
|
5
|
-
import { ABuffer } from "../buffer/ABuffer";
|
|
6
|
-
import { InStream } from "./InStream";
|
|
7
|
-
/**
|
|
8
|
-
* Class ABufferInStream defines a stream on top of a buffer.
|
|
9
|
-
*/
|
|
10
|
-
/** @internal */
|
|
11
|
-
export declare class ABufferInStream extends InStream {
|
|
12
|
-
private _buffer;
|
|
13
|
-
private _offset;
|
|
14
|
-
private _size;
|
|
15
|
-
private _position;
|
|
16
|
-
private _extent;
|
|
17
|
-
/**
|
|
18
|
-
* Create a new stream.
|
|
19
|
-
*/
|
|
20
|
-
constructor(buffer: ABuffer, offset: int32, size: int32);
|
|
21
|
-
getOffset(): int32;
|
|
22
|
-
getSize(): int32;
|
|
23
|
-
getPosition(): int32;
|
|
24
|
-
/**
|
|
25
|
-
* InStream method override
|
|
26
|
-
*/
|
|
27
|
-
read(): int32;
|
|
28
|
-
}
|
|
29
|
-
export {};
|
|
1
|
+
/** @packageDocumentation
|
|
2
|
+
* @module OrbitGT
|
|
3
|
+
*/
|
|
4
|
+
declare type int32 = number;
|
|
5
|
+
import { ABuffer } from "../buffer/ABuffer";
|
|
6
|
+
import { InStream } from "./InStream";
|
|
7
|
+
/**
|
|
8
|
+
* Class ABufferInStream defines a stream on top of a buffer.
|
|
9
|
+
*/
|
|
10
|
+
/** @internal */
|
|
11
|
+
export declare class ABufferInStream extends InStream {
|
|
12
|
+
private _buffer;
|
|
13
|
+
private _offset;
|
|
14
|
+
private _size;
|
|
15
|
+
private _position;
|
|
16
|
+
private _extent;
|
|
17
|
+
/**
|
|
18
|
+
* Create a new stream.
|
|
19
|
+
*/
|
|
20
|
+
constructor(buffer: ABuffer, offset: int32, size: int32);
|
|
21
|
+
getOffset(): int32;
|
|
22
|
+
getSize(): int32;
|
|
23
|
+
getPosition(): int32;
|
|
24
|
+
/**
|
|
25
|
+
* InStream method override
|
|
26
|
+
*/
|
|
27
|
+
read(): int32;
|
|
28
|
+
}
|
|
29
|
+
export {};
|
|
30
30
|
//# sourceMappingURL=ABufferInStream.d.ts.map
|
|
@@ -1,43 +1,43 @@
|
|
|
1
|
-
/*---------------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
3
|
-
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
4
|
-
*--------------------------------------------------------------------------------------------*/
|
|
5
|
-
/** @packageDocumentation
|
|
6
|
-
* @module OrbitGT
|
|
7
|
-
*/
|
|
8
|
-
import { InStream } from "./InStream";
|
|
9
|
-
/**
|
|
10
|
-
* Class ABufferInStream defines a stream on top of a buffer.
|
|
11
|
-
*/
|
|
12
|
-
/** @internal */
|
|
13
|
-
export class ABufferInStream extends InStream {
|
|
14
|
-
/**
|
|
15
|
-
* Create a new stream.
|
|
16
|
-
*/
|
|
17
|
-
constructor(buffer, offset, size) {
|
|
18
|
-
super();
|
|
19
|
-
this._buffer = buffer;
|
|
20
|
-
this._offset = offset;
|
|
21
|
-
this._size = size;
|
|
22
|
-
this._position = this._offset;
|
|
23
|
-
this._extent = this._offset + size;
|
|
24
|
-
}
|
|
25
|
-
getOffset() {
|
|
26
|
-
return this._offset;
|
|
27
|
-
}
|
|
28
|
-
getSize() {
|
|
29
|
-
return this._size;
|
|
30
|
-
}
|
|
31
|
-
getPosition() {
|
|
32
|
-
return this._position;
|
|
33
|
-
}
|
|
34
|
-
/**
|
|
35
|
-
* InStream method override
|
|
36
|
-
*/
|
|
37
|
-
read() {
|
|
38
|
-
if (this._position >= this._extent)
|
|
39
|
-
return -1;
|
|
40
|
-
return this._buffer.get(this._position++);
|
|
41
|
-
}
|
|
42
|
-
}
|
|
1
|
+
/*---------------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
3
|
+
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
4
|
+
*--------------------------------------------------------------------------------------------*/
|
|
5
|
+
/** @packageDocumentation
|
|
6
|
+
* @module OrbitGT
|
|
7
|
+
*/
|
|
8
|
+
import { InStream } from "./InStream";
|
|
9
|
+
/**
|
|
10
|
+
* Class ABufferInStream defines a stream on top of a buffer.
|
|
11
|
+
*/
|
|
12
|
+
/** @internal */
|
|
13
|
+
export class ABufferInStream extends InStream {
|
|
14
|
+
/**
|
|
15
|
+
* Create a new stream.
|
|
16
|
+
*/
|
|
17
|
+
constructor(buffer, offset, size) {
|
|
18
|
+
super();
|
|
19
|
+
this._buffer = buffer;
|
|
20
|
+
this._offset = offset;
|
|
21
|
+
this._size = size;
|
|
22
|
+
this._position = this._offset;
|
|
23
|
+
this._extent = this._offset + size;
|
|
24
|
+
}
|
|
25
|
+
getOffset() {
|
|
26
|
+
return this._offset;
|
|
27
|
+
}
|
|
28
|
+
getSize() {
|
|
29
|
+
return this._size;
|
|
30
|
+
}
|
|
31
|
+
getPosition() {
|
|
32
|
+
return this._position;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* InStream method override
|
|
36
|
+
*/
|
|
37
|
+
read() {
|
|
38
|
+
if (this._position >= this._extent)
|
|
39
|
+
return -1;
|
|
40
|
+
return this._buffer.get(this._position++);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
43
|
//# sourceMappingURL=ABufferInStream.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ABufferInStream.js","sourceRoot":"","sources":["../../../../src/system/io/ABufferInStream.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAWH,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC;;GAEG;AACH,gBAAgB;AAChB,MAAM,OAAO,eAAgB,SAAQ,QAAQ;IAQzC;;SAEK;IACL,YAAmB,MAAe,EAAE,MAAa,EAAE,IAAW;QAC1D,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC;QACtB,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC;QACtB,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC;QAClB,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,OAAO,CAAC;QAC9B,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC;IACvC,CAAC;IAEM,SAAS;QACZ,OAAO,IAAI,CAAC,OAAO,CAAC;IACxB,CAAC;IAEM,OAAO;QACV,OAAO,IAAI,CAAC,KAAK,CAAC;IACtB,CAAC;IAEM,WAAW;QACd,OAAO,IAAI,CAAC,SAAS,CAAC;IAC1B,CAAC;IAED;;SAEK;IACW,IAAI;QAChB,IAAI,IAAI,CAAC,SAAS,IAAI,IAAI,CAAC,OAAO;YAAE,OAAO,CAAC,CAAC,CAAC;QAC9C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,SAAS,EAAE,CAAC,CAAC;IAC9C,CAAC;CACJ","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 OrbitGT\n */\n\n// package orbitgt.system.io;\n\ntype int8 = number;\ntype int16 = number;\ntype int32 = number;\ntype float32 = number;\ntype float64 = number;\n\nimport { ABuffer } from \"../buffer/ABuffer\";\nimport { InStream } from \"./InStream\";\n\n/**\n * Class ABufferInStream defines a stream on top of a buffer.\n */\n/** @internal */\nexport class ABufferInStream extends InStream {\n private _buffer: ABuffer;\n private _offset: int32;\n private _size: int32;\n\n private _position: int32;\n private _extent: int32;\n\n /**\n * Create a new stream.\n */\n public constructor(buffer: ABuffer, offset: int32, size: int32) {\n super();\n this._buffer = buffer;\n this._offset = offset;\n this._size = size;\n this._position = this._offset;\n this._extent = this._offset + size;\n }\n\n public getOffset(): int32 {\n return this._offset;\n }\n\n public getSize(): int32 {\n return this._size;\n }\n\n public getPosition(): int32 {\n return this._position;\n }\n\n /**\n * InStream method override\n */\n public override read(): int32 {\n if (this._position >= this._extent) return -1;\n return this._buffer.get(this._position++);\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"ABufferInStream.js","sourceRoot":"","sources":["../../../../src/system/io/ABufferInStream.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAWH,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC;;GAEG;AACH,gBAAgB;AAChB,MAAM,OAAO,eAAgB,SAAQ,QAAQ;IAQzC;;SAEK;IACL,YAAmB,MAAe,EAAE,MAAa,EAAE,IAAW;QAC1D,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC;QACtB,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC;QACtB,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC;QAClB,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,OAAO,CAAC;QAC9B,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC;IACvC,CAAC;IAEM,SAAS;QACZ,OAAO,IAAI,CAAC,OAAO,CAAC;IACxB,CAAC;IAEM,OAAO;QACV,OAAO,IAAI,CAAC,KAAK,CAAC;IACtB,CAAC;IAEM,WAAW;QACd,OAAO,IAAI,CAAC,SAAS,CAAC;IAC1B,CAAC;IAED;;SAEK;IACW,IAAI;QAChB,IAAI,IAAI,CAAC,SAAS,IAAI,IAAI,CAAC,OAAO;YAAE,OAAO,CAAC,CAAC,CAAC;QAC9C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,SAAS,EAAE,CAAC,CAAC;IAC9C,CAAC;CACJ","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module OrbitGT\r\n */\r\n\r\n// package orbitgt.system.io;\r\n\r\ntype int8 = number;\r\ntype int16 = number;\r\ntype int32 = number;\r\ntype float32 = number;\r\ntype float64 = number;\r\n\r\nimport { ABuffer } from \"../buffer/ABuffer\";\r\nimport { InStream } from \"./InStream\";\r\n\r\n/**\r\n * Class ABufferInStream defines a stream on top of a buffer.\r\n */\r\n/** @internal */\r\nexport class ABufferInStream extends InStream {\r\n private _buffer: ABuffer;\r\n private _offset: int32;\r\n private _size: int32;\r\n\r\n private _position: int32;\r\n private _extent: int32;\r\n\r\n /**\r\n * Create a new stream.\r\n */\r\n public constructor(buffer: ABuffer, offset: int32, size: int32) {\r\n super();\r\n this._buffer = buffer;\r\n this._offset = offset;\r\n this._size = size;\r\n this._position = this._offset;\r\n this._extent = this._offset + size;\r\n }\r\n\r\n public getOffset(): int32 {\r\n return this._offset;\r\n }\r\n\r\n public getSize(): int32 {\r\n return this._size;\r\n }\r\n\r\n public getPosition(): int32 {\r\n return this._position;\r\n }\r\n\r\n /**\r\n * InStream method override\r\n */\r\n public override read(): int32 {\r\n if (this._position >= this._extent) return -1;\r\n return this._buffer.get(this._position++);\r\n }\r\n}\r\n"]}
|