@itwin/core-orbitgt 4.0.0-dev.46 → 4.0.0-dev.48
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,240 +1,240 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*---------------------------------------------------------------------------------------------
|
|
3
|
-
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
4
|
-
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
5
|
-
*--------------------------------------------------------------------------------------------*/
|
|
6
|
-
/** @packageDocumentation
|
|
7
|
-
* @module OrbitGT
|
|
8
|
-
*/
|
|
9
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
exports.ReadRequest = void 0;
|
|
11
|
-
const AList_1 = require("../../system/collection/AList");
|
|
12
|
-
const ALong_1 = require("../../system/runtime/ALong");
|
|
13
|
-
const Strings_1 = require("../../system/runtime/Strings");
|
|
14
|
-
/**
|
|
15
|
-
* Class ReadRequest allows selective reading of information from a point cloud file.
|
|
16
|
-
*
|
|
17
|
-
* @version 1.0 December 2011
|
|
18
|
-
*/
|
|
19
|
-
/** @internal */
|
|
20
|
-
class ReadRequest {
|
|
21
|
-
/**
|
|
22
|
-
* Create a new request to read all data (geometry and attributes) (except deleted points).
|
|
23
|
-
*/
|
|
24
|
-
constructor() {
|
|
25
|
-
/* Read the geometry */
|
|
26
|
-
this._readGeometryAttribute = true;
|
|
27
|
-
/* Read all standard attributes */
|
|
28
|
-
this._readColorAttribute = true;
|
|
29
|
-
this._readIntensityAttribute = true;
|
|
30
|
-
this._readWeightAttribute = true;
|
|
31
|
-
this._thinning = 0;
|
|
32
|
-
/* Read all extra attributes */
|
|
33
|
-
this._extraAttributes = new AList_1.AList();
|
|
34
|
-
this._extraAttributes.add("*");
|
|
35
|
-
/* Default to not reading deleted points */
|
|
36
|
-
this._readDeletedAttribute = false;
|
|
37
|
-
/* Clear */
|
|
38
|
-
this._areaFilter = null;
|
|
39
|
-
this._dataTransactions = 0;
|
|
40
|
-
this._dataSize = ALong_1.ALong.ZERO;
|
|
41
|
-
this._dataReadTime = ALong_1.ALong.ZERO;
|
|
42
|
-
}
|
|
43
|
-
/**
|
|
44
|
-
* Create a new request.
|
|
45
|
-
* @param readColor should the color be read?
|
|
46
|
-
* @param readIntensity should the intensity be read?
|
|
47
|
-
* @param readWeight should the weight be read?
|
|
48
|
-
* @param thinning should thinning be used?
|
|
49
|
-
*/
|
|
50
|
-
static create(readColor, readIntensity, readWeight, thinning) {
|
|
51
|
-
let request = new ReadRequest();
|
|
52
|
-
request._readColorAttribute = readColor;
|
|
53
|
-
request._readIntensityAttribute = readIntensity;
|
|
54
|
-
request._readWeightAttribute = readWeight;
|
|
55
|
-
request._thinning = thinning;
|
|
56
|
-
request._extraAttributes.clear();
|
|
57
|
-
return request;
|
|
58
|
-
}
|
|
59
|
-
/**
|
|
60
|
-
* Create the request to only read the geometry.
|
|
61
|
-
* @return the request.
|
|
62
|
-
*/
|
|
63
|
-
static getGeometry() {
|
|
64
|
-
return ReadRequest.create(false /*color*/, false /*intensity*/, false /*weight*/, 0 /*thinning*/);
|
|
65
|
-
}
|
|
66
|
-
/**
|
|
67
|
-
* Create the request to only read the geometry and colot.
|
|
68
|
-
* @return the request.
|
|
69
|
-
*/
|
|
70
|
-
static getGeometryAndColor() {
|
|
71
|
-
return ReadRequest.create(true /*color*/, false /*intensity*/, false /*weight*/, 0 /*thinning*/);
|
|
72
|
-
}
|
|
73
|
-
/**
|
|
74
|
-
* Create the request to read the full geometry and all attributes.
|
|
75
|
-
* @return the request.
|
|
76
|
-
*/
|
|
77
|
-
static getGeometryAndAttributes() {
|
|
78
|
-
return new ReadRequest();
|
|
79
|
-
}
|
|
80
|
-
/**
|
|
81
|
-
* Should the geometry be read?
|
|
82
|
-
* @return true if it should be read.
|
|
83
|
-
*/
|
|
84
|
-
readGeometry() {
|
|
85
|
-
return this._readGeometryAttribute;
|
|
86
|
-
}
|
|
87
|
-
/**
|
|
88
|
-
* Should the geometry be read?
|
|
89
|
-
* @param read true if it should be read.
|
|
90
|
-
*/
|
|
91
|
-
setReadGeometry(read) {
|
|
92
|
-
this._readGeometryAttribute = read;
|
|
93
|
-
}
|
|
94
|
-
/**
|
|
95
|
-
* Should the color be read?
|
|
96
|
-
* @return true if it should be read.
|
|
97
|
-
*/
|
|
98
|
-
readColor() {
|
|
99
|
-
return this._readColorAttribute;
|
|
100
|
-
}
|
|
101
|
-
/**
|
|
102
|
-
* Should the intensity be read?
|
|
103
|
-
* @return true if it should be read.
|
|
104
|
-
*/
|
|
105
|
-
readIntensity() {
|
|
106
|
-
return this._readIntensityAttribute;
|
|
107
|
-
}
|
|
108
|
-
/**
|
|
109
|
-
* Should the weight be read?
|
|
110
|
-
* @return true if it should be read.
|
|
111
|
-
*/
|
|
112
|
-
readWeight() {
|
|
113
|
-
return this._readWeightAttribute;
|
|
114
|
-
}
|
|
115
|
-
/**
|
|
116
|
-
* Should thinning be used?
|
|
117
|
-
* @return the thinning factor.
|
|
118
|
-
*/
|
|
119
|
-
getThinning() {
|
|
120
|
-
return this._thinning;
|
|
121
|
-
}
|
|
122
|
-
/**
|
|
123
|
-
* Should the deleted points be read?
|
|
124
|
-
* @return true if they should be read.
|
|
125
|
-
*/
|
|
126
|
-
readDeleted() {
|
|
127
|
-
return this._readDeletedAttribute;
|
|
128
|
-
}
|
|
129
|
-
/**
|
|
130
|
-
* Should the deleted points be read?
|
|
131
|
-
* @param read true if they should be read.
|
|
132
|
-
*/
|
|
133
|
-
setReadDeleted(read) {
|
|
134
|
-
this._readDeletedAttribute = read;
|
|
135
|
-
}
|
|
136
|
-
/**
|
|
137
|
-
* Should all extra attributes be read?
|
|
138
|
-
* @return true if all extra attribute should be read.
|
|
139
|
-
*/
|
|
140
|
-
readAllExtraAttributes() {
|
|
141
|
-
if (this._extraAttributes.size() != 1)
|
|
142
|
-
return false;
|
|
143
|
-
let extraAttribute = this._extraAttributes.get(0);
|
|
144
|
-
return Strings_1.Strings.equals(extraAttribute, "*");
|
|
145
|
-
}
|
|
146
|
-
/**
|
|
147
|
-
* Get the list of extra attributes to read.
|
|
148
|
-
* @return the list of extra attributes to read.
|
|
149
|
-
*/
|
|
150
|
-
getExtraAttributes() {
|
|
151
|
-
return this._extraAttributes;
|
|
152
|
-
}
|
|
153
|
-
/**
|
|
154
|
-
* Set the list of extra attributes to read.
|
|
155
|
-
* @param list the list of extra attributes to read.
|
|
156
|
-
*/
|
|
157
|
-
setExtraAttributes(list) {
|
|
158
|
-
this._extraAttributes = list;
|
|
159
|
-
}
|
|
160
|
-
/**
|
|
161
|
-
* Add the name of an extra attribute to read.
|
|
162
|
-
* @param attributeName the name of the attribute to read.
|
|
163
|
-
* @return this request for convenient chaining.
|
|
164
|
-
*/
|
|
165
|
-
addExtraAttribute(attributeName) {
|
|
166
|
-
this._extraAttributes.add(attributeName);
|
|
167
|
-
return this;
|
|
168
|
-
}
|
|
169
|
-
/**
|
|
170
|
-
* Get the area filter.
|
|
171
|
-
* @return the area filter.
|
|
172
|
-
*/
|
|
173
|
-
getAreaFilter() {
|
|
174
|
-
return this._areaFilter;
|
|
175
|
-
}
|
|
176
|
-
/**
|
|
177
|
-
* Set the area filter.
|
|
178
|
-
* @param filter the new area filter.
|
|
179
|
-
*/
|
|
180
|
-
setAreaFilter(filter) {
|
|
181
|
-
this._areaFilter = filter;
|
|
182
|
-
}
|
|
183
|
-
/**
|
|
184
|
-
* Add a number of bytes to the data size.
|
|
185
|
-
* @param size the number of bytes.
|
|
186
|
-
*/
|
|
187
|
-
addDataSize(size) {
|
|
188
|
-
this._dataSize = this._dataSize.addInt(size);
|
|
189
|
-
this._dataTransactions++;
|
|
190
|
-
}
|
|
191
|
-
/**
|
|
192
|
-
* Get the data size of the request.
|
|
193
|
-
* @return the number of bytes.
|
|
194
|
-
*/
|
|
195
|
-
getDataSize() {
|
|
196
|
-
return this._dataSize;
|
|
197
|
-
}
|
|
198
|
-
/**
|
|
199
|
-
* Clear the data size of the request.
|
|
200
|
-
*/
|
|
201
|
-
clearDataSize() {
|
|
202
|
-
this._dataSize = ALong_1.ALong.ZERO;
|
|
203
|
-
this._dataTransactions = 0;
|
|
204
|
-
}
|
|
205
|
-
/**
|
|
206
|
-
* Get the number of data transactions.
|
|
207
|
-
* @return the number of data transactions.
|
|
208
|
-
*/
|
|
209
|
-
getDataTransactions() {
|
|
210
|
-
return this._dataTransactions;
|
|
211
|
-
}
|
|
212
|
-
/**
|
|
213
|
-
* Add a number of nanoseconds to the data read time.
|
|
214
|
-
* @param time the number of nanoseconds.
|
|
215
|
-
*/
|
|
216
|
-
addDataReadTime(time) {
|
|
217
|
-
this._dataReadTime = this._dataReadTime.add(time);
|
|
218
|
-
}
|
|
219
|
-
/**
|
|
220
|
-
* Get the data read time of the request.
|
|
221
|
-
* @return the number of nanoseconds.
|
|
222
|
-
*/
|
|
223
|
-
getDataReadTime() {
|
|
224
|
-
return this._dataReadTime;
|
|
225
|
-
}
|
|
226
|
-
/**
|
|
227
|
-
* Clear the data read time of the request.
|
|
228
|
-
*/
|
|
229
|
-
clearDataReadTime() {
|
|
230
|
-
this._dataReadTime = ALong_1.ALong.ZERO;
|
|
231
|
-
}
|
|
232
|
-
}
|
|
233
|
-
exports.ReadRequest = ReadRequest;
|
|
234
|
-
/** The request to only read the geometry */
|
|
235
|
-
ReadRequest.READ_GEOMETRY = ReadRequest.getGeometry();
|
|
236
|
-
/** The request to only read the geometry and color */
|
|
237
|
-
ReadRequest.READ_GEOMETRY_AND_COLOR = ReadRequest.getGeometryAndColor();
|
|
238
|
-
/** The request to read geometry and attributes */
|
|
239
|
-
ReadRequest.READ_ALL = ReadRequest.getGeometryAndAttributes();
|
|
1
|
+
"use strict";
|
|
2
|
+
/*---------------------------------------------------------------------------------------------
|
|
3
|
+
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
4
|
+
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
5
|
+
*--------------------------------------------------------------------------------------------*/
|
|
6
|
+
/** @packageDocumentation
|
|
7
|
+
* @module OrbitGT
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.ReadRequest = void 0;
|
|
11
|
+
const AList_1 = require("../../system/collection/AList");
|
|
12
|
+
const ALong_1 = require("../../system/runtime/ALong");
|
|
13
|
+
const Strings_1 = require("../../system/runtime/Strings");
|
|
14
|
+
/**
|
|
15
|
+
* Class ReadRequest allows selective reading of information from a point cloud file.
|
|
16
|
+
*
|
|
17
|
+
* @version 1.0 December 2011
|
|
18
|
+
*/
|
|
19
|
+
/** @internal */
|
|
20
|
+
class ReadRequest {
|
|
21
|
+
/**
|
|
22
|
+
* Create a new request to read all data (geometry and attributes) (except deleted points).
|
|
23
|
+
*/
|
|
24
|
+
constructor() {
|
|
25
|
+
/* Read the geometry */
|
|
26
|
+
this._readGeometryAttribute = true;
|
|
27
|
+
/* Read all standard attributes */
|
|
28
|
+
this._readColorAttribute = true;
|
|
29
|
+
this._readIntensityAttribute = true;
|
|
30
|
+
this._readWeightAttribute = true;
|
|
31
|
+
this._thinning = 0;
|
|
32
|
+
/* Read all extra attributes */
|
|
33
|
+
this._extraAttributes = new AList_1.AList();
|
|
34
|
+
this._extraAttributes.add("*");
|
|
35
|
+
/* Default to not reading deleted points */
|
|
36
|
+
this._readDeletedAttribute = false;
|
|
37
|
+
/* Clear */
|
|
38
|
+
this._areaFilter = null;
|
|
39
|
+
this._dataTransactions = 0;
|
|
40
|
+
this._dataSize = ALong_1.ALong.ZERO;
|
|
41
|
+
this._dataReadTime = ALong_1.ALong.ZERO;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Create a new request.
|
|
45
|
+
* @param readColor should the color be read?
|
|
46
|
+
* @param readIntensity should the intensity be read?
|
|
47
|
+
* @param readWeight should the weight be read?
|
|
48
|
+
* @param thinning should thinning be used?
|
|
49
|
+
*/
|
|
50
|
+
static create(readColor, readIntensity, readWeight, thinning) {
|
|
51
|
+
let request = new ReadRequest();
|
|
52
|
+
request._readColorAttribute = readColor;
|
|
53
|
+
request._readIntensityAttribute = readIntensity;
|
|
54
|
+
request._readWeightAttribute = readWeight;
|
|
55
|
+
request._thinning = thinning;
|
|
56
|
+
request._extraAttributes.clear();
|
|
57
|
+
return request;
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Create the request to only read the geometry.
|
|
61
|
+
* @return the request.
|
|
62
|
+
*/
|
|
63
|
+
static getGeometry() {
|
|
64
|
+
return ReadRequest.create(false /*color*/, false /*intensity*/, false /*weight*/, 0 /*thinning*/);
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Create the request to only read the geometry and colot.
|
|
68
|
+
* @return the request.
|
|
69
|
+
*/
|
|
70
|
+
static getGeometryAndColor() {
|
|
71
|
+
return ReadRequest.create(true /*color*/, false /*intensity*/, false /*weight*/, 0 /*thinning*/);
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* Create the request to read the full geometry and all attributes.
|
|
75
|
+
* @return the request.
|
|
76
|
+
*/
|
|
77
|
+
static getGeometryAndAttributes() {
|
|
78
|
+
return new ReadRequest();
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Should the geometry be read?
|
|
82
|
+
* @return true if it should be read.
|
|
83
|
+
*/
|
|
84
|
+
readGeometry() {
|
|
85
|
+
return this._readGeometryAttribute;
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* Should the geometry be read?
|
|
89
|
+
* @param read true if it should be read.
|
|
90
|
+
*/
|
|
91
|
+
setReadGeometry(read) {
|
|
92
|
+
this._readGeometryAttribute = read;
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* Should the color be read?
|
|
96
|
+
* @return true if it should be read.
|
|
97
|
+
*/
|
|
98
|
+
readColor() {
|
|
99
|
+
return this._readColorAttribute;
|
|
100
|
+
}
|
|
101
|
+
/**
|
|
102
|
+
* Should the intensity be read?
|
|
103
|
+
* @return true if it should be read.
|
|
104
|
+
*/
|
|
105
|
+
readIntensity() {
|
|
106
|
+
return this._readIntensityAttribute;
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* Should the weight be read?
|
|
110
|
+
* @return true if it should be read.
|
|
111
|
+
*/
|
|
112
|
+
readWeight() {
|
|
113
|
+
return this._readWeightAttribute;
|
|
114
|
+
}
|
|
115
|
+
/**
|
|
116
|
+
* Should thinning be used?
|
|
117
|
+
* @return the thinning factor.
|
|
118
|
+
*/
|
|
119
|
+
getThinning() {
|
|
120
|
+
return this._thinning;
|
|
121
|
+
}
|
|
122
|
+
/**
|
|
123
|
+
* Should the deleted points be read?
|
|
124
|
+
* @return true if they should be read.
|
|
125
|
+
*/
|
|
126
|
+
readDeleted() {
|
|
127
|
+
return this._readDeletedAttribute;
|
|
128
|
+
}
|
|
129
|
+
/**
|
|
130
|
+
* Should the deleted points be read?
|
|
131
|
+
* @param read true if they should be read.
|
|
132
|
+
*/
|
|
133
|
+
setReadDeleted(read) {
|
|
134
|
+
this._readDeletedAttribute = read;
|
|
135
|
+
}
|
|
136
|
+
/**
|
|
137
|
+
* Should all extra attributes be read?
|
|
138
|
+
* @return true if all extra attribute should be read.
|
|
139
|
+
*/
|
|
140
|
+
readAllExtraAttributes() {
|
|
141
|
+
if (this._extraAttributes.size() != 1)
|
|
142
|
+
return false;
|
|
143
|
+
let extraAttribute = this._extraAttributes.get(0);
|
|
144
|
+
return Strings_1.Strings.equals(extraAttribute, "*");
|
|
145
|
+
}
|
|
146
|
+
/**
|
|
147
|
+
* Get the list of extra attributes to read.
|
|
148
|
+
* @return the list of extra attributes to read.
|
|
149
|
+
*/
|
|
150
|
+
getExtraAttributes() {
|
|
151
|
+
return this._extraAttributes;
|
|
152
|
+
}
|
|
153
|
+
/**
|
|
154
|
+
* Set the list of extra attributes to read.
|
|
155
|
+
* @param list the list of extra attributes to read.
|
|
156
|
+
*/
|
|
157
|
+
setExtraAttributes(list) {
|
|
158
|
+
this._extraAttributes = list;
|
|
159
|
+
}
|
|
160
|
+
/**
|
|
161
|
+
* Add the name of an extra attribute to read.
|
|
162
|
+
* @param attributeName the name of the attribute to read.
|
|
163
|
+
* @return this request for convenient chaining.
|
|
164
|
+
*/
|
|
165
|
+
addExtraAttribute(attributeName) {
|
|
166
|
+
this._extraAttributes.add(attributeName);
|
|
167
|
+
return this;
|
|
168
|
+
}
|
|
169
|
+
/**
|
|
170
|
+
* Get the area filter.
|
|
171
|
+
* @return the area filter.
|
|
172
|
+
*/
|
|
173
|
+
getAreaFilter() {
|
|
174
|
+
return this._areaFilter;
|
|
175
|
+
}
|
|
176
|
+
/**
|
|
177
|
+
* Set the area filter.
|
|
178
|
+
* @param filter the new area filter.
|
|
179
|
+
*/
|
|
180
|
+
setAreaFilter(filter) {
|
|
181
|
+
this._areaFilter = filter;
|
|
182
|
+
}
|
|
183
|
+
/**
|
|
184
|
+
* Add a number of bytes to the data size.
|
|
185
|
+
* @param size the number of bytes.
|
|
186
|
+
*/
|
|
187
|
+
addDataSize(size) {
|
|
188
|
+
this._dataSize = this._dataSize.addInt(size);
|
|
189
|
+
this._dataTransactions++;
|
|
190
|
+
}
|
|
191
|
+
/**
|
|
192
|
+
* Get the data size of the request.
|
|
193
|
+
* @return the number of bytes.
|
|
194
|
+
*/
|
|
195
|
+
getDataSize() {
|
|
196
|
+
return this._dataSize;
|
|
197
|
+
}
|
|
198
|
+
/**
|
|
199
|
+
* Clear the data size of the request.
|
|
200
|
+
*/
|
|
201
|
+
clearDataSize() {
|
|
202
|
+
this._dataSize = ALong_1.ALong.ZERO;
|
|
203
|
+
this._dataTransactions = 0;
|
|
204
|
+
}
|
|
205
|
+
/**
|
|
206
|
+
* Get the number of data transactions.
|
|
207
|
+
* @return the number of data transactions.
|
|
208
|
+
*/
|
|
209
|
+
getDataTransactions() {
|
|
210
|
+
return this._dataTransactions;
|
|
211
|
+
}
|
|
212
|
+
/**
|
|
213
|
+
* Add a number of nanoseconds to the data read time.
|
|
214
|
+
* @param time the number of nanoseconds.
|
|
215
|
+
*/
|
|
216
|
+
addDataReadTime(time) {
|
|
217
|
+
this._dataReadTime = this._dataReadTime.add(time);
|
|
218
|
+
}
|
|
219
|
+
/**
|
|
220
|
+
* Get the data read time of the request.
|
|
221
|
+
* @return the number of nanoseconds.
|
|
222
|
+
*/
|
|
223
|
+
getDataReadTime() {
|
|
224
|
+
return this._dataReadTime;
|
|
225
|
+
}
|
|
226
|
+
/**
|
|
227
|
+
* Clear the data read time of the request.
|
|
228
|
+
*/
|
|
229
|
+
clearDataReadTime() {
|
|
230
|
+
this._dataReadTime = ALong_1.ALong.ZERO;
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
exports.ReadRequest = ReadRequest;
|
|
234
|
+
/** The request to only read the geometry */
|
|
235
|
+
ReadRequest.READ_GEOMETRY = ReadRequest.getGeometry();
|
|
236
|
+
/** The request to only read the geometry and color */
|
|
237
|
+
ReadRequest.READ_GEOMETRY_AND_COLOR = ReadRequest.getGeometryAndColor();
|
|
238
|
+
/** The request to read geometry and attributes */
|
|
239
|
+
ReadRequest.READ_ALL = ReadRequest.getGeometryAndAttributes();
|
|
240
240
|
//# sourceMappingURL=ReadRequest.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReadRequest.js","sourceRoot":"","sources":["../../../../src/pointcloud/model/ReadRequest.ts"],"names":[],"mappings":"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","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.pointcloud.model;\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 { Bounds } from \"../../spatial/geom/Bounds\";\r\nimport { AList } from \"../../system/collection/AList\";\r\nimport { ALong } from \"../../system/runtime/ALong\";\r\nimport { Strings } from \"../../system/runtime/Strings\";\r\n\r\n/**\r\n * Class ReadRequest allows selective reading of information from a point cloud file.\r\n *\r\n * @version 1.0 December 2011\r\n */\r\n/** @internal */\r\nexport class ReadRequest {\r\n /** The request to only read the geometry */\r\n public static readonly READ_GEOMETRY: ReadRequest = ReadRequest.getGeometry();\r\n /** The request to only read the geometry and color */\r\n public static readonly READ_GEOMETRY_AND_COLOR: ReadRequest = ReadRequest.getGeometryAndColor();\r\n /** The request to read geometry and attributes */\r\n public static readonly READ_ALL: ReadRequest = ReadRequest.getGeometryAndAttributes();\r\n\r\n /** Should the geometry be read? */\r\n private _readGeometryAttribute: boolean;\r\n /** Should the color be read? */\r\n private _readColorAttribute: boolean;\r\n /** Should the intensity be read? */\r\n private _readIntensityAttribute: boolean;\r\n /** Should the weight be read? */\r\n private _readWeightAttribute: boolean;\r\n /** Should thinning be used? */\r\n private _thinning: int32;\r\n /** The list of extra attributes that should be read */\r\n private _extraAttributes: AList<string>;\r\n /** Should the deleted points be read as well? */\r\n private _readDeletedAttribute: boolean;\r\n\r\n /** An optional 2D area to filter */\r\n private _areaFilter: Bounds;\r\n\r\n /** The number read transactions */\r\n private _dataTransactions: int32;\r\n /** The number of bytes read for this request */\r\n private _dataSize: ALong;\r\n /** The number of nanoseconds spent reading data */\r\n private _dataReadTime: ALong;\r\n\r\n /**\r\n * Create a new request to read all data (geometry and attributes) (except deleted points).\r\n */\r\n public constructor() {\r\n /* Read the geometry */\r\n this._readGeometryAttribute = true;\r\n /* Read all standard attributes */\r\n this._readColorAttribute = true;\r\n this._readIntensityAttribute = true;\r\n this._readWeightAttribute = true;\r\n this._thinning = 0;\r\n /* Read all extra attributes */\r\n this._extraAttributes = new AList<string>();\r\n this._extraAttributes.add(\"*\");\r\n /* Default to not reading deleted points */\r\n this._readDeletedAttribute = false;\r\n /* Clear */\r\n this._areaFilter = null;\r\n this._dataTransactions = 0;\r\n this._dataSize = ALong.ZERO;\r\n this._dataReadTime = ALong.ZERO;\r\n }\r\n\r\n /**\r\n * Create a new request.\r\n * @param readColor should the color be read?\r\n * @param readIntensity should the intensity be read?\r\n * @param readWeight should the weight be read?\r\n * @param thinning should thinning be used?\r\n */\r\n public static create(readColor: boolean, readIntensity: boolean, readWeight: boolean, thinning: int32): ReadRequest {\r\n let request: ReadRequest = new ReadRequest();\r\n request._readColorAttribute = readColor;\r\n request._readIntensityAttribute = readIntensity;\r\n request._readWeightAttribute = readWeight;\r\n request._thinning = thinning;\r\n request._extraAttributes.clear();\r\n return request;\r\n }\r\n\r\n /**\r\n * Create the request to only read the geometry.\r\n * @return the request.\r\n */\r\n public static getGeometry(): ReadRequest {\r\n return ReadRequest.create(false/*color*/, false/*intensity*/, false/*weight*/, 0/*thinning*/);\r\n }\r\n\r\n /**\r\n * Create the request to only read the geometry and colot.\r\n * @return the request.\r\n */\r\n public static getGeometryAndColor(): ReadRequest {\r\n return ReadRequest.create(true/*color*/, false/*intensity*/, false/*weight*/, 0/*thinning*/);\r\n }\r\n\r\n /**\r\n * Create the request to read the full geometry and all attributes.\r\n * @return the request.\r\n */\r\n public static getGeometryAndAttributes(): ReadRequest {\r\n return new ReadRequest();\r\n }\r\n\r\n /**\r\n * Should the geometry be read?\r\n * @return true if it should be read.\r\n */\r\n public readGeometry(): boolean {\r\n return this._readGeometryAttribute;\r\n }\r\n\r\n /**\r\n * Should the geometry be read?\r\n * @param read true if it should be read.\r\n */\r\n public setReadGeometry(read: boolean): void {\r\n this._readGeometryAttribute = read;\r\n }\r\n\r\n /**\r\n * Should the color be read?\r\n * @return true if it should be read.\r\n */\r\n public readColor(): boolean {\r\n return this._readColorAttribute;\r\n }\r\n\r\n /**\r\n * Should the intensity be read?\r\n * @return true if it should be read.\r\n */\r\n public readIntensity(): boolean {\r\n return this._readIntensityAttribute;\r\n }\r\n\r\n /**\r\n * Should the weight be read?\r\n * @return true if it should be read.\r\n */\r\n public readWeight(): boolean {\r\n return this._readWeightAttribute;\r\n }\r\n\r\n /**\r\n * Should thinning be used?\r\n * @return the thinning factor.\r\n */\r\n public getThinning(): int32 {\r\n return this._thinning;\r\n }\r\n\r\n /**\r\n * Should the deleted points be read?\r\n * @return true if they should be read.\r\n */\r\n public readDeleted(): boolean {\r\n return this._readDeletedAttribute;\r\n }\r\n\r\n /**\r\n * Should the deleted points be read?\r\n * @param read true if they should be read.\r\n */\r\n public setReadDeleted(read: boolean): void {\r\n this._readDeletedAttribute = read;\r\n }\r\n\r\n /**\r\n * Should all extra attributes be read?\r\n * @return true if all extra attribute should be read.\r\n */\r\n public readAllExtraAttributes(): boolean {\r\n if (this._extraAttributes.size() != 1) return false;\r\n let extraAttribute: string = this._extraAttributes.get(0);\r\n return Strings.equals(extraAttribute, \"*\");\r\n }\r\n\r\n /**\r\n * Get the list of extra attributes to read.\r\n * @return the list of extra attributes to read.\r\n */\r\n public getExtraAttributes(): AList<string> {\r\n return this._extraAttributes;\r\n }\r\n\r\n /**\r\n * Set the list of extra attributes to read.\r\n * @param list the list of extra attributes to read.\r\n */\r\n public setExtraAttributes(list: AList<string>): void {\r\n this._extraAttributes = list;\r\n }\r\n\r\n /**\r\n * Add the name of an extra attribute to read.\r\n * @param attributeName the name of the attribute to read.\r\n * @return this request for convenient chaining.\r\n */\r\n public addExtraAttribute(attributeName: string): ReadRequest {\r\n this._extraAttributes.add(attributeName);\r\n return this;\r\n }\r\n\r\n /**\r\n * Get the area filter.\r\n * @return the area filter.\r\n */\r\n public getAreaFilter(): Bounds {\r\n return this._areaFilter;\r\n }\r\n\r\n /**\r\n * Set the area filter.\r\n * @param filter the new area filter.\r\n */\r\n public setAreaFilter(filter: Bounds): void {\r\n this._areaFilter = filter;\r\n }\r\n\r\n /**\r\n * Add a number of bytes to the data size.\r\n * @param size the number of bytes.\r\n */\r\n public addDataSize(size: int32): void {\r\n this._dataSize = this._dataSize.addInt(size);\r\n this._dataTransactions++;\r\n }\r\n\r\n /**\r\n * Get the data size of the request.\r\n * @return the number of bytes.\r\n */\r\n public getDataSize(): ALong {\r\n return this._dataSize;\r\n }\r\n\r\n /**\r\n * Clear the data size of the request.\r\n */\r\n public clearDataSize(): void {\r\n this._dataSize = ALong.ZERO;\r\n this._dataTransactions = 0;\r\n }\r\n\r\n /**\r\n * Get the number of data transactions.\r\n * @return the number of data transactions.\r\n */\r\n public getDataTransactions(): int32 {\r\n return this._dataTransactions;\r\n }\r\n\r\n /**\r\n * Add a number of nanoseconds to the data read time.\r\n * @param time the number of nanoseconds.\r\n */\r\n public addDataReadTime(time: ALong): void {\r\n this._dataReadTime = this._dataReadTime.add(time);\r\n }\r\n\r\n /**\r\n * Get the data read time of the request.\r\n * @return the number of nanoseconds.\r\n */\r\n public getDataReadTime(): ALong {\r\n return this._dataReadTime;\r\n }\r\n\r\n /**\r\n * Clear the data read time of the request.\r\n */\r\n public clearDataReadTime(): void {\r\n this._dataReadTime = ALong.ZERO;\r\n }\r\n}\r\n"]}
|
|
1
|
+
{"version":3,"file":"ReadRequest.js","sourceRoot":"","sources":["../../../../src/pointcloud/model/ReadRequest.ts"],"names":[],"mappings":"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","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.pointcloud.model;\n\ntype int8 = number;\ntype int16 = number;\ntype int32 = number;\ntype float32 = number;\ntype float64 = number;\n\nimport { Bounds } from \"../../spatial/geom/Bounds\";\nimport { AList } from \"../../system/collection/AList\";\nimport { ALong } from \"../../system/runtime/ALong\";\nimport { Strings } from \"../../system/runtime/Strings\";\n\n/**\n * Class ReadRequest allows selective reading of information from a point cloud file.\n *\n * @version 1.0 December 2011\n */\n/** @internal */\nexport class ReadRequest {\n /** The request to only read the geometry */\n public static readonly READ_GEOMETRY: ReadRequest = ReadRequest.getGeometry();\n /** The request to only read the geometry and color */\n public static readonly READ_GEOMETRY_AND_COLOR: ReadRequest = ReadRequest.getGeometryAndColor();\n /** The request to read geometry and attributes */\n public static readonly READ_ALL: ReadRequest = ReadRequest.getGeometryAndAttributes();\n\n /** Should the geometry be read? */\n private _readGeometryAttribute: boolean;\n /** Should the color be read? */\n private _readColorAttribute: boolean;\n /** Should the intensity be read? */\n private _readIntensityAttribute: boolean;\n /** Should the weight be read? */\n private _readWeightAttribute: boolean;\n /** Should thinning be used? */\n private _thinning: int32;\n /** The list of extra attributes that should be read */\n private _extraAttributes: AList<string>;\n /** Should the deleted points be read as well? */\n private _readDeletedAttribute: boolean;\n\n /** An optional 2D area to filter */\n private _areaFilter: Bounds;\n\n /** The number read transactions */\n private _dataTransactions: int32;\n /** The number of bytes read for this request */\n private _dataSize: ALong;\n /** The number of nanoseconds spent reading data */\n private _dataReadTime: ALong;\n\n /**\n * Create a new request to read all data (geometry and attributes) (except deleted points).\n */\n public constructor() {\n /* Read the geometry */\n this._readGeometryAttribute = true;\n /* Read all standard attributes */\n this._readColorAttribute = true;\n this._readIntensityAttribute = true;\n this._readWeightAttribute = true;\n this._thinning = 0;\n /* Read all extra attributes */\n this._extraAttributes = new AList<string>();\n this._extraAttributes.add(\"*\");\n /* Default to not reading deleted points */\n this._readDeletedAttribute = false;\n /* Clear */\n this._areaFilter = null;\n this._dataTransactions = 0;\n this._dataSize = ALong.ZERO;\n this._dataReadTime = ALong.ZERO;\n }\n\n /**\n * Create a new request.\n * @param readColor should the color be read?\n * @param readIntensity should the intensity be read?\n * @param readWeight should the weight be read?\n * @param thinning should thinning be used?\n */\n public static create(readColor: boolean, readIntensity: boolean, readWeight: boolean, thinning: int32): ReadRequest {\n let request: ReadRequest = new ReadRequest();\n request._readColorAttribute = readColor;\n request._readIntensityAttribute = readIntensity;\n request._readWeightAttribute = readWeight;\n request._thinning = thinning;\n request._extraAttributes.clear();\n return request;\n }\n\n /**\n * Create the request to only read the geometry.\n * @return the request.\n */\n public static getGeometry(): ReadRequest {\n return ReadRequest.create(false/*color*/, false/*intensity*/, false/*weight*/, 0/*thinning*/);\n }\n\n /**\n * Create the request to only read the geometry and colot.\n * @return the request.\n */\n public static getGeometryAndColor(): ReadRequest {\n return ReadRequest.create(true/*color*/, false/*intensity*/, false/*weight*/, 0/*thinning*/);\n }\n\n /**\n * Create the request to read the full geometry and all attributes.\n * @return the request.\n */\n public static getGeometryAndAttributes(): ReadRequest {\n return new ReadRequest();\n }\n\n /**\n * Should the geometry be read?\n * @return true if it should be read.\n */\n public readGeometry(): boolean {\n return this._readGeometryAttribute;\n }\n\n /**\n * Should the geometry be read?\n * @param read true if it should be read.\n */\n public setReadGeometry(read: boolean): void {\n this._readGeometryAttribute = read;\n }\n\n /**\n * Should the color be read?\n * @return true if it should be read.\n */\n public readColor(): boolean {\n return this._readColorAttribute;\n }\n\n /**\n * Should the intensity be read?\n * @return true if it should be read.\n */\n public readIntensity(): boolean {\n return this._readIntensityAttribute;\n }\n\n /**\n * Should the weight be read?\n * @return true if it should be read.\n */\n public readWeight(): boolean {\n return this._readWeightAttribute;\n }\n\n /**\n * Should thinning be used?\n * @return the thinning factor.\n */\n public getThinning(): int32 {\n return this._thinning;\n }\n\n /**\n * Should the deleted points be read?\n * @return true if they should be read.\n */\n public readDeleted(): boolean {\n return this._readDeletedAttribute;\n }\n\n /**\n * Should the deleted points be read?\n * @param read true if they should be read.\n */\n public setReadDeleted(read: boolean): void {\n this._readDeletedAttribute = read;\n }\n\n /**\n * Should all extra attributes be read?\n * @return true if all extra attribute should be read.\n */\n public readAllExtraAttributes(): boolean {\n if (this._extraAttributes.size() != 1) return false;\n let extraAttribute: string = this._extraAttributes.get(0);\n return Strings.equals(extraAttribute, \"*\");\n }\n\n /**\n * Get the list of extra attributes to read.\n * @return the list of extra attributes to read.\n */\n public getExtraAttributes(): AList<string> {\n return this._extraAttributes;\n }\n\n /**\n * Set the list of extra attributes to read.\n * @param list the list of extra attributes to read.\n */\n public setExtraAttributes(list: AList<string>): void {\n this._extraAttributes = list;\n }\n\n /**\n * Add the name of an extra attribute to read.\n * @param attributeName the name of the attribute to read.\n * @return this request for convenient chaining.\n */\n public addExtraAttribute(attributeName: string): ReadRequest {\n this._extraAttributes.add(attributeName);\n return this;\n }\n\n /**\n * Get the area filter.\n * @return the area filter.\n */\n public getAreaFilter(): Bounds {\n return this._areaFilter;\n }\n\n /**\n * Set the area filter.\n * @param filter the new area filter.\n */\n public setAreaFilter(filter: Bounds): void {\n this._areaFilter = filter;\n }\n\n /**\n * Add a number of bytes to the data size.\n * @param size the number of bytes.\n */\n public addDataSize(size: int32): void {\n this._dataSize = this._dataSize.addInt(size);\n this._dataTransactions++;\n }\n\n /**\n * Get the data size of the request.\n * @return the number of bytes.\n */\n public getDataSize(): ALong {\n return this._dataSize;\n }\n\n /**\n * Clear the data size of the request.\n */\n public clearDataSize(): void {\n this._dataSize = ALong.ZERO;\n this._dataTransactions = 0;\n }\n\n /**\n * Get the number of data transactions.\n * @return the number of data transactions.\n */\n public getDataTransactions(): int32 {\n return this._dataTransactions;\n }\n\n /**\n * Add a number of nanoseconds to the data read time.\n * @param time the number of nanoseconds.\n */\n public addDataReadTime(time: ALong): void {\n this._dataReadTime = this._dataReadTime.add(time);\n }\n\n /**\n * Get the data read time of the request.\n * @return the number of nanoseconds.\n */\n public getDataReadTime(): ALong {\n return this._dataReadTime;\n }\n\n /**\n * Clear the data read time of the request.\n */\n public clearDataReadTime(): void {\n this._dataReadTime = ALong.ZERO;\n }\n}\n"]}
|
|
@@ -1,41 +1,41 @@
|
|
|
1
|
-
/** @packageDocumentation
|
|
2
|
-
* @module OrbitGT
|
|
3
|
-
*/
|
|
4
|
-
declare type float64 = number;
|
|
5
|
-
import { AttributeValue } from "./AttributeValue";
|
|
6
|
-
import { PointAttribute } from "./PointAttribute";
|
|
7
|
-
/**
|
|
8
|
-
* Class StandardAttributes defines some common attributes for pointclouds.
|
|
9
|
-
*
|
|
10
|
-
* @version 1.0 October 2013
|
|
11
|
-
*/
|
|
12
|
-
/** @internal */
|
|
13
|
-
export declare class StandardAttributes {
|
|
14
|
-
/** The standard "color" attribute */
|
|
15
|
-
static readonly COLOR: PointAttribute;
|
|
16
|
-
/** The standard "intensity" attribute */
|
|
17
|
-
static readonly INTENSITY: PointAttribute;
|
|
18
|
-
/** The standard "gps-time" attribute */
|
|
19
|
-
static readonly GPS_TIME: PointAttribute;
|
|
20
|
-
/** The standard "weight" attribute */
|
|
21
|
-
static readonly WEIGHT: PointAttribute;
|
|
22
|
-
/** The standard "clearance" attribute */
|
|
23
|
-
static readonly CLEARANCE: PointAttribute;
|
|
24
|
-
/** The standard "rutting" attribute */
|
|
25
|
-
static readonly RUTTING: PointAttribute;
|
|
26
|
-
/** The standard "color-by" attribute */
|
|
27
|
-
static readonly COLOR_BY: PointAttribute;
|
|
28
|
-
/** The default "gps-time" attribute value */
|
|
29
|
-
static readonly DEFAULT_GPS_TIME: AttributeValue;
|
|
30
|
-
/** The "adjusted" gps time offset (The offset moves the time back to near zero to improve floating point resolution).
|
|
31
|
-
See the "GPS Time Type" field in "LAS SPECIFICATION VERSION 1.3" */
|
|
32
|
-
static readonly GPS_TIME_OFFSET: float64;
|
|
33
|
-
/** The number of seconds in a week (7*24*3600) */
|
|
34
|
-
static readonly GPS_WEEK_SECONDS: float64;
|
|
35
|
-
/**
|
|
36
|
-
* No instances.
|
|
37
|
-
*/
|
|
38
|
-
private constructor();
|
|
39
|
-
}
|
|
40
|
-
export {};
|
|
1
|
+
/** @packageDocumentation
|
|
2
|
+
* @module OrbitGT
|
|
3
|
+
*/
|
|
4
|
+
declare type float64 = number;
|
|
5
|
+
import { AttributeValue } from "./AttributeValue";
|
|
6
|
+
import { PointAttribute } from "./PointAttribute";
|
|
7
|
+
/**
|
|
8
|
+
* Class StandardAttributes defines some common attributes for pointclouds.
|
|
9
|
+
*
|
|
10
|
+
* @version 1.0 October 2013
|
|
11
|
+
*/
|
|
12
|
+
/** @internal */
|
|
13
|
+
export declare class StandardAttributes {
|
|
14
|
+
/** The standard "color" attribute */
|
|
15
|
+
static readonly COLOR: PointAttribute;
|
|
16
|
+
/** The standard "intensity" attribute */
|
|
17
|
+
static readonly INTENSITY: PointAttribute;
|
|
18
|
+
/** The standard "gps-time" attribute */
|
|
19
|
+
static readonly GPS_TIME: PointAttribute;
|
|
20
|
+
/** The standard "weight" attribute */
|
|
21
|
+
static readonly WEIGHT: PointAttribute;
|
|
22
|
+
/** The standard "clearance" attribute */
|
|
23
|
+
static readonly CLEARANCE: PointAttribute;
|
|
24
|
+
/** The standard "rutting" attribute */
|
|
25
|
+
static readonly RUTTING: PointAttribute;
|
|
26
|
+
/** The standard "color-by" attribute */
|
|
27
|
+
static readonly COLOR_BY: PointAttribute;
|
|
28
|
+
/** The default "gps-time" attribute value */
|
|
29
|
+
static readonly DEFAULT_GPS_TIME: AttributeValue;
|
|
30
|
+
/** The "adjusted" gps time offset (The offset moves the time back to near zero to improve floating point resolution).
|
|
31
|
+
See the "GPS Time Type" field in "LAS SPECIFICATION VERSION 1.3" */
|
|
32
|
+
static readonly GPS_TIME_OFFSET: float64;
|
|
33
|
+
/** The number of seconds in a week (7*24*3600) */
|
|
34
|
+
static readonly GPS_WEEK_SECONDS: float64;
|
|
35
|
+
/**
|
|
36
|
+
* No instances.
|
|
37
|
+
*/
|
|
38
|
+
private constructor();
|
|
39
|
+
}
|
|
40
|
+
export {};
|
|
41
41
|
//# sourceMappingURL=StandardAttributes.d.ts.map
|