@itwin/core-orbitgt 3.0.0-dev.77 → 3.0.0-dev.81
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/{core-orbitgt.d.ts → cjs/core-orbitgt.d.ts} +0 -0
- package/lib/cjs/core-orbitgt.d.ts.map +1 -0
- package/lib/{core-orbitgt.js → cjs/core-orbitgt.js} +0 -0
- package/lib/cjs/core-orbitgt.js.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/format/opc/AttributeMask.d.ts +0 -0
- package/lib/cjs/pointcloud/format/opc/AttributeMask.d.ts.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/format/opc/AttributeMask.js +0 -0
- package/lib/cjs/pointcloud/format/opc/AttributeMask.js.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/format/opc/AttributeReader.d.ts +0 -0
- package/lib/cjs/pointcloud/format/opc/AttributeReader.d.ts.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/format/opc/AttributeReader.js +0 -0
- package/lib/cjs/pointcloud/format/opc/AttributeReader.js.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/format/opc/BlockRecord.d.ts +0 -0
- package/lib/cjs/pointcloud/format/opc/BlockRecord.d.ts.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/format/opc/BlockRecord.js +0 -0
- package/lib/cjs/pointcloud/format/opc/BlockRecord.js.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/format/opc/ContainerFile.d.ts +0 -0
- package/lib/cjs/pointcloud/format/opc/ContainerFile.d.ts.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/format/opc/ContainerFile.js +0 -0
- package/lib/cjs/pointcloud/format/opc/ContainerFile.js.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/format/opc/ContainerFilePart.d.ts +0 -0
- package/lib/cjs/pointcloud/format/opc/ContainerFilePart.d.ts.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/format/opc/ContainerFilePart.js +0 -0
- package/lib/cjs/pointcloud/format/opc/ContainerFilePart.js.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/format/opc/DirectoryReader.d.ts +0 -0
- package/lib/cjs/pointcloud/format/opc/DirectoryReader.d.ts.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/format/opc/DirectoryReader.js +0 -0
- package/lib/cjs/pointcloud/format/opc/DirectoryReader.js.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/format/opc/DirectoryRecord.d.ts +0 -0
- package/lib/cjs/pointcloud/format/opc/DirectoryRecord.d.ts.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/format/opc/DirectoryRecord.js +0 -0
- package/lib/cjs/pointcloud/format/opc/DirectoryRecord.js.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/format/opc/EmbeddedAttributeReader.d.ts +0 -0
- package/lib/cjs/pointcloud/format/opc/EmbeddedAttributeReader.d.ts.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/format/opc/EmbeddedAttributeReader.js +0 -0
- package/lib/cjs/pointcloud/format/opc/EmbeddedAttributeReader.js.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/format/opc/FileAccess.d.ts +0 -0
- package/lib/cjs/pointcloud/format/opc/FileAccess.d.ts.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/format/opc/FileAccess.js +0 -0
- package/lib/cjs/pointcloud/format/opc/FileAccess.js.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/format/opc/FileReader.d.ts +0 -0
- package/lib/cjs/pointcloud/format/opc/FileReader.d.ts.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/format/opc/FileReader.js +0 -0
- package/lib/cjs/pointcloud/format/opc/FileReader.js.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/format/opc/FileRecord.d.ts +0 -0
- package/lib/cjs/pointcloud/format/opc/FileRecord.d.ts.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/format/opc/FileRecord.js +0 -0
- package/lib/cjs/pointcloud/format/opc/FileRecord.js.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/format/opc/GeometryReader.d.ts +0 -0
- package/lib/cjs/pointcloud/format/opc/GeometryReader.d.ts.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/format/opc/GeometryReader.js +0 -0
- package/lib/cjs/pointcloud/format/opc/GeometryReader.js.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/format/opc/GeometryRecord.d.ts +0 -0
- package/lib/cjs/pointcloud/format/opc/GeometryRecord.d.ts.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/format/opc/GeometryRecord.js +0 -0
- package/lib/cjs/pointcloud/format/opc/GeometryRecord.js.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/format/opc/OPCReader.d.ts +0 -0
- package/lib/cjs/pointcloud/format/opc/OPCReader.d.ts.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/format/opc/OPCReader.js +0 -0
- package/lib/cjs/pointcloud/format/opc/OPCReader.js.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/format/opc/PointReader.d.ts +0 -0
- package/lib/cjs/pointcloud/format/opc/PointReader.d.ts.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/format/opc/PointReader.js +0 -0
- package/lib/cjs/pointcloud/format/opc/PointReader.js.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/format/opc/TileReadBuffer.d.ts +0 -0
- package/lib/cjs/pointcloud/format/opc/TileReadBuffer.d.ts.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/format/opc/TileReadBuffer.js +0 -0
- package/lib/cjs/pointcloud/format/opc/TileReadBuffer.js.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/format/opc/TileRecord.d.ts +0 -0
- package/lib/cjs/pointcloud/format/opc/TileRecord.d.ts.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/format/opc/TileRecord.js +0 -0
- package/lib/cjs/pointcloud/format/opc/TileRecord.js.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/model/AttributeTypes.d.ts +0 -0
- package/lib/cjs/pointcloud/model/AttributeTypes.d.ts.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/model/AttributeTypes.js +0 -0
- package/lib/cjs/pointcloud/model/AttributeTypes.js.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/model/AttributeValue.d.ts +0 -0
- package/lib/cjs/pointcloud/model/AttributeValue.d.ts.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/model/AttributeValue.js +0 -0
- package/lib/cjs/pointcloud/model/AttributeValue.js.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/model/BlockIndex.d.ts +0 -0
- package/lib/cjs/pointcloud/model/BlockIndex.d.ts.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/model/BlockIndex.js +0 -0
- package/lib/cjs/pointcloud/model/BlockIndex.js.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/model/CloudPoint.d.ts +0 -0
- package/lib/cjs/pointcloud/model/CloudPoint.d.ts.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/model/CloudPoint.js +0 -0
- package/lib/cjs/pointcloud/model/CloudPoint.js.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/model/Grid.d.ts +0 -0
- package/lib/cjs/pointcloud/model/Grid.d.ts.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/model/Grid.js +0 -0
- package/lib/cjs/pointcloud/model/Grid.js.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/model/GridIndex.d.ts +0 -0
- package/lib/cjs/pointcloud/model/GridIndex.d.ts.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/model/GridIndex.js +0 -0
- package/lib/cjs/pointcloud/model/GridIndex.js.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/model/PointAttribute.d.ts +0 -0
- package/lib/cjs/pointcloud/model/PointAttribute.d.ts.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/model/PointAttribute.js +0 -0
- package/lib/cjs/pointcloud/model/PointAttribute.js.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/model/PointCloudReader.d.ts +0 -0
- package/lib/cjs/pointcloud/model/PointCloudReader.d.ts.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/model/PointCloudReader.js +0 -0
- package/lib/cjs/pointcloud/model/PointCloudReader.js.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/model/PointData.d.ts +0 -0
- package/lib/cjs/pointcloud/model/PointData.d.ts.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/model/PointData.js +0 -0
- package/lib/cjs/pointcloud/model/PointData.js.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/model/PointDataRaw.d.ts +0 -0
- package/lib/cjs/pointcloud/model/PointDataRaw.d.ts.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/model/PointDataRaw.js +0 -0
- package/lib/cjs/pointcloud/model/PointDataRaw.js.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/model/ReadRequest.d.ts +0 -0
- package/lib/cjs/pointcloud/model/ReadRequest.d.ts.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/model/ReadRequest.js +0 -0
- package/lib/cjs/pointcloud/model/ReadRequest.js.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/model/StandardAttributes.d.ts +0 -0
- package/lib/cjs/pointcloud/model/StandardAttributes.d.ts.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/model/StandardAttributes.js +0 -0
- package/lib/cjs/pointcloud/model/StandardAttributes.js.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/model/TileIndex.d.ts +0 -0
- package/lib/cjs/pointcloud/model/TileIndex.d.ts.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/model/TileIndex.js +0 -0
- package/lib/cjs/pointcloud/model/TileIndex.js.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/render/AViewRequest.d.ts +0 -0
- package/lib/cjs/pointcloud/render/AViewRequest.d.ts.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/render/AViewRequest.js +0 -0
- package/lib/cjs/pointcloud/render/AViewRequest.js.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/render/Block.d.ts +0 -0
- package/lib/cjs/pointcloud/render/Block.d.ts.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/render/Block.js +0 -0
- package/lib/cjs/pointcloud/render/Block.js.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/render/DataManager.d.ts +0 -0
- package/lib/cjs/pointcloud/render/DataManager.d.ts.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/render/DataManager.js +0 -0
- package/lib/cjs/pointcloud/render/DataManager.js.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/render/FrameData.d.ts +0 -0
- package/lib/cjs/pointcloud/render/FrameData.d.ts.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/render/FrameData.js +0 -0
- package/lib/cjs/pointcloud/render/FrameData.js.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/render/Level.d.ts +0 -0
- package/lib/cjs/pointcloud/render/Level.d.ts.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/render/Level.js +0 -0
- package/lib/cjs/pointcloud/render/Level.js.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/render/TileLoadSorter.d.ts +0 -0
- package/lib/cjs/pointcloud/render/TileLoadSorter.d.ts.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/render/TileLoadSorter.js +0 -0
- package/lib/cjs/pointcloud/render/TileLoadSorter.js.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/render/ViewTree.d.ts +0 -0
- package/lib/cjs/pointcloud/render/ViewTree.d.ts.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/render/ViewTree.js +0 -0
- package/lib/cjs/pointcloud/render/ViewTree.js.map +1 -0
- package/lib/{spatial → cjs/spatial}/crs/CRSEngine.d.ts +0 -0
- package/lib/cjs/spatial/crs/CRSEngine.d.ts.map +1 -0
- package/lib/{spatial → cjs/spatial}/crs/CRSEngine.js +0 -0
- package/lib/cjs/spatial/crs/CRSEngine.js.map +1 -0
- package/lib/{spatial → cjs/spatial}/crs/CRSManager.d.ts +0 -0
- package/lib/cjs/spatial/crs/CRSManager.d.ts.map +1 -0
- package/lib/{spatial → cjs/spatial}/crs/CRSManager.js +0 -0
- package/lib/cjs/spatial/crs/CRSManager.js.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/Axis.d.ts +0 -0
- package/lib/cjs/spatial/ecrs/Axis.d.ts.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/Axis.js +0 -0
- package/lib/cjs/spatial/ecrs/Axis.js.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/CRS.d.ts +0 -0
- package/lib/cjs/spatial/ecrs/CRS.d.ts.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/CRS.js +0 -0
- package/lib/cjs/spatial/ecrs/CRS.js.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/CoordinateSystem.d.ts +0 -0
- package/lib/cjs/spatial/ecrs/CoordinateSystem.d.ts.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/CoordinateSystem.js +0 -0
- package/lib/cjs/spatial/ecrs/CoordinateSystem.js.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/DataFileUnit.d.ts +0 -0
- package/lib/cjs/spatial/ecrs/DataFileUnit.d.ts.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/DataFileUnit.js +0 -0
- package/lib/cjs/spatial/ecrs/DataFileUnit.js.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/Datum.d.ts +0 -0
- package/lib/cjs/spatial/ecrs/Datum.d.ts.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/Datum.js +0 -0
- package/lib/cjs/spatial/ecrs/Datum.js.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/Ellipsoid.d.ts +0 -0
- package/lib/cjs/spatial/ecrs/Ellipsoid.d.ts.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/Ellipsoid.js +0 -0
- package/lib/cjs/spatial/ecrs/Ellipsoid.js.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/OnlineEngine.d.ts +0 -0
- package/lib/cjs/spatial/ecrs/OnlineEngine.d.ts.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/OnlineEngine.js +0 -0
- package/lib/cjs/spatial/ecrs/OnlineEngine.js.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/OnlineRegistry.d.ts +0 -0
- package/lib/cjs/spatial/ecrs/OnlineRegistry.d.ts.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/OnlineRegistry.js +0 -0
- package/lib/cjs/spatial/ecrs/OnlineRegistry.js.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/Operation.d.ts +0 -0
- package/lib/cjs/spatial/ecrs/Operation.d.ts.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/Operation.js +0 -0
- package/lib/cjs/spatial/ecrs/Operation.js.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/OperationMethod.d.ts +0 -0
- package/lib/cjs/spatial/ecrs/OperationMethod.d.ts.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/OperationMethod.js +0 -0
- package/lib/cjs/spatial/ecrs/OperationMethod.js.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/ParameterValue.d.ts +0 -0
- package/lib/cjs/spatial/ecrs/ParameterValue.d.ts.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/ParameterValue.js +0 -0
- package/lib/cjs/spatial/ecrs/ParameterValue.js.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/ParameterValueList.d.ts +0 -0
- package/lib/cjs/spatial/ecrs/ParameterValueList.d.ts.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/ParameterValueList.js +0 -0
- package/lib/cjs/spatial/ecrs/ParameterValueList.js.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/PrimeMeridian.d.ts +0 -0
- package/lib/cjs/spatial/ecrs/PrimeMeridian.d.ts.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/PrimeMeridian.js +0 -0
- package/lib/cjs/spatial/ecrs/PrimeMeridian.js.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/Registry.d.ts +0 -0
- package/lib/cjs/spatial/ecrs/Registry.d.ts.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/Registry.js +0 -0
- package/lib/cjs/spatial/ecrs/Registry.js.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/Transform.d.ts +0 -0
- package/lib/cjs/spatial/ecrs/Transform.d.ts.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/Transform.js +0 -0
- package/lib/cjs/spatial/ecrs/Transform.js.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/Unit.d.ts +0 -0
- package/lib/cjs/spatial/ecrs/Unit.d.ts.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/Unit.js +0 -0
- package/lib/cjs/spatial/ecrs/Unit.js.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/VerticalModel.d.ts +0 -0
- package/lib/cjs/spatial/ecrs/VerticalModel.d.ts.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/VerticalModel.js +0 -0
- package/lib/cjs/spatial/ecrs/VerticalModel.js.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/WellKnownText.d.ts +0 -0
- package/lib/cjs/spatial/ecrs/WellKnownText.d.ts.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/WellKnownText.js +0 -0
- package/lib/cjs/spatial/ecrs/WellKnownText.js.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/WellKnownTextNode.d.ts +0 -0
- package/lib/cjs/spatial/ecrs/WellKnownTextNode.d.ts.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/WellKnownTextNode.js +0 -0
- package/lib/cjs/spatial/ecrs/WellKnownTextNode.js.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/projection/HotineObliqueMercator.d.ts +0 -0
- package/lib/cjs/spatial/ecrs/projection/HotineObliqueMercator.d.ts.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/projection/HotineObliqueMercator.js +0 -0
- package/lib/cjs/spatial/ecrs/projection/HotineObliqueMercator.js.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/projection/KrovakObliqueConformalConic.d.ts +0 -0
- package/lib/cjs/spatial/ecrs/projection/KrovakObliqueConformalConic.d.ts.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/projection/KrovakObliqueConformalConic.js +0 -0
- package/lib/cjs/spatial/ecrs/projection/KrovakObliqueConformalConic.js.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/projection/KrovakObliqueConformalConicEN.d.ts +0 -0
- package/lib/cjs/spatial/ecrs/projection/KrovakObliqueConformalConicEN.d.ts.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/projection/KrovakObliqueConformalConicEN.js +0 -0
- package/lib/cjs/spatial/ecrs/projection/KrovakObliqueConformalConicEN.js.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/projection/LambertConical1SP.d.ts +0 -0
- package/lib/cjs/spatial/ecrs/projection/LambertConical1SP.d.ts.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/projection/LambertConical1SP.js +0 -0
- package/lib/cjs/spatial/ecrs/projection/LambertConical1SP.js.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/projection/LambertConical2SP.d.ts +0 -0
- package/lib/cjs/spatial/ecrs/projection/LambertConical2SP.d.ts.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/projection/LambertConical2SP.js +0 -0
- package/lib/cjs/spatial/ecrs/projection/LambertConical2SP.js.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/projection/Mercator1SP.d.ts +0 -0
- package/lib/cjs/spatial/ecrs/projection/Mercator1SP.d.ts.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/projection/Mercator1SP.js +0 -0
- package/lib/cjs/spatial/ecrs/projection/Mercator1SP.js.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/projection/ObliqueMercator.d.ts +0 -0
- package/lib/cjs/spatial/ecrs/projection/ObliqueMercator.d.ts.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/projection/ObliqueMercator.js +0 -0
- package/lib/cjs/spatial/ecrs/projection/ObliqueMercator.js.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/projection/ObliqueStereographic.d.ts +0 -0
- package/lib/cjs/spatial/ecrs/projection/ObliqueStereographic.d.ts.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/projection/ObliqueStereographic.js +0 -0
- package/lib/cjs/spatial/ecrs/projection/ObliqueStereographic.js.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/projection/TransverseMercator.d.ts +0 -0
- package/lib/cjs/spatial/ecrs/projection/TransverseMercator.d.ts.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/projection/TransverseMercator.js +0 -0
- package/lib/cjs/spatial/ecrs/projection/TransverseMercator.js.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/transformation/PositionVector.d.ts +0 -0
- package/lib/cjs/spatial/ecrs/transformation/PositionVector.d.ts.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/transformation/PositionVector.js +0 -0
- package/lib/cjs/spatial/ecrs/transformation/PositionVector.js.map +1 -0
- package/lib/{spatial → cjs/spatial}/geom/Bounds.d.ts +0 -0
- package/lib/cjs/spatial/geom/Bounds.d.ts.map +1 -0
- package/lib/{spatial → cjs/spatial}/geom/Bounds.js +0 -0
- package/lib/cjs/spatial/geom/Bounds.js.map +1 -0
- package/lib/{spatial → cjs/spatial}/geom/Coordinate.d.ts +0 -0
- package/lib/cjs/spatial/geom/Coordinate.d.ts.map +1 -0
- package/lib/{spatial → cjs/spatial}/geom/Coordinate.js +0 -0
- package/lib/cjs/spatial/geom/Coordinate.js.map +1 -0
- package/lib/{spatial → cjs/spatial}/geom/Line.d.ts +0 -0
- package/lib/cjs/spatial/geom/Line.d.ts.map +1 -0
- package/lib/{spatial → cjs/spatial}/geom/Line.js +0 -0
- package/lib/cjs/spatial/geom/Line.js.map +1 -0
- package/lib/{spatial → cjs/spatial}/geom/Transform.d.ts +0 -0
- package/lib/cjs/spatial/geom/Transform.d.ts.map +1 -0
- package/lib/{spatial → cjs/spatial}/geom/Transform.js +0 -0
- package/lib/cjs/spatial/geom/Transform.js.map +1 -0
- package/lib/{system → cjs/system}/buffer/ABuffer.d.ts +0 -0
- package/lib/cjs/system/buffer/ABuffer.d.ts.map +1 -0
- package/lib/{system → cjs/system}/buffer/ABuffer.js +0 -0
- package/lib/cjs/system/buffer/ABuffer.js.map +1 -0
- package/lib/{system → cjs/system}/buffer/Float32Buffer.d.ts +0 -0
- package/lib/cjs/system/buffer/Float32Buffer.d.ts.map +1 -0
- package/lib/{system → cjs/system}/buffer/Float32Buffer.js +0 -0
- package/lib/cjs/system/buffer/Float32Buffer.js.map +1 -0
- package/lib/{system → cjs/system}/buffer/LittleEndian.d.ts +0 -0
- package/lib/cjs/system/buffer/LittleEndian.d.ts.map +1 -0
- package/lib/{system → cjs/system}/buffer/LittleEndian.js +0 -0
- package/lib/cjs/system/buffer/LittleEndian.js.map +1 -0
- package/lib/{system → cjs/system}/buffer/Uint16Buffer.d.ts +0 -0
- package/lib/cjs/system/buffer/Uint16Buffer.d.ts.map +1 -0
- package/lib/{system → cjs/system}/buffer/Uint16Buffer.js +0 -0
- package/lib/cjs/system/buffer/Uint16Buffer.js.map +1 -0
- package/lib/{system → cjs/system}/buffer/Uint8Buffer.d.ts +0 -0
- package/lib/cjs/system/buffer/Uint8Buffer.d.ts.map +1 -0
- package/lib/{system → cjs/system}/buffer/Uint8Buffer.js +0 -0
- package/lib/cjs/system/buffer/Uint8Buffer.js.map +1 -0
- package/lib/{system → cjs/system}/collection/AList.d.ts +0 -0
- package/lib/cjs/system/collection/AList.d.ts.map +1 -0
- package/lib/{system → cjs/system}/collection/AList.js +0 -0
- package/lib/cjs/system/collection/AList.js.map +1 -0
- package/lib/{system → cjs/system}/collection/IntMap.d.ts +0 -0
- package/lib/cjs/system/collection/IntMap.d.ts.map +1 -0
- package/lib/{system → cjs/system}/collection/IntMap.js +0 -0
- package/lib/cjs/system/collection/IntMap.js.map +1 -0
- package/lib/{system → cjs/system}/collection/StringMap.d.ts +0 -0
- package/lib/cjs/system/collection/StringMap.d.ts.map +1 -0
- package/lib/{system → cjs/system}/collection/StringMap.js +0 -0
- package/lib/cjs/system/collection/StringMap.js.map +1 -0
- package/lib/{system → cjs/system}/io/ABufferInStream.d.ts +0 -0
- package/lib/cjs/system/io/ABufferInStream.d.ts.map +1 -0
- package/lib/{system → cjs/system}/io/ABufferInStream.js +0 -0
- package/lib/cjs/system/io/ABufferInStream.js.map +1 -0
- package/lib/{system → cjs/system}/io/InStream.d.ts +0 -0
- package/lib/cjs/system/io/InStream.d.ts.map +1 -0
- package/lib/{system → cjs/system}/io/InStream.js +0 -0
- package/lib/cjs/system/io/InStream.js.map +1 -0
- package/lib/{system → cjs/system}/io/OutStream.d.ts +0 -0
- package/lib/cjs/system/io/OutStream.d.ts.map +1 -0
- package/lib/{system → cjs/system}/io/OutStream.js +0 -0
- package/lib/cjs/system/io/OutStream.js.map +1 -0
- package/lib/{system → cjs/system}/runtime/ALong.d.ts +0 -0
- package/lib/cjs/system/runtime/ALong.d.ts.map +1 -0
- package/lib/{system → cjs/system}/runtime/ALong.js +0 -0
- package/lib/cjs/system/runtime/ALong.js.map +1 -0
- package/lib/{system → cjs/system}/runtime/ASystem.d.ts +0 -0
- package/lib/cjs/system/runtime/ASystem.d.ts.map +1 -0
- package/lib/{system → cjs/system}/runtime/ASystem.js +0 -0
- package/lib/cjs/system/runtime/ASystem.js.map +1 -0
- package/lib/{system → cjs/system}/runtime/Downloader.d.ts +0 -0
- package/lib/cjs/system/runtime/Downloader.d.ts.map +1 -0
- package/lib/{system → cjs/system}/runtime/Downloader.js +0 -0
- package/lib/cjs/system/runtime/Downloader.js.map +1 -0
- package/lib/{system → cjs/system}/runtime/DownloaderNode.d.ts +0 -0
- package/lib/cjs/system/runtime/DownloaderNode.d.ts.map +1 -0
- package/lib/{system → cjs/system}/runtime/DownloaderNode.js +0 -0
- package/lib/cjs/system/runtime/DownloaderNode.js.map +1 -0
- package/lib/{system → cjs/system}/runtime/DownloaderXhr.d.ts +0 -0
- package/lib/cjs/system/runtime/DownloaderXhr.d.ts.map +1 -0
- package/lib/{system → cjs/system}/runtime/DownloaderXhr.js +0 -0
- package/lib/cjs/system/runtime/DownloaderXhr.js.map +1 -0
- package/lib/{system → cjs/system}/runtime/Message.d.ts +0 -0
- package/lib/cjs/system/runtime/Message.d.ts.map +1 -0
- package/lib/{system → cjs/system}/runtime/Message.js +0 -0
- package/lib/cjs/system/runtime/Message.js.map +1 -0
- package/lib/{system → cjs/system}/runtime/Numbers.d.ts +0 -0
- package/lib/cjs/system/runtime/Numbers.d.ts.map +1 -0
- package/lib/{system → cjs/system}/runtime/Numbers.js +0 -0
- package/lib/cjs/system/runtime/Numbers.js.map +1 -0
- package/lib/{system → cjs/system}/runtime/Strings.d.ts +0 -0
- package/lib/cjs/system/runtime/Strings.d.ts.map +1 -0
- package/lib/{system → cjs/system}/runtime/Strings.js +0 -0
- package/lib/cjs/system/runtime/Strings.js.map +1 -0
- package/lib/{system → cjs/system}/runtime/iComparator.d.ts +0 -0
- package/lib/cjs/system/runtime/iComparator.d.ts.map +1 -0
- package/lib/{system → cjs/system}/runtime/iComparator.js +0 -0
- package/lib/cjs/system/runtime/iComparator.js.map +1 -0
- package/lib/{system → cjs/system}/storage/CacheList.d.ts +0 -0
- package/lib/cjs/system/storage/CacheList.d.ts.map +1 -0
- package/lib/{system → cjs/system}/storage/CacheList.js +0 -0
- package/lib/cjs/system/storage/CacheList.js.map +1 -0
- package/lib/{system → cjs/system}/storage/CachedItem.d.ts +0 -0
- package/lib/cjs/system/storage/CachedItem.d.ts.map +1 -0
- package/lib/{system → cjs/system}/storage/CachedItem.js +0 -0
- package/lib/cjs/system/storage/CachedItem.js.map +1 -0
- package/lib/{system → cjs/system}/storage/ContentLoader.d.ts +0 -0
- package/lib/cjs/system/storage/ContentLoader.d.ts.map +1 -0
- package/lib/{system → cjs/system}/storage/ContentLoader.js +0 -0
- package/lib/cjs/system/storage/ContentLoader.js.map +1 -0
- package/lib/{system → cjs/system}/storage/FileContent.d.ts +0 -0
- package/lib/cjs/system/storage/FileContent.d.ts.map +1 -0
- package/lib/{system → cjs/system}/storage/FileContent.js +0 -0
- package/lib/cjs/system/storage/FileContent.js.map +1 -0
- package/lib/{system → cjs/system}/storage/FileRange.d.ts +0 -0
- package/lib/cjs/system/storage/FileRange.d.ts.map +1 -0
- package/lib/{system → cjs/system}/storage/FileRange.js +0 -0
- package/lib/cjs/system/storage/FileRange.js.map +1 -0
- package/lib/{system → cjs/system}/storage/FileStorage.d.ts +0 -0
- package/lib/cjs/system/storage/FileStorage.d.ts.map +1 -0
- package/lib/{system → cjs/system}/storage/FileStorage.js +0 -0
- package/lib/cjs/system/storage/FileStorage.js.map +1 -0
- package/lib/{system → cjs/system}/storage/NodeFS.d.ts +0 -0
- package/lib/cjs/system/storage/NodeFS.d.ts.map +1 -0
- package/lib/{system → cjs/system}/storage/NodeFS.js +0 -0
- package/lib/cjs/system/storage/NodeFS.js.map +1 -0
- package/lib/{system → cjs/system}/storage/PageCachedFile.d.ts +0 -0
- package/lib/cjs/system/storage/PageCachedFile.d.ts.map +1 -0
- package/lib/{system → cjs/system}/storage/PageCachedFile.js +0 -0
- package/lib/cjs/system/storage/PageCachedFile.js.map +1 -0
- package/lib/{system → cjs/system}/storage/UrlFS.d.ts +0 -0
- package/lib/cjs/system/storage/UrlFS.d.ts.map +1 -0
- package/lib/{system → cjs/system}/storage/UrlFS.js +0 -0
- package/lib/cjs/system/storage/UrlFS.js.map +1 -0
- package/lib/esm/core-orbitgt.d.ts +27 -0
- package/lib/esm/core-orbitgt.d.ts.map +1 -0
- package/lib/esm/core-orbitgt.js +32 -0
- package/lib/esm/core-orbitgt.js.map +1 -0
- package/lib/esm/pointcloud/format/opc/AttributeMask.d.ts +31 -0
- package/lib/esm/pointcloud/format/opc/AttributeMask.d.ts.map +1 -0
- package/lib/esm/pointcloud/format/opc/AttributeMask.js +44 -0
- package/lib/esm/pointcloud/format/opc/AttributeMask.js.map +1 -0
- package/lib/esm/pointcloud/format/opc/AttributeReader.d.ts +64 -0
- package/lib/esm/pointcloud/format/opc/AttributeReader.d.ts.map +1 -0
- package/lib/esm/pointcloud/format/opc/AttributeReader.js +21 -0
- package/lib/esm/pointcloud/format/opc/AttributeReader.js.map +1 -0
- package/lib/esm/pointcloud/format/opc/BlockRecord.d.ts +55 -0
- package/lib/esm/pointcloud/format/opc/BlockRecord.d.ts.map +1 -0
- package/lib/esm/pointcloud/format/opc/BlockRecord.js +81 -0
- package/lib/esm/pointcloud/format/opc/BlockRecord.js.map +1 -0
- package/lib/esm/pointcloud/format/opc/ContainerFile.d.ts +86 -0
- package/lib/esm/pointcloud/format/opc/ContainerFile.d.ts.map +1 -0
- package/lib/esm/pointcloud/format/opc/ContainerFile.js +196 -0
- package/lib/esm/pointcloud/format/opc/ContainerFile.js.map +1 -0
- package/lib/esm/pointcloud/format/opc/ContainerFilePart.d.ts +56 -0
- package/lib/esm/pointcloud/format/opc/ContainerFilePart.d.ts.map +1 -0
- package/lib/esm/pointcloud/format/opc/ContainerFilePart.js +72 -0
- package/lib/esm/pointcloud/format/opc/ContainerFilePart.js.map +1 -0
- package/lib/esm/pointcloud/format/opc/DirectoryReader.d.ts +76 -0
- package/lib/esm/pointcloud/format/opc/DirectoryReader.d.ts.map +1 -0
- package/lib/esm/pointcloud/format/opc/DirectoryReader.js +166 -0
- package/lib/esm/pointcloud/format/opc/DirectoryReader.js.map +1 -0
- package/lib/esm/pointcloud/format/opc/DirectoryRecord.d.ts +60 -0
- package/lib/esm/pointcloud/format/opc/DirectoryRecord.d.ts.map +1 -0
- package/lib/esm/pointcloud/format/opc/DirectoryRecord.js +86 -0
- package/lib/esm/pointcloud/format/opc/DirectoryRecord.js.map +1 -0
- package/lib/esm/pointcloud/format/opc/EmbeddedAttributeReader.d.ts +107 -0
- package/lib/esm/pointcloud/format/opc/EmbeddedAttributeReader.d.ts.map +1 -0
- package/lib/esm/pointcloud/format/opc/EmbeddedAttributeReader.js +194 -0
- package/lib/esm/pointcloud/format/opc/EmbeddedAttributeReader.js.map +1 -0
- package/lib/esm/pointcloud/format/opc/FileAccess.d.ts +40 -0
- package/lib/esm/pointcloud/format/opc/FileAccess.d.ts.map +1 -0
- package/lib/esm/pointcloud/format/opc/FileAccess.js +45 -0
- package/lib/esm/pointcloud/format/opc/FileAccess.js.map +1 -0
- package/lib/esm/pointcloud/format/opc/FileReader.d.ts +119 -0
- package/lib/esm/pointcloud/format/opc/FileReader.d.ts.map +1 -0
- package/lib/esm/pointcloud/format/opc/FileReader.js +245 -0
- package/lib/esm/pointcloud/format/opc/FileReader.js.map +1 -0
- package/lib/esm/pointcloud/format/opc/FileRecord.d.ts +90 -0
- package/lib/esm/pointcloud/format/opc/FileRecord.d.ts.map +1 -0
- package/lib/esm/pointcloud/format/opc/FileRecord.js +122 -0
- package/lib/esm/pointcloud/format/opc/FileRecord.js.map +1 -0
- package/lib/esm/pointcloud/format/opc/GeometryReader.d.ts +80 -0
- package/lib/esm/pointcloud/format/opc/GeometryReader.d.ts.map +1 -0
- package/lib/esm/pointcloud/format/opc/GeometryReader.js +160 -0
- package/lib/esm/pointcloud/format/opc/GeometryReader.js.map +1 -0
- package/lib/esm/pointcloud/format/opc/GeometryRecord.d.ts +54 -0
- package/lib/esm/pointcloud/format/opc/GeometryRecord.d.ts.map +1 -0
- package/lib/esm/pointcloud/format/opc/GeometryRecord.js +104 -0
- package/lib/esm/pointcloud/format/opc/GeometryRecord.js.map +1 -0
- package/lib/esm/pointcloud/format/opc/OPCReader.d.ts +158 -0
- package/lib/esm/pointcloud/format/opc/OPCReader.d.ts.map +1 -0
- package/lib/esm/pointcloud/format/opc/OPCReader.js +316 -0
- package/lib/esm/pointcloud/format/opc/OPCReader.js.map +1 -0
- package/lib/esm/pointcloud/format/opc/PointReader.d.ts +73 -0
- package/lib/esm/pointcloud/format/opc/PointReader.d.ts.map +1 -0
- package/lib/esm/pointcloud/format/opc/PointReader.js +149 -0
- package/lib/esm/pointcloud/format/opc/PointReader.js.map +1 -0
- package/lib/esm/pointcloud/format/opc/TileReadBuffer.d.ts +64 -0
- package/lib/esm/pointcloud/format/opc/TileReadBuffer.d.ts.map +1 -0
- package/lib/esm/pointcloud/format/opc/TileReadBuffer.js +89 -0
- package/lib/esm/pointcloud/format/opc/TileReadBuffer.js.map +1 -0
- package/lib/esm/pointcloud/format/opc/TileRecord.d.ts +89 -0
- package/lib/esm/pointcloud/format/opc/TileRecord.d.ts.map +1 -0
- package/lib/esm/pointcloud/format/opc/TileRecord.js +158 -0
- package/lib/esm/pointcloud/format/opc/TileRecord.js.map +1 -0
- package/lib/esm/pointcloud/model/AttributeTypes.d.ts +38 -0
- package/lib/esm/pointcloud/model/AttributeTypes.d.ts.map +1 -0
- package/lib/esm/pointcloud/model/AttributeTypes.js +61 -0
- package/lib/esm/pointcloud/model/AttributeTypes.js.map +1 -0
- package/lib/esm/pointcloud/model/AttributeValue.d.ts +248 -0
- package/lib/esm/pointcloud/model/AttributeValue.d.ts.map +1 -0
- package/lib/esm/pointcloud/model/AttributeValue.js +505 -0
- package/lib/esm/pointcloud/model/AttributeValue.js.map +1 -0
- package/lib/esm/pointcloud/model/BlockIndex.d.ts +50 -0
- package/lib/esm/pointcloud/model/BlockIndex.d.ts.map +1 -0
- package/lib/esm/pointcloud/model/BlockIndex.js +45 -0
- package/lib/esm/pointcloud/model/BlockIndex.js.map +1 -0
- package/lib/esm/pointcloud/model/CloudPoint.d.ts +211 -0
- package/lib/esm/pointcloud/model/CloudPoint.d.ts.map +1 -0
- package/lib/esm/pointcloud/model/CloudPoint.js +315 -0
- package/lib/esm/pointcloud/model/CloudPoint.js.map +1 -0
- package/lib/esm/pointcloud/model/Grid.d.ts +92 -0
- package/lib/esm/pointcloud/model/Grid.d.ts.map +1 -0
- package/lib/esm/pointcloud/model/Grid.js +126 -0
- package/lib/esm/pointcloud/model/Grid.js.map +1 -0
- package/lib/esm/pointcloud/model/GridIndex.d.ts +67 -0
- package/lib/esm/pointcloud/model/GridIndex.d.ts.map +1 -0
- package/lib/esm/pointcloud/model/GridIndex.js +90 -0
- package/lib/esm/pointcloud/model/GridIndex.js.map +1 -0
- package/lib/esm/pointcloud/model/PointAttribute.d.ts +209 -0
- package/lib/esm/pointcloud/model/PointAttribute.d.ts.map +1 -0
- package/lib/esm/pointcloud/model/PointAttribute.js +371 -0
- package/lib/esm/pointcloud/model/PointAttribute.js.map +1 -0
- package/lib/esm/pointcloud/model/PointCloudReader.d.ts +157 -0
- package/lib/esm/pointcloud/model/PointCloudReader.d.ts.map +1 -0
- package/lib/esm/pointcloud/model/PointCloudReader.js +186 -0
- package/lib/esm/pointcloud/model/PointCloudReader.js.map +1 -0
- package/lib/esm/pointcloud/model/PointData.d.ts +18 -0
- package/lib/esm/pointcloud/model/PointData.d.ts.map +1 -0
- package/lib/esm/pointcloud/model/PointData.js +21 -0
- package/lib/esm/pointcloud/model/PointData.js.map +1 -0
- package/lib/esm/pointcloud/model/PointDataRaw.d.ts +35 -0
- package/lib/esm/pointcloud/model/PointDataRaw.d.ts.map +1 -0
- package/lib/esm/pointcloud/model/PointDataRaw.js +66 -0
- package/lib/esm/pointcloud/model/PointDataRaw.js.map +1 -0
- package/lib/esm/pointcloud/model/ReadRequest.d.ts +176 -0
- package/lib/esm/pointcloud/model/ReadRequest.d.ts.map +1 -0
- package/lib/esm/pointcloud/model/ReadRequest.js +236 -0
- package/lib/esm/pointcloud/model/ReadRequest.js.map +1 -0
- package/lib/esm/pointcloud/model/StandardAttributes.d.ts +41 -0
- package/lib/esm/pointcloud/model/StandardAttributes.d.ts.map +1 -0
- package/lib/esm/pointcloud/model/StandardAttributes.js +44 -0
- package/lib/esm/pointcloud/model/StandardAttributes.js.map +1 -0
- package/lib/esm/pointcloud/model/TileIndex.d.ts +48 -0
- package/lib/esm/pointcloud/model/TileIndex.d.ts.map +1 -0
- package/lib/esm/pointcloud/model/TileIndex.js +44 -0
- package/lib/esm/pointcloud/model/TileIndex.js.map +1 -0
- package/lib/esm/pointcloud/render/AViewRequest.d.ts +39 -0
- package/lib/esm/pointcloud/render/AViewRequest.d.ts.map +1 -0
- package/lib/esm/pointcloud/render/AViewRequest.js +21 -0
- package/lib/esm/pointcloud/render/AViewRequest.js.map +1 -0
- package/lib/esm/pointcloud/render/Block.d.ts +68 -0
- package/lib/esm/pointcloud/render/Block.d.ts.map +1 -0
- package/lib/esm/pointcloud/render/Block.js +116 -0
- package/lib/esm/pointcloud/render/Block.js.map +1 -0
- package/lib/esm/pointcloud/render/DataManager.d.ts +137 -0
- package/lib/esm/pointcloud/render/DataManager.d.ts.map +1 -0
- package/lib/esm/pointcloud/render/DataManager.js +339 -0
- package/lib/esm/pointcloud/render/DataManager.js.map +1 -0
- package/lib/esm/pointcloud/render/FrameData.d.ts +31 -0
- package/lib/esm/pointcloud/render/FrameData.d.ts.map +1 -0
- package/lib/esm/pointcloud/render/FrameData.js +36 -0
- package/lib/esm/pointcloud/render/FrameData.js.map +1 -0
- package/lib/esm/pointcloud/render/Level.d.ts +91 -0
- package/lib/esm/pointcloud/render/Level.d.ts.map +1 -0
- package/lib/esm/pointcloud/render/Level.js +116 -0
- package/lib/esm/pointcloud/render/Level.js.map +1 -0
- package/lib/esm/pointcloud/render/TileLoadSorter.d.ts +61 -0
- package/lib/esm/pointcloud/render/TileLoadSorter.d.ts.map +1 -0
- package/lib/esm/pointcloud/render/TileLoadSorter.js +96 -0
- package/lib/esm/pointcloud/render/TileLoadSorter.js.map +1 -0
- package/lib/esm/pointcloud/render/ViewTree.d.ts +114 -0
- package/lib/esm/pointcloud/render/ViewTree.d.ts.map +1 -0
- package/lib/esm/pointcloud/render/ViewTree.js +360 -0
- package/lib/esm/pointcloud/render/ViewTree.js.map +1 -0
- package/lib/esm/spatial/crs/CRSEngine.d.ts +56 -0
- package/lib/esm/spatial/crs/CRSEngine.d.ts.map +1 -0
- package/lib/esm/spatial/crs/CRSEngine.js +90 -0
- package/lib/esm/spatial/crs/CRSEngine.js.map +1 -0
- package/lib/esm/spatial/crs/CRSManager.d.ts +50 -0
- package/lib/esm/spatial/crs/CRSManager.d.ts.map +1 -0
- package/lib/esm/spatial/crs/CRSManager.js +106 -0
- package/lib/esm/spatial/crs/CRSManager.js.map +1 -0
- package/lib/esm/spatial/ecrs/Axis.d.ts +78 -0
- package/lib/esm/spatial/ecrs/Axis.d.ts.map +1 -0
- package/lib/esm/spatial/ecrs/Axis.js +90 -0
- package/lib/esm/spatial/ecrs/Axis.js.map +1 -0
- package/lib/esm/spatial/ecrs/CRS.d.ts +448 -0
- package/lib/esm/spatial/ecrs/CRS.d.ts.map +1 -0
- package/lib/esm/spatial/ecrs/CRS.js +927 -0
- package/lib/esm/spatial/ecrs/CRS.js.map +1 -0
- package/lib/esm/spatial/ecrs/CoordinateSystem.d.ts +143 -0
- package/lib/esm/spatial/ecrs/CoordinateSystem.d.ts.map +1 -0
- package/lib/esm/spatial/ecrs/CoordinateSystem.js +323 -0
- package/lib/esm/spatial/ecrs/CoordinateSystem.js.map +1 -0
- package/lib/esm/spatial/ecrs/DataFileUnit.d.ts +11 -0
- package/lib/esm/spatial/ecrs/DataFileUnit.d.ts.map +1 -0
- package/lib/esm/spatial/ecrs/DataFileUnit.js +101 -0
- package/lib/esm/spatial/ecrs/DataFileUnit.js.map +1 -0
- package/lib/esm/spatial/ecrs/Datum.d.ts +112 -0
- package/lib/esm/spatial/ecrs/Datum.d.ts.map +1 -0
- package/lib/esm/spatial/ecrs/Datum.js +163 -0
- package/lib/esm/spatial/ecrs/Datum.js.map +1 -0
- package/lib/esm/spatial/ecrs/Ellipsoid.d.ts +189 -0
- package/lib/esm/spatial/ecrs/Ellipsoid.d.ts.map +1 -0
- package/lib/esm/spatial/ecrs/Ellipsoid.js +333 -0
- package/lib/esm/spatial/ecrs/Ellipsoid.js.map +1 -0
- package/lib/esm/spatial/ecrs/OnlineEngine.d.ts +49 -0
- package/lib/esm/spatial/ecrs/OnlineEngine.d.ts.map +1 -0
- package/lib/esm/spatial/ecrs/OnlineEngine.js +99 -0
- package/lib/esm/spatial/ecrs/OnlineEngine.js.map +1 -0
- package/lib/esm/spatial/ecrs/OnlineRegistry.d.ts +38 -0
- package/lib/esm/spatial/ecrs/OnlineRegistry.d.ts.map +1 -0
- package/lib/esm/spatial/ecrs/OnlineRegistry.js +73 -0
- package/lib/esm/spatial/ecrs/OnlineRegistry.js.map +1 -0
- package/lib/esm/spatial/ecrs/Operation.d.ts +192 -0
- package/lib/esm/spatial/ecrs/Operation.d.ts.map +1 -0
- package/lib/esm/spatial/ecrs/Operation.js +342 -0
- package/lib/esm/spatial/ecrs/Operation.js.map +1 -0
- package/lib/esm/spatial/ecrs/OperationMethod.d.ts +72 -0
- package/lib/esm/spatial/ecrs/OperationMethod.d.ts.map +1 -0
- package/lib/esm/spatial/ecrs/OperationMethod.js +72 -0
- package/lib/esm/spatial/ecrs/OperationMethod.js.map +1 -0
- package/lib/esm/spatial/ecrs/ParameterValue.d.ts +50 -0
- package/lib/esm/spatial/ecrs/ParameterValue.d.ts.map +1 -0
- package/lib/esm/spatial/ecrs/ParameterValue.js +62 -0
- package/lib/esm/spatial/ecrs/ParameterValue.js.map +1 -0
- package/lib/esm/spatial/ecrs/ParameterValueList.d.ts +73 -0
- package/lib/esm/spatial/ecrs/ParameterValueList.d.ts.map +1 -0
- package/lib/esm/spatial/ecrs/ParameterValueList.js +117 -0
- package/lib/esm/spatial/ecrs/ParameterValueList.js.map +1 -0
- package/lib/esm/spatial/ecrs/PrimeMeridian.d.ts +79 -0
- package/lib/esm/spatial/ecrs/PrimeMeridian.d.ts.map +1 -0
- package/lib/esm/spatial/ecrs/PrimeMeridian.js +105 -0
- package/lib/esm/spatial/ecrs/PrimeMeridian.js.map +1 -0
- package/lib/esm/spatial/ecrs/Registry.d.ts +110 -0
- package/lib/esm/spatial/ecrs/Registry.d.ts.map +1 -0
- package/lib/esm/spatial/ecrs/Registry.js +204 -0
- package/lib/esm/spatial/ecrs/Registry.js.map +1 -0
- package/lib/esm/spatial/ecrs/Transform.d.ts +78 -0
- package/lib/esm/spatial/ecrs/Transform.d.ts.map +1 -0
- package/lib/esm/spatial/ecrs/Transform.js +393 -0
- package/lib/esm/spatial/ecrs/Transform.js.map +1 -0
- package/lib/esm/spatial/ecrs/Unit.d.ts +171 -0
- package/lib/esm/spatial/ecrs/Unit.d.ts.map +1 -0
- package/lib/esm/spatial/ecrs/Unit.js +333 -0
- package/lib/esm/spatial/ecrs/Unit.js.map +1 -0
- package/lib/esm/spatial/ecrs/VerticalModel.d.ts +70 -0
- package/lib/esm/spatial/ecrs/VerticalModel.d.ts.map +1 -0
- package/lib/esm/spatial/ecrs/VerticalModel.js +85 -0
- package/lib/esm/spatial/ecrs/VerticalModel.js.map +1 -0
- package/lib/esm/spatial/ecrs/WellKnownText.d.ts +154 -0
- package/lib/esm/spatial/ecrs/WellKnownText.d.ts.map +1 -0
- package/lib/esm/spatial/ecrs/WellKnownText.js +491 -0
- package/lib/esm/spatial/ecrs/WellKnownText.js.map +1 -0
- package/lib/esm/spatial/ecrs/WellKnownTextNode.d.ts +70 -0
- package/lib/esm/spatial/ecrs/WellKnownTextNode.d.ts.map +1 -0
- package/lib/esm/spatial/ecrs/WellKnownTextNode.js +125 -0
- package/lib/esm/spatial/ecrs/WellKnownTextNode.js.map +1 -0
- package/lib/esm/spatial/ecrs/projection/HotineObliqueMercator.d.ts +102 -0
- package/lib/esm/spatial/ecrs/projection/HotineObliqueMercator.d.ts.map +1 -0
- package/lib/esm/spatial/ecrs/projection/HotineObliqueMercator.js +159 -0
- package/lib/esm/spatial/ecrs/projection/HotineObliqueMercator.js.map +1 -0
- package/lib/esm/spatial/ecrs/projection/KrovakObliqueConformalConic.d.ts +80 -0
- package/lib/esm/spatial/ecrs/projection/KrovakObliqueConformalConic.d.ts.map +1 -0
- package/lib/esm/spatial/ecrs/projection/KrovakObliqueConformalConic.js +122 -0
- package/lib/esm/spatial/ecrs/projection/KrovakObliqueConformalConic.js.map +1 -0
- package/lib/esm/spatial/ecrs/projection/KrovakObliqueConformalConicEN.d.ts +48 -0
- package/lib/esm/spatial/ecrs/projection/KrovakObliqueConformalConicEN.d.ts.map +1 -0
- package/lib/esm/spatial/ecrs/projection/KrovakObliqueConformalConicEN.js +70 -0
- package/lib/esm/spatial/ecrs/projection/KrovakObliqueConformalConicEN.js.map +1 -0
- package/lib/esm/spatial/ecrs/projection/LambertConical1SP.d.ts +73 -0
- package/lib/esm/spatial/ecrs/projection/LambertConical1SP.d.ts.map +1 -0
- package/lib/esm/spatial/ecrs/projection/LambertConical1SP.js +126 -0
- package/lib/esm/spatial/ecrs/projection/LambertConical1SP.js.map +1 -0
- package/lib/esm/spatial/ecrs/projection/LambertConical2SP.d.ts +121 -0
- package/lib/esm/spatial/ecrs/projection/LambertConical2SP.d.ts.map +1 -0
- package/lib/esm/spatial/ecrs/projection/LambertConical2SP.js +176 -0
- package/lib/esm/spatial/ecrs/projection/LambertConical2SP.js.map +1 -0
- package/lib/esm/spatial/ecrs/projection/Mercator1SP.d.ts +74 -0
- package/lib/esm/spatial/ecrs/projection/Mercator1SP.d.ts.map +1 -0
- package/lib/esm/spatial/ecrs/projection/Mercator1SP.js +109 -0
- package/lib/esm/spatial/ecrs/projection/Mercator1SP.js.map +1 -0
- package/lib/esm/spatial/ecrs/projection/ObliqueMercator.d.ts +97 -0
- package/lib/esm/spatial/ecrs/projection/ObliqueMercator.d.ts.map +1 -0
- package/lib/esm/spatial/ecrs/projection/ObliqueMercator.js +170 -0
- package/lib/esm/spatial/ecrs/projection/ObliqueMercator.js.map +1 -0
- package/lib/esm/spatial/ecrs/projection/ObliqueStereographic.d.ts +124 -0
- package/lib/esm/spatial/ecrs/projection/ObliqueStereographic.d.ts.map +1 -0
- package/lib/esm/spatial/ecrs/projection/ObliqueStereographic.js +205 -0
- package/lib/esm/spatial/ecrs/projection/ObliqueStereographic.js.map +1 -0
- package/lib/esm/spatial/ecrs/projection/TransverseMercator.d.ts +109 -0
- package/lib/esm/spatial/ecrs/projection/TransverseMercator.d.ts.map +1 -0
- package/lib/esm/spatial/ecrs/projection/TransverseMercator.js +180 -0
- package/lib/esm/spatial/ecrs/projection/TransverseMercator.js.map +1 -0
- package/lib/esm/spatial/ecrs/transformation/PositionVector.d.ts +91 -0
- package/lib/esm/spatial/ecrs/transformation/PositionVector.d.ts.map +1 -0
- package/lib/esm/spatial/ecrs/transformation/PositionVector.js +127 -0
- package/lib/esm/spatial/ecrs/transformation/PositionVector.js.map +1 -0
- package/lib/esm/spatial/geom/Bounds.d.ts +34 -0
- package/lib/esm/spatial/geom/Bounds.d.ts.map +1 -0
- package/lib/esm/spatial/geom/Bounds.js +153 -0
- package/lib/esm/spatial/geom/Bounds.js.map +1 -0
- package/lib/esm/spatial/geom/Coordinate.d.ts +62 -0
- package/lib/esm/spatial/geom/Coordinate.d.ts.map +1 -0
- package/lib/esm/spatial/geom/Coordinate.js +183 -0
- package/lib/esm/spatial/geom/Coordinate.js.map +1 -0
- package/lib/esm/spatial/geom/Line.d.ts +226 -0
- package/lib/esm/spatial/geom/Line.d.ts.map +1 -0
- package/lib/esm/spatial/geom/Line.js +429 -0
- package/lib/esm/spatial/geom/Line.js.map +1 -0
- package/lib/esm/spatial/geom/Transform.d.ts +341 -0
- package/lib/esm/spatial/geom/Transform.d.ts.map +1 -0
- package/lib/esm/spatial/geom/Transform.js +745 -0
- package/lib/esm/spatial/geom/Transform.js.map +1 -0
- package/lib/esm/system/buffer/ABuffer.d.ts +52 -0
- package/lib/esm/system/buffer/ABuffer.d.ts.map +1 -0
- package/lib/esm/system/buffer/ABuffer.js +87 -0
- package/lib/esm/system/buffer/ABuffer.js.map +1 -0
- package/lib/esm/system/buffer/Float32Buffer.d.ts +47 -0
- package/lib/esm/system/buffer/Float32Buffer.d.ts.map +1 -0
- package/lib/esm/system/buffer/Float32Buffer.js +57 -0
- package/lib/esm/system/buffer/Float32Buffer.js.map +1 -0
- package/lib/esm/system/buffer/LittleEndian.d.ts +150 -0
- package/lib/esm/system/buffer/LittleEndian.d.ts.map +1 -0
- package/lib/esm/system/buffer/LittleEndian.js +300 -0
- package/lib/esm/system/buffer/LittleEndian.js.map +1 -0
- package/lib/esm/system/buffer/Uint16Buffer.d.ts +50 -0
- package/lib/esm/system/buffer/Uint16Buffer.d.ts.map +1 -0
- package/lib/esm/system/buffer/Uint16Buffer.js +62 -0
- package/lib/esm/system/buffer/Uint16Buffer.js.map +1 -0
- package/lib/esm/system/buffer/Uint8Buffer.d.ts +50 -0
- package/lib/esm/system/buffer/Uint8Buffer.d.ts.map +1 -0
- package/lib/esm/system/buffer/Uint8Buffer.js +62 -0
- package/lib/esm/system/buffer/Uint8Buffer.js.map +1 -0
- package/lib/esm/system/collection/AList.d.ts +31 -0
- package/lib/esm/system/collection/AList.d.ts.map +1 -0
- package/lib/esm/system/collection/AList.js +67 -0
- package/lib/esm/system/collection/AList.js.map +1 -0
- package/lib/esm/system/collection/IntMap.d.ts +19 -0
- package/lib/esm/system/collection/IntMap.d.ts.map +1 -0
- package/lib/esm/system/collection/IntMap.js +32 -0
- package/lib/esm/system/collection/IntMap.js.map +1 -0
- package/lib/esm/system/collection/StringMap.d.ts +27 -0
- package/lib/esm/system/collection/StringMap.d.ts.map +1 -0
- package/lib/esm/system/collection/StringMap.js +60 -0
- package/lib/esm/system/collection/StringMap.js.map +1 -0
- package/lib/esm/system/io/ABufferInStream.d.ts +30 -0
- package/lib/esm/system/io/ABufferInStream.d.ts.map +1 -0
- package/lib/esm/system/io/ABufferInStream.js +43 -0
- package/lib/esm/system/io/ABufferInStream.js.map +1 -0
- package/lib/esm/system/io/InStream.d.ts +24 -0
- package/lib/esm/system/io/InStream.d.ts.map +1 -0
- package/lib/esm/system/io/InStream.js +31 -0
- package/lib/esm/system/io/InStream.js.map +1 -0
- package/lib/esm/system/io/OutStream.d.ts +24 -0
- package/lib/esm/system/io/OutStream.d.ts.map +1 -0
- package/lib/esm/system/io/OutStream.js +30 -0
- package/lib/esm/system/io/OutStream.js.map +1 -0
- package/lib/esm/system/runtime/ALong.d.ts +330 -0
- package/lib/esm/system/runtime/ALong.d.ts.map +1 -0
- package/lib/esm/system/runtime/ALong.js +684 -0
- package/lib/esm/system/runtime/ALong.js.map +1 -0
- package/lib/esm/system/runtime/ASystem.d.ts +15 -0
- package/lib/esm/system/runtime/ASystem.d.ts.map +1 -0
- package/lib/esm/system/runtime/ASystem.js +28 -0
- package/lib/esm/system/runtime/ASystem.js.map +1 -0
- package/lib/esm/system/runtime/Downloader.d.ts +18 -0
- package/lib/esm/system/runtime/Downloader.d.ts.map +1 -0
- package/lib/esm/system/runtime/Downloader.js +35 -0
- package/lib/esm/system/runtime/Downloader.js.map +1 -0
- package/lib/esm/system/runtime/DownloaderNode.d.ts +19 -0
- package/lib/esm/system/runtime/DownloaderNode.d.ts.map +1 -0
- package/lib/esm/system/runtime/DownloaderNode.js +126 -0
- package/lib/esm/system/runtime/DownloaderNode.js.map +1 -0
- package/lib/esm/system/runtime/DownloaderXhr.d.ts +19 -0
- package/lib/esm/system/runtime/DownloaderXhr.d.ts.map +1 -0
- package/lib/esm/system/runtime/DownloaderXhr.js +128 -0
- package/lib/esm/system/runtime/DownloaderXhr.js.map +1 -0
- package/lib/esm/system/runtime/Message.d.ts +17 -0
- package/lib/esm/system/runtime/Message.d.ts.map +1 -0
- package/lib/esm/system/runtime/Message.js +36 -0
- package/lib/esm/system/runtime/Message.js.map +1 -0
- package/lib/esm/system/runtime/Numbers.d.ts +35 -0
- package/lib/esm/system/runtime/Numbers.d.ts.map +1 -0
- package/lib/esm/system/runtime/Numbers.js +84 -0
- package/lib/esm/system/runtime/Numbers.js.map +1 -0
- package/lib/esm/system/runtime/Strings.d.ts +50 -0
- package/lib/esm/system/runtime/Strings.d.ts.map +1 -0
- package/lib/esm/system/runtime/Strings.js +185 -0
- package/lib/esm/system/runtime/Strings.js.map +1 -0
- package/lib/esm/system/runtime/iComparator.d.ts +13 -0
- package/lib/esm/system/runtime/iComparator.d.ts.map +1 -0
- package/lib/esm/system/runtime/iComparator.js +9 -0
- package/lib/esm/system/runtime/iComparator.js.map +1 -0
- package/lib/esm/system/storage/CacheList.d.ts +40 -0
- package/lib/esm/system/storage/CacheList.d.ts.map +1 -0
- package/lib/esm/system/storage/CacheList.js +77 -0
- package/lib/esm/system/storage/CacheList.js.map +1 -0
- package/lib/esm/system/storage/CachedItem.d.ts +22 -0
- package/lib/esm/system/storage/CachedItem.d.ts.map +1 -0
- package/lib/esm/system/storage/CachedItem.js +22 -0
- package/lib/esm/system/storage/CachedItem.js.map +1 -0
- package/lib/esm/system/storage/ContentLoader.d.ts +65 -0
- package/lib/esm/system/storage/ContentLoader.d.ts.map +1 -0
- package/lib/esm/system/storage/ContentLoader.js +92 -0
- package/lib/esm/system/storage/ContentLoader.js.map +1 -0
- package/lib/esm/system/storage/FileContent.d.ts +20 -0
- package/lib/esm/system/storage/FileContent.d.ts.map +1 -0
- package/lib/esm/system/storage/FileContent.js +21 -0
- package/lib/esm/system/storage/FileContent.js.map +1 -0
- package/lib/esm/system/storage/FileRange.d.ts +21 -0
- package/lib/esm/system/storage/FileRange.d.ts.map +1 -0
- package/lib/esm/system/storage/FileRange.js +21 -0
- package/lib/esm/system/storage/FileRange.js.map +1 -0
- package/lib/esm/system/storage/FileStorage.d.ts +45 -0
- package/lib/esm/system/storage/FileStorage.d.ts.map +1 -0
- package/lib/esm/system/storage/FileStorage.js +59 -0
- package/lib/esm/system/storage/FileStorage.js.map +1 -0
- package/lib/esm/system/storage/NodeFS.d.ts +42 -0
- package/lib/esm/system/storage/NodeFS.d.ts.map +1 -0
- package/lib/esm/system/storage/NodeFS.js +76 -0
- package/lib/esm/system/storage/NodeFS.js.map +1 -0
- package/lib/esm/system/storage/PageCachedFile.d.ts +55 -0
- package/lib/esm/system/storage/PageCachedFile.d.ts.map +1 -0
- package/lib/esm/system/storage/PageCachedFile.js +162 -0
- package/lib/esm/system/storage/PageCachedFile.js.map +1 -0
- package/lib/esm/system/storage/UrlFS.d.ts +54 -0
- package/lib/esm/system/storage/UrlFS.d.ts.map +1 -0
- package/lib/esm/system/storage/UrlFS.js +111 -0
- package/lib/esm/system/storage/UrlFS.js.map +1 -0
- package/package.json +11 -8
- package/lib/core-orbitgt.d.ts.map +0 -1
- package/lib/core-orbitgt.js.map +0 -1
- package/lib/pointcloud/format/opc/AttributeMask.d.ts.map +0 -1
- package/lib/pointcloud/format/opc/AttributeMask.js.map +0 -1
- package/lib/pointcloud/format/opc/AttributeReader.d.ts.map +0 -1
- package/lib/pointcloud/format/opc/AttributeReader.js.map +0 -1
- package/lib/pointcloud/format/opc/BlockRecord.d.ts.map +0 -1
- package/lib/pointcloud/format/opc/BlockRecord.js.map +0 -1
- package/lib/pointcloud/format/opc/ContainerFile.d.ts.map +0 -1
- package/lib/pointcloud/format/opc/ContainerFile.js.map +0 -1
- package/lib/pointcloud/format/opc/ContainerFilePart.d.ts.map +0 -1
- package/lib/pointcloud/format/opc/ContainerFilePart.js.map +0 -1
- package/lib/pointcloud/format/opc/DirectoryReader.d.ts.map +0 -1
- package/lib/pointcloud/format/opc/DirectoryReader.js.map +0 -1
- package/lib/pointcloud/format/opc/DirectoryRecord.d.ts.map +0 -1
- package/lib/pointcloud/format/opc/DirectoryRecord.js.map +0 -1
- package/lib/pointcloud/format/opc/EmbeddedAttributeReader.d.ts.map +0 -1
- package/lib/pointcloud/format/opc/EmbeddedAttributeReader.js.map +0 -1
- package/lib/pointcloud/format/opc/FileAccess.d.ts.map +0 -1
- package/lib/pointcloud/format/opc/FileAccess.js.map +0 -1
- package/lib/pointcloud/format/opc/FileReader.d.ts.map +0 -1
- package/lib/pointcloud/format/opc/FileReader.js.map +0 -1
- package/lib/pointcloud/format/opc/FileRecord.d.ts.map +0 -1
- package/lib/pointcloud/format/opc/FileRecord.js.map +0 -1
- package/lib/pointcloud/format/opc/GeometryReader.d.ts.map +0 -1
- package/lib/pointcloud/format/opc/GeometryReader.js.map +0 -1
- package/lib/pointcloud/format/opc/GeometryRecord.d.ts.map +0 -1
- package/lib/pointcloud/format/opc/GeometryRecord.js.map +0 -1
- package/lib/pointcloud/format/opc/OPCReader.d.ts.map +0 -1
- package/lib/pointcloud/format/opc/OPCReader.js.map +0 -1
- package/lib/pointcloud/format/opc/PointReader.d.ts.map +0 -1
- package/lib/pointcloud/format/opc/PointReader.js.map +0 -1
- package/lib/pointcloud/format/opc/TileReadBuffer.d.ts.map +0 -1
- package/lib/pointcloud/format/opc/TileReadBuffer.js.map +0 -1
- package/lib/pointcloud/format/opc/TileRecord.d.ts.map +0 -1
- package/lib/pointcloud/format/opc/TileRecord.js.map +0 -1
- package/lib/pointcloud/model/AttributeTypes.d.ts.map +0 -1
- package/lib/pointcloud/model/AttributeTypes.js.map +0 -1
- package/lib/pointcloud/model/AttributeValue.d.ts.map +0 -1
- package/lib/pointcloud/model/AttributeValue.js.map +0 -1
- package/lib/pointcloud/model/BlockIndex.d.ts.map +0 -1
- package/lib/pointcloud/model/BlockIndex.js.map +0 -1
- package/lib/pointcloud/model/CloudPoint.d.ts.map +0 -1
- package/lib/pointcloud/model/CloudPoint.js.map +0 -1
- package/lib/pointcloud/model/Grid.d.ts.map +0 -1
- package/lib/pointcloud/model/Grid.js.map +0 -1
- package/lib/pointcloud/model/GridIndex.d.ts.map +0 -1
- package/lib/pointcloud/model/GridIndex.js.map +0 -1
- package/lib/pointcloud/model/PointAttribute.d.ts.map +0 -1
- package/lib/pointcloud/model/PointAttribute.js.map +0 -1
- package/lib/pointcloud/model/PointCloudReader.d.ts.map +0 -1
- package/lib/pointcloud/model/PointCloudReader.js.map +0 -1
- package/lib/pointcloud/model/PointData.d.ts.map +0 -1
- package/lib/pointcloud/model/PointData.js.map +0 -1
- package/lib/pointcloud/model/PointDataRaw.d.ts.map +0 -1
- package/lib/pointcloud/model/PointDataRaw.js.map +0 -1
- package/lib/pointcloud/model/ReadRequest.d.ts.map +0 -1
- package/lib/pointcloud/model/ReadRequest.js.map +0 -1
- package/lib/pointcloud/model/StandardAttributes.d.ts.map +0 -1
- package/lib/pointcloud/model/StandardAttributes.js.map +0 -1
- package/lib/pointcloud/model/TileIndex.d.ts.map +0 -1
- package/lib/pointcloud/model/TileIndex.js.map +0 -1
- package/lib/pointcloud/render/AViewRequest.d.ts.map +0 -1
- package/lib/pointcloud/render/AViewRequest.js.map +0 -1
- package/lib/pointcloud/render/Block.d.ts.map +0 -1
- package/lib/pointcloud/render/Block.js.map +0 -1
- package/lib/pointcloud/render/DataManager.d.ts.map +0 -1
- package/lib/pointcloud/render/DataManager.js.map +0 -1
- package/lib/pointcloud/render/FrameData.d.ts.map +0 -1
- package/lib/pointcloud/render/FrameData.js.map +0 -1
- package/lib/pointcloud/render/Level.d.ts.map +0 -1
- package/lib/pointcloud/render/Level.js.map +0 -1
- package/lib/pointcloud/render/TileLoadSorter.d.ts.map +0 -1
- package/lib/pointcloud/render/TileLoadSorter.js.map +0 -1
- package/lib/pointcloud/render/ViewTree.d.ts.map +0 -1
- package/lib/pointcloud/render/ViewTree.js.map +0 -1
- package/lib/spatial/crs/CRSEngine.d.ts.map +0 -1
- package/lib/spatial/crs/CRSEngine.js.map +0 -1
- package/lib/spatial/crs/CRSManager.d.ts.map +0 -1
- package/lib/spatial/crs/CRSManager.js.map +0 -1
- package/lib/spatial/ecrs/Axis.d.ts.map +0 -1
- package/lib/spatial/ecrs/Axis.js.map +0 -1
- package/lib/spatial/ecrs/CRS.d.ts.map +0 -1
- package/lib/spatial/ecrs/CRS.js.map +0 -1
- package/lib/spatial/ecrs/CoordinateSystem.d.ts.map +0 -1
- package/lib/spatial/ecrs/CoordinateSystem.js.map +0 -1
- package/lib/spatial/ecrs/DataFileUnit.d.ts.map +0 -1
- package/lib/spatial/ecrs/DataFileUnit.js.map +0 -1
- package/lib/spatial/ecrs/Datum.d.ts.map +0 -1
- package/lib/spatial/ecrs/Datum.js.map +0 -1
- package/lib/spatial/ecrs/Ellipsoid.d.ts.map +0 -1
- package/lib/spatial/ecrs/Ellipsoid.js.map +0 -1
- package/lib/spatial/ecrs/OnlineEngine.d.ts.map +0 -1
- package/lib/spatial/ecrs/OnlineEngine.js.map +0 -1
- package/lib/spatial/ecrs/OnlineRegistry.d.ts.map +0 -1
- package/lib/spatial/ecrs/OnlineRegistry.js.map +0 -1
- package/lib/spatial/ecrs/Operation.d.ts.map +0 -1
- package/lib/spatial/ecrs/Operation.js.map +0 -1
- package/lib/spatial/ecrs/OperationMethod.d.ts.map +0 -1
- package/lib/spatial/ecrs/OperationMethod.js.map +0 -1
- package/lib/spatial/ecrs/ParameterValue.d.ts.map +0 -1
- package/lib/spatial/ecrs/ParameterValue.js.map +0 -1
- package/lib/spatial/ecrs/ParameterValueList.d.ts.map +0 -1
- package/lib/spatial/ecrs/ParameterValueList.js.map +0 -1
- package/lib/spatial/ecrs/PrimeMeridian.d.ts.map +0 -1
- package/lib/spatial/ecrs/PrimeMeridian.js.map +0 -1
- package/lib/spatial/ecrs/Registry.d.ts.map +0 -1
- package/lib/spatial/ecrs/Registry.js.map +0 -1
- package/lib/spatial/ecrs/Transform.d.ts.map +0 -1
- package/lib/spatial/ecrs/Transform.js.map +0 -1
- package/lib/spatial/ecrs/Unit.d.ts.map +0 -1
- package/lib/spatial/ecrs/Unit.js.map +0 -1
- package/lib/spatial/ecrs/VerticalModel.d.ts.map +0 -1
- package/lib/spatial/ecrs/VerticalModel.js.map +0 -1
- package/lib/spatial/ecrs/WellKnownText.d.ts.map +0 -1
- package/lib/spatial/ecrs/WellKnownText.js.map +0 -1
- package/lib/spatial/ecrs/WellKnownTextNode.d.ts.map +0 -1
- package/lib/spatial/ecrs/WellKnownTextNode.js.map +0 -1
- package/lib/spatial/ecrs/projection/HotineObliqueMercator.d.ts.map +0 -1
- package/lib/spatial/ecrs/projection/HotineObliqueMercator.js.map +0 -1
- package/lib/spatial/ecrs/projection/KrovakObliqueConformalConic.d.ts.map +0 -1
- package/lib/spatial/ecrs/projection/KrovakObliqueConformalConic.js.map +0 -1
- package/lib/spatial/ecrs/projection/KrovakObliqueConformalConicEN.d.ts.map +0 -1
- package/lib/spatial/ecrs/projection/KrovakObliqueConformalConicEN.js.map +0 -1
- package/lib/spatial/ecrs/projection/LambertConical1SP.d.ts.map +0 -1
- package/lib/spatial/ecrs/projection/LambertConical1SP.js.map +0 -1
- package/lib/spatial/ecrs/projection/LambertConical2SP.d.ts.map +0 -1
- package/lib/spatial/ecrs/projection/LambertConical2SP.js.map +0 -1
- package/lib/spatial/ecrs/projection/Mercator1SP.d.ts.map +0 -1
- package/lib/spatial/ecrs/projection/Mercator1SP.js.map +0 -1
- package/lib/spatial/ecrs/projection/ObliqueMercator.d.ts.map +0 -1
- package/lib/spatial/ecrs/projection/ObliqueMercator.js.map +0 -1
- package/lib/spatial/ecrs/projection/ObliqueStereographic.d.ts.map +0 -1
- package/lib/spatial/ecrs/projection/ObliqueStereographic.js.map +0 -1
- package/lib/spatial/ecrs/projection/TransverseMercator.d.ts.map +0 -1
- package/lib/spatial/ecrs/projection/TransverseMercator.js.map +0 -1
- package/lib/spatial/ecrs/transformation/PositionVector.d.ts.map +0 -1
- package/lib/spatial/ecrs/transformation/PositionVector.js.map +0 -1
- package/lib/spatial/geom/Bounds.d.ts.map +0 -1
- package/lib/spatial/geom/Bounds.js.map +0 -1
- package/lib/spatial/geom/Coordinate.d.ts.map +0 -1
- package/lib/spatial/geom/Coordinate.js.map +0 -1
- package/lib/spatial/geom/Line.d.ts.map +0 -1
- package/lib/spatial/geom/Line.js.map +0 -1
- package/lib/spatial/geom/Transform.d.ts.map +0 -1
- package/lib/spatial/geom/Transform.js.map +0 -1
- package/lib/system/buffer/ABuffer.d.ts.map +0 -1
- package/lib/system/buffer/ABuffer.js.map +0 -1
- package/lib/system/buffer/Float32Buffer.d.ts.map +0 -1
- package/lib/system/buffer/Float32Buffer.js.map +0 -1
- package/lib/system/buffer/LittleEndian.d.ts.map +0 -1
- package/lib/system/buffer/LittleEndian.js.map +0 -1
- package/lib/system/buffer/Uint16Buffer.d.ts.map +0 -1
- package/lib/system/buffer/Uint16Buffer.js.map +0 -1
- package/lib/system/buffer/Uint8Buffer.d.ts.map +0 -1
- package/lib/system/buffer/Uint8Buffer.js.map +0 -1
- package/lib/system/collection/AList.d.ts.map +0 -1
- package/lib/system/collection/AList.js.map +0 -1
- package/lib/system/collection/IntMap.d.ts.map +0 -1
- package/lib/system/collection/IntMap.js.map +0 -1
- package/lib/system/collection/StringMap.d.ts.map +0 -1
- package/lib/system/collection/StringMap.js.map +0 -1
- package/lib/system/io/ABufferInStream.d.ts.map +0 -1
- package/lib/system/io/ABufferInStream.js.map +0 -1
- package/lib/system/io/InStream.d.ts.map +0 -1
- package/lib/system/io/InStream.js.map +0 -1
- package/lib/system/io/OutStream.d.ts.map +0 -1
- package/lib/system/io/OutStream.js.map +0 -1
- package/lib/system/runtime/ALong.d.ts.map +0 -1
- package/lib/system/runtime/ALong.js.map +0 -1
- package/lib/system/runtime/ASystem.d.ts.map +0 -1
- package/lib/system/runtime/ASystem.js.map +0 -1
- package/lib/system/runtime/Downloader.d.ts.map +0 -1
- package/lib/system/runtime/Downloader.js.map +0 -1
- package/lib/system/runtime/DownloaderNode.d.ts.map +0 -1
- package/lib/system/runtime/DownloaderNode.js.map +0 -1
- package/lib/system/runtime/DownloaderXhr.d.ts.map +0 -1
- package/lib/system/runtime/DownloaderXhr.js.map +0 -1
- package/lib/system/runtime/Message.d.ts.map +0 -1
- package/lib/system/runtime/Message.js.map +0 -1
- package/lib/system/runtime/Numbers.d.ts.map +0 -1
- package/lib/system/runtime/Numbers.js.map +0 -1
- package/lib/system/runtime/Strings.d.ts.map +0 -1
- package/lib/system/runtime/Strings.js.map +0 -1
- package/lib/system/runtime/iComparator.d.ts.map +0 -1
- package/lib/system/runtime/iComparator.js.map +0 -1
- package/lib/system/storage/CacheList.d.ts.map +0 -1
- package/lib/system/storage/CacheList.js.map +0 -1
- package/lib/system/storage/CachedItem.d.ts.map +0 -1
- package/lib/system/storage/CachedItem.js.map +0 -1
- package/lib/system/storage/ContentLoader.d.ts.map +0 -1
- package/lib/system/storage/ContentLoader.js.map +0 -1
- package/lib/system/storage/FileContent.d.ts.map +0 -1
- package/lib/system/storage/FileContent.js.map +0 -1
- package/lib/system/storage/FileRange.d.ts.map +0 -1
- package/lib/system/storage/FileRange.js.map +0 -1
- package/lib/system/storage/FileStorage.d.ts.map +0 -1
- package/lib/system/storage/FileStorage.js.map +0 -1
- package/lib/system/storage/NodeFS.d.ts.map +0 -1
- package/lib/system/storage/NodeFS.js.map +0 -1
- package/lib/system/storage/PageCachedFile.d.ts.map +0 -1
- package/lib/system/storage/PageCachedFile.js.map +0 -1
- package/lib/system/storage/UrlFS.d.ts.map +0 -1
- package/lib/system/storage/UrlFS.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ALong.js","sourceRoot":"","sources":["../../../../src/system/runtime/ALong.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAWH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC;;;;GAIG;AACH,gBAAgB;AAChB,MAAM,OAAO,KAAK;IAkCd;;;;OAIG;IACH,YAAoB,IAAa,EAAE,GAAY;QAC3C,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC;QAClB,IA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AAC;AACrD,iCAAiC;AACT,UAAI,GAAY,YAAY,CAAC;AACrD,iCAAiC;AACT,UAAI,GAAY,UAAU,CAAC;AACnD,iCAAiC;AACT,UAAI,GAAY,OAAO,CAAC;AAChD,gCAAgC;AACR,SAAG,GAAY,KAAK,CAAC;AAE7C,0BAA0B;AACZ,UAAI,GAAU,IAAI,KAAK,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC;AAChD,0BAA0B;AACZ,SAAG,GAAU,IAAI,KAAK,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC;AAC/C,0BAA0B;AACZ,SAAG,GAAU,IAAI,KAAK,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC;AAC/C,0BAA0B;AACZ,UAAI,GAAU,IAAI,KAAK,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC;AAChD,2BAA2B;AACb,SAAG,GAAU,IAAI,KAAK,CAAC,GAAG,EAAE,IAAI,CAAC,CAAC;AAChD,2BAA2B;AACb,eAAS,GAAU,IAAI,KAAK,CAAC,KAAK,CAAC,IAAI,GAAG,GAAG,EAAE,KAAK,CAAC,IAAI,GAAG,GAAG,CAAC,CAAC;AAC/E,mFAAmF;AACrE,eAAS,GAAU,IAAI,KAAK,CAAC,KAAK,CAAC,IAAI,GAAG,GAAG,EAAE,KAAK,CAAC,IAAI,GAAG,GAAG,CAAC,CAAC;AAC/E,mFAAmF;AACrE,eAAS,GAAU,IAAI,KAAK,CAAC,KAAK,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC","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.runtime;\n\ntype int8 = number;\ntype int16 = number;\ntype int32 = number;\ntype float32 = number;\ntype float64 = number;\n\n\nimport { ASystem } from \"./ASystem\";\nimport { Numbers } from \"./Numbers\";\nimport { Strings } from \"./Strings\";\n\n/**\n * Class ALong defines a signed 64-bit integer using two (high and low) 64-bit floats.\n *\n * @version 1.0 February 2019\n */\n/** @internal */\nexport class ALong {\n /** The value of a 32 bit unit */\n private static readonly _U32: float64 = 4294967296.0;\n /** The value of a 31 bit unit */\n private static readonly _U31: float64 = 2147483648.0;\n /** The value of a 24 bit unit */\n private static readonly _U24: float64 = 16777216.0;\n /** The value of a 16 bit unit */\n private static readonly _U16: float64 = 65536.0;\n /** The value of a 8 bit unit */\n private static readonly _U8: float64 = 256.0;\n\n /** The integer value 0 */\n public static ZERO: ALong = new ALong(0.0, 0.0);\n /** The integer value 1 */\n public static ONE: ALong = new ALong(0.0, 1.0);\n /** The integer value 2 */\n public static TWO: ALong = new ALong(0.0, 2.0);\n /** The integer value 4 */\n public static FOUR: ALong = new ALong(0.0, 4.0);\n /** The integer value 10 */\n public static TEN: ALong = new ALong(0.0, 10.0);\n /** The integer value -1 */\n public static MINUS_ONE: ALong = new ALong(ALong._U32 - 1.0, ALong._U32 - 1.0);\n /** The maximum positive value of a signed_ 64-bit integer (9223372036854775807) */\n public static MAX_VALUE: ALong = new ALong(ALong._U31 - 1.0, ALong._U32 - 1.0);\n /** The minimum negative value of a signed 64-bit integer (-9223372036854775808) */\n public static MIN_VALUE: ALong = new ALong(ALong._U31, 0.0);\n\n /** The high value (unsigned integer [0..U32[ after normalization, negative i64 if >= U31) */\n private _high: float64;\n /** The low value (unsigned integer [0..U32[ after normalization) */\n private _low: float64;\n\n /**\n * Create a new value.\n * @param high the 32-bit high part.\n * @param low the 32-bit low part.\n */\n private constructor(high: float64, low: float64) {\n this._high = high;\n this._low = low;\n }\n\n /**\n * Check if the number is zero.\n * @return true if zero.\n */\n public isZero(): boolean {\n return (this._high == 0.0) && (this._low == 0.0);\n }\n\n /**\n * Check if the number is not zero.\n * @return true if zero.\n */\n public isNonZero(): boolean {\n return (this.isZero() == false);\n }\n\n /**\n * Check if the number is one.\n * @return true if one.\n */\n public isOne(): boolean {\n return (this._high == 0.0) && (this._low == 1.0);\n }\n\n /**\n * Check if the number is positive.\n * @return true if positive (false if zero).\n */\n public isPositive(): boolean {\n return this.isZero() ? false : (this._high < ALong._U31);\n }\n\n /**\n * Check if the number is negative.\n * @return true if negative (false if zero).\n */\n public isNegative(): boolean {\n return this.isZero() ? false : (this._high >= ALong._U31);\n }\n\n /**\n * Normalize the number.\n * @return this number for chaining operations.\n */\n private static normalize2(high: float64, low: float64): ALong {\n // normalize the low part\n let overflowLow: float64 = Numbers.floor(low / ALong._U32);\n low = (low - overflowLow * ALong._U32); // inside range [0..U32[\n high += overflowLow;\n // normalize the high part\n let overflowHigh: float64 = Numbers.floor(high / ALong._U32);\n high = (high - overflowHigh * ALong._U32); // inside range [0..U32[\n // return the result\n return new ALong(high, low);\n }\n\n /**\n * Negate the number.\n * @return the result.\n */\n public negate(): ALong {\n /* Zero? */\n if (this.isZero()) {\n /* Return this immutable instance */\n return this;\n }\n /* Compute */\n let resultHigh: float64 = (ALong._U32 - 1.0 - this._high);\n let resultLow: float64 = (ALong._U32 - this._low);\n /* Overflow? */\n if (resultLow == ALong._U32) {\n resultLow = 0.0;\n resultHigh += 1.0; // in case we try to invert ALong.MIN_VALUE we get ALong.MIN_VALUE as a result again\n }\n /* Return the result */\n return new ALong(resultHigh, resultLow);\n }\n\n /**\n * Add a number.\n * @param value the value to add.\n * @return the result.\n */\n public add(value: ALong): ALong {\n /* Compute */\n let resultHigh: float64 = (this._high + value._high);\n let resultLow: float64 = (this._low + value._low);\n /* Return the result */\n return ALong.normalize2(resultHigh, resultLow);\n }\n\n /**\n * Add a number.\n * @param value the value to add.\n * @return the result.\n */\n public addInt(value: int32): ALong {\n return this.add(ALong.fromInt(value));\n }\n\n /**\n * Increase by one.\n * @return the result.\n */\n public increase(): ALong {\n return this.addInt(1);\n }\n\n /**\n * Subtract a number.\n * @param value the value to subtract.\n * @return the result.\n */\n public sub(value: ALong): ALong {\n return this.add(value.negate());\n }\n\n /**\n * Subtract a number.\n * @param value the value to subtract.\n * @return the result.\n */\n public subInt(value: int32): ALong {\n return this.sub(ALong.fromInt(value));\n }\n\n /**\n * Decrease by one.\n * @return the result.\n */\n public decrease(): ALong {\n return this.subInt(1);\n }\n\n /**\n * Multiply two unsigned 32-bit integer values.\n * @param v1 the first value.\n * @param v2 the second value.\n * @param high0 the initial high value of the result.\n * @return the unsigned 64-bit product.\n */\n private static mul2(v1: ALong, v2: ALong): ALong {\n /* Zero? */\n if (v1.isZero()) return v1;\n if (v2.isZero()) return v2;\n /* Make the values unsigned */\n let neg1: int32 = v1.isNegative() ? 1 : 0;\n if (neg1 == 1) v1 = v1.negate();\n let neg2: int32 = v2.isNegative() ? 1 : 0;\n if (neg2 == 1) v2 = v2.negate();\n /* Split first low into 16-bit parts */\n let a1: float64 = Numbers.floor(v1._low / ALong._U16);;\n let a2: float64 = (v1._low - a1 * ALong._U16);\n /* Split second low into 16-bit parts */\n let b1: float64 = Numbers.floor(v2._low / ALong._U16);;\n let b2: float64 = (v2._low - b1 * ALong._U16);\n /* Compute */\n let resultHigh: float64 = (v1._high * v2._low + v1._low * v2._high) + (a1 * b1);\n let resultLow: float64 = (a1 * b2 + a2 * b1) * ALong._U16 + (a2 * b2);\n let result: ALong = ALong.normalize2(resultHigh, resultLow);\n /* Return the result */\n return (neg1 + neg2 == 1) ? result.negate() : result;\n }\n\n /**\n * Multiply by a number.\n * @param value the value to multiply.\n * @return the result.\n */\n public mul(value: ALong): ALong {\n return ALong.mul2(this, value);\n }\n\n /**\n * Multiply by a number.\n * @param value the value to multiply.\n * @return the result.\n */\n public mulInt(value: int32): ALong {\n return this.mul(ALong.fromInt(value));\n }\n\n /**\n * Divide by a number.\n * @param value the value to divide by.\n * @return the result.\n */\n public div(value: ALong): ALong {\n /* Division by zero? */\n ASystem.assertNot(value.isZero(), \"ALong division by ALong zero\");\n /* Division by one? */\n if (value.isOne()) return this;\n /* Make the values unsigned */\n let currentValue: ALong = this;\n let neg1: boolean = currentValue.isNegative();\n if (neg1) currentValue = currentValue.negate();\n let value2: ALong = value;\n let neg2: boolean = value2.isNegative();\n if (neg2) value2.negate();\n let neg: boolean = (neg1 && !neg2) || (!neg1 && neg2);\n /* Loop until the remainder is smaller than the value */\n let result: ALong = ALong.ZERO;\n while (currentValue.isLargerThanOrEqualTo(value2)) {\n /* Shift the value as much as possible */\n let test: ALong = value2;\n let times: ALong = ALong.ONE;\n if (test.isSmallerThan(currentValue)) {\n while (test.isSmallerThan(currentValue)) {\n test = test.mulInt(2);\n times = times.mulInt(2);\n }\n test = test.divInt(2);\n times = times.divInt(2);\n }\n /* Subtract the shifted value */\n currentValue = currentValue.sub(test);\n result = result.add(times);\n }\n /* Return the result */\n return (neg) ? result.negate() : result;\n }\n\n /**\n * Divide by a number.\n * @param value the value to divide by.\n * @return the result.\n */\n public divInt(value: int32): ALong {\n /* Division by zero? */\n ASystem.assertNot(value == 0, \"ALong division by int zero\");\n /* Division by one? */\n if (value == 1) return this;\n /* Make the values unsigned */\n let value1: ALong = this;\n let neg1: boolean = value1.isNegative();\n if (neg1) value1 = value1.negate();\n let neg2: boolean = (value < 0);\n if (neg2) value = -1 * value;\n let neg: boolean = (neg1 && !neg2) || (!neg1 && neg2);\n /* Compute */\n let valueF: float64 = (0.0 + value);\n let h1: float64 = Numbers.floor(value1._high / valueF);\n let h2: float64 = (value1._high - valueF * h1);\n let l1: float64 = Numbers.floor(value1._low / valueF);\n let l2: float64 = (value1._low - valueF * l1);\n let t: float64 = (h2 * ALong._U32 + l2);\n let t1: float64 = Numbers.floor(t / valueF);\n let t2: float64 = (t - valueF * t1); // remainder\n let result: ALong = ALong.normalize2(h1, l1 + t1);\n /* Return the result */\n return (neg) ? result.negate() : result;\n }\n\n /**\n * Modulate by a number.\n * @param value the value to modulate by.\n * @return the result.\n */\n public mod(value: ALong): ALong {\n /* Division by zero? */\n ASystem.assertNot(value.isZero(), \"ALong modulo by ALong zero\");\n /* Division by one? */\n if (value.isOne()) return ALong.ZERO;\n /* Compute */\n let result: ALong = this.sub(this.div(value).mul(value));\n /* Return the result */\n return result;\n }\n\n /**\n * Modulate by a number.\n * @param value the value to modulate by.\n * @return the modulo value.\n */\n public modInt(value: int32): int32 {\n /* Division by zero? */\n ASystem.assertNot(value == 0, \"ALong modulo by int zero\");\n /* Division by one? */\n if (value == 1) return 0;\n /* Make the values unsigned */\n let value1: ALong = this;\n let neg1: boolean = value1.isNegative();\n if (neg1) value1 = value1.negate();\n let neg2: boolean = (value < 0);\n if (neg2) value = -1 * value;\n let neg: boolean = (neg1 && !neg2) || (!neg1 && neg2);\n /* Compute */\n let valueF: float64 = (0.0 + value);\n let h1: float64 = Numbers.floor(value1._high / valueF);\n let h2: float64 = (value1._high - valueF * h1);\n let l1: float64 = Numbers.floor(value1._low / valueF);\n let l2: float64 = (value1._low - valueF * l1);\n let t: float64 = (h2 * ALong._U32 + l2);\n let t1: float64 = Numbers.floor(t / valueF);\n let t2: float64 = (t - valueF * t1); // remainder\n let result: int32 = Math.trunc(t2);\n /* Return the result */\n return result;\n }\n\n /**\n * Create a new number.\n * @param value the 64-bit float value.\n * @return the new number.\n */\n public static fromDouble(value: float64): ALong {\n /* Make the value unsigned */\n let neg: boolean = (value < 0.0);\n if (neg) value = (-1.0 * value);\n /* Compute */\n value = Numbers.floor(value);\n let high: float64 = Numbers.floor(value / ALong._U32);\n let low: float64 = (value - high * ALong._U32);\n let result: ALong = ALong.normalize2(high, low);\n /* Return the result */\n return (neg) ? result.negate() : result;\n }\n\n /**\n * Get a double.\n * @return the double value.\n */\n public toDouble(): float64 {\n /* Make the value unsigned */\n let value: ALong = this;\n let neg: boolean = value.isNegative();\n if (neg) value = value.negate();\n /* Compute */\n let result: float64 = (value._high * ALong._U32) + value._low;\n if (neg) result *= -1.0;\n /* Return the result */\n return result;\n }\n\n /**\n * Create a new number.\n * @param value the 32-bit integer value.\n * @return the new number.\n */\n public static fromInt(value: float64): ALong {\n return (value < 0.0) ? new ALong(ALong._U32 - 1.0, ALong._U32 + value) : new ALong(0.0, value);\n }\n\n /**\n * Get a 32-bit integer.\n * @return the integer value.\n */\n public toInt(): int32 {\n /* Make the value unsigned */\n let value: ALong = this;\n let neg: boolean = value.isNegative();\n if (neg) value = value.negate();\n /* Compute */\n let result: float64 = value._low;\n if (neg) result *= -1.0;\n /* Return the result */\n return Numbers.doubleToInt(result);\n }\n\n /**\n * Create a new number.\n * @param i1 the 32-bit high part.\n * @param i0 the 32-bit low part.\n * @return the new number.\n */\n public static fromHighLow(i1: float64, i0: float64): ALong {\n if (i1 < 0.0) i1 += ALong._U32; // make unsigned\n if (i0 < 0.0) i0 += ALong._U32;\n return new ALong(i1, i0);\n }\n\n /**\n * Get the high part.\n * @return the integer value (0..4294967295)\n */\n public getHigh(): float64 {\n return this._high;\n }\n\n /**\n * Get the low part.\n * @return the integer value (0..4294967295)\n */\n public getLow(): float64 {\n return this._low;\n }\n\n /**\n * Create a new number.\n * @param b7 the most significant 8-bit byte of the high part (0..255).\n * @param b6 the most third 8-bit byte of the high part (0..255).\n * @param b5 the most second 8-bit byte of the high part (0..255).\n * @param b4 the most least 8-bit byte of the high part (0..255).\n * @param b3 the most significant 8-bit byte of the low part (0..255).\n * @param b2 the most third 8-bit byte of the low part (0..255).\n * @param b1 the most second 8-bit byte of the low part (0..255).\n * @param b0 the most least 8-bit byte of the low part (0..255).\n * @return the new number.\n */\n public static fromBytes(b7: float64, b6: float64, b5: float64, b4: float64, b3: float64, b2: float64, b1: float64, b0: float64): ALong {\n if (b7 < 0.0) b7 += ALong._U8; // make unsigned\n if (b6 < 0.0) b6 += ALong._U8;\n if (b5 < 0.0) b5 += ALong._U8;\n if (b4 < 0.0) b4 += ALong._U8;\n if (b3 < 0.0) b3 += ALong._U8;\n if (b2 < 0.0) b2 += ALong._U8;\n if (b1 < 0.0) b1 += ALong._U8;\n if (b0 < 0.0) b0 += ALong._U8;\n let high: float64 = (b7 * ALong._U24 + b6 * ALong._U16 + b5 * ALong._U8 + b4);\n let low: float64 = (b3 * ALong._U24 + b2 * ALong._U16 + b1 * ALong._U8 + b0);\n return ALong.fromHighLow(high, low);\n }\n\n /**\n * Get a byte.\n * @param index the index of the byte (0..7 where 0 is low).\n * @return the byte value (0..255)\n */\n public getByte(index: int32): int32 {\n let value: float64 = (index < 4) ? this._low : this._high; // this should be unsigned\n let position: int32 = (index < 4) ? index : (index - 4);\n for (let i: number = 0; i < position; i++) value = Numbers.floor(value / 256.0);\n return Math.trunc(value % 256);\n }\n\n /**\n * Check if a number is equal.\n * @param value the value to check.\n * @return true if equal.\n */\n public isEqualTo(value: ALong): boolean {\n return (value._high == this._high) && (value._low == this._low);\n }\n\n /**\n * Check if a number is not equal.\n * @param value the value to check.\n * @return true if equal.\n */\n public isNotEqualTo(value: ALong): boolean {\n return (this.isEqualTo(value) == false);\n }\n\n /**\n * Check if a number is equal.\n * @param value the value to check.\n * @return true if equal.\n */\n public same(value: ALong): boolean {\n return this.isEqualTo(value);\n }\n\n /**\n * Check if a number is equal.\n * @param value the value to check.\n * @return true if equal.\n */\n public equals(value: ALong): boolean {\n return this.isEqualTo(value);\n }\n\n /**\n * Compare this long to another long.\n * @param value the other long.\n * @return zero if equal, positive if smaller, or negative if value is larger.\n */\n public compareTo(value: ALong): int32 {\n let diff: ALong = this.sub(value);\n if (diff.isZero()) return 0;\n return diff.isNegative() ? -1 : 1;\n }\n\n\t/**\n\t * Check if a value is larger.\n\t * @param value the value to check.\n\t * @return true if this number is larger than the check value.\n\t */\n public isLargerThan(value: ALong): boolean {\n return (this.compareTo(value) > 0);\n }\n\n\t/**\n\t * Check if a value is larger.\n\t * @param value the value to check.\n\t * @return true if this number is larger than the check value.\n\t */\n public isLargerThanOrEqualTo(value: ALong): boolean {\n return (this.compareTo(value) >= 0);\n }\n\n\t/**\n\t * Check if a value is smaller.\n\t * @param value the value to check.\n\t * @return true if this number is smaller than the check value.\n\t */\n public isSmallerThan(value: ALong): boolean {\n return (this.compareTo(value) < 0);\n }\n\n\t/**\n\t * Check if a value is smaller.\n\t * @param value the value to check.\n\t * @return true if this number is smaller than the check value.\n\t */\n public isSmallerThanOrEqualTo(value: ALong): boolean {\n return (this.compareTo(value) <= 0);\n }\n\n /**\n * Get the maximum value.\n * @param v1 the first value.\n * @param v2 the second value.\n * @return the maximum value.\n */\n public static max(v1: ALong, v2: ALong): ALong {\n return (v2.isLargerThan(v1)) ? v2 : v1;\n }\n\n /**\n * Get the minimum value.\n * @param v1 the first value.\n * @param v2 the second value.\n * @return the minimum value.\n */\n public static min(v1: ALong, v2: ALong): ALong {\n return (v2.isSmallerThan(v1)) ? v2 : v1;\n }\n\n /**\n * Create a number from a string.\n * @param svalue the string value.\n * @param radix the radix (2 to 36).\n * @return the number.\n */\n public static fromRadixString(svalue: string, radix: int32): ALong {\n /* Check the radix */\n ASystem.assertNot((radix < 2) || (radix > 36), \"Invalid radix: \" + radix);\n /* Common values? */\n if (Strings.equals(svalue, \"0\")) return ALong.ZERO;\n if (Strings.equals(svalue, \"1\")) return ALong.ONE;\n /* Negative? */\n let neg: boolean = Strings.startsWith(svalue, \"-\");\n if (neg) svalue = Strings.substringFrom(svalue, 1);\n /* Add all digits */\n let result: ALong = ALong.ZERO;\n let unit: ALong = ALong.ONE;\n let radixHL: ALong = ALong.fromInt(radix);\n let slength: int32 = Strings.getLength(svalue);\n for (let i: number = 0; i < slength; i++) {\n /* Add the next digit */\n let charCode: int32 = Strings.charCodeAt(svalue, slength - 1 - i);\n let digit: int32 = (charCode >= 65) ? (charCode - 65 + 10) : (charCode - 48);\n if (digit > 0) result = result.add(unit.mulInt(digit));\n unit = unit.mul(radixHL);\n }\n /* Return the result */\n return (neg) ? result.negate() : result;\n }\n\n /**\n * Create a number from a decimal string.\n * @param value the string value.\n * @return the number.\n */\n public static fromString(value: string): ALong {\n if (value == null) return null;\n return ALong.fromRadixString(value, 10);\n }\n\n /**\n * Create a number from a hexadecimal string.\n * @param value the string value.\n * @return the number.\n */\n public static fromHexString(value: string): ALong {\n if (value == null) return null;\n return ALong.fromRadixString(value, 16);\n }\n\n /**\n * Convert the number to a string.\n * @param radix the radix (2 to 36).\n * @return the string.\n */\n public getRadixString(radix: int32): string {\n /* Check the radix */\n ASystem.assertNot((radix < 2) || (radix > 36), \"Invalid radix: \" + radix);\n /* Common values? */\n let value: ALong = this;\n if (value.isZero()) return \"0\";\n /* Make the value unsigned */\n let neg: boolean = value.isNegative();\n if (neg) value = value.negate();\n /* Add all digits */\n let result: string = \"\";\n while (true) {\n /* Add the next digit */\n if (value.isZero()) break;\n let digit: int32 = value.modInt(radix);\n value = value.divInt(radix);\n let sdigit: string = (digit < 10) ? Strings.charCodeToString(48 + digit) : Strings.charCodeToString(65 + digit - 10);\n result = (sdigit + result);\n /* Fail? */\n ASystem.assertNot(Strings.getLength(result) > 20, \"Failed to convert longHL to string (radix \" + radix + \"): \" + this._high + \";\" + this._low);\n }\n if (neg) result = (\"-\" + result);\n /* Return the result */\n return result;\n }\n\n /**\n * Convert the number to a decimal string.\n * @return the string.\n */\n public getString(): string {\n return this.getRadixString(10);\n }\n\n /**\n * Convert the number to a hexadecimal string.\n * @return the string.\n */\n public getHexString(): string {\n return this.getRadixString(16);\n }\n\n /**\n * The standard toString method.\n * @see Object#toString\n */\n public toString(): string {\n return this.getString();\n }\n}\n"]}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/** @packageDocumentation
|
|
2
|
+
* @module OrbitGT
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Class ASystem defines low level capabilities of the runtime platform.
|
|
6
|
+
*/
|
|
7
|
+
/** @internal */
|
|
8
|
+
export declare class ASystem {
|
|
9
|
+
private static TIME0;
|
|
10
|
+
private constructor();
|
|
11
|
+
static assert0(condition: boolean, message: string): void;
|
|
12
|
+
static assertNot(condition: boolean, message: string): void;
|
|
13
|
+
static time(): number;
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=ASystem.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ASystem.d.ts","sourceRoot":"","sources":["../../../../src/system/runtime/ASystem.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH;;GAEG;AACH,gBAAgB;AAChB,qBAAa,OAAO;IAChB,OAAO,CAAC,MAAM,CAAC,KAAK,CAAgC;IAEpD,OAAO;WAGO,OAAO,CAAC,SAAS,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,GAAG,IAAI;WAIlD,SAAS,CAAC,SAAS,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,GAAG,IAAI;WAIpD,IAAI,IAAI,MAAM;CAG/B"}
|
|
@@ -0,0 +1,28 @@
|
|
|
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 ASystem defines low level capabilities of the runtime platform.
|
|
10
|
+
*/
|
|
11
|
+
/** @internal */
|
|
12
|
+
export class ASystem {
|
|
13
|
+
constructor() {
|
|
14
|
+
}
|
|
15
|
+
static assert0(condition, message) {
|
|
16
|
+
if (condition == false)
|
|
17
|
+
throw new Error("Assert failed: " + message);
|
|
18
|
+
}
|
|
19
|
+
static assertNot(condition, message) {
|
|
20
|
+
if (condition)
|
|
21
|
+
throw new Error("AssertNot failed: " + message);
|
|
22
|
+
}
|
|
23
|
+
static time() {
|
|
24
|
+
return (new Date().getTime() - ASystem.TIME0) / 1000.0; // time in seconds
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
ASystem.TIME0 = new Date().getTime();
|
|
28
|
+
//# sourceMappingURL=ASystem.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ASystem.js","sourceRoot":"","sources":["../../../../src/system/runtime/ASystem.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAEH;;GAEG;AACH,gBAAgB;AAChB,MAAM,OAAO,OAAO;IAGhB;IACA,CAAC;IAEM,MAAM,CAAC,OAAO,CAAC,SAAkB,EAAE,OAAe;QACrD,IAAI,SAAS,IAAI,KAAK;YAAE,MAAM,IAAI,KAAK,CAAC,iBAAiB,GAAG,OAAO,CAAC,CAAC;IACzE,CAAC;IAEM,MAAM,CAAC,SAAS,CAAC,SAAkB,EAAE,OAAe;QACvD,IAAI,SAAS;YAAE,MAAM,IAAI,KAAK,CAAC,oBAAoB,GAAG,OAAO,CAAC,CAAC;IACnE,CAAC;IAEM,MAAM,CAAC,IAAI;QACd,OAAO,CAAC,IAAI,IAAI,EAAE,CAAC,OAAO,EAAE,GAAG,OAAO,CAAC,KAAK,CAAC,GAAG,MAAM,CAAC,CAAC,kBAAkB;IAC9E,CAAC;;AAfc,aAAK,GAAW,IAAI,IAAI,EAAE,CAAC,OAAO,EAAE,CAAC","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/**\n * Class ASystem defines low level capabilities of the runtime platform.\n */\n/** @internal */\nexport class ASystem {\n private static TIME0: number = new Date().getTime();\n\n private constructor() {\n }\n\n public static assert0(condition: boolean, message: string): void {\n if (condition == false) throw new Error(\"Assert failed: \" + message);\n }\n\n public static assertNot(condition: boolean, message: string): void {\n if (condition) throw new Error(\"AssertNot failed: \" + message);\n }\n\n public static time(): number {\n return (new Date().getTime() - ASystem.TIME0) / 1000.0; // time in seconds\n }\n}\n"]}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/** @packageDocumentation
|
|
2
|
+
* @module OrbitGT
|
|
3
|
+
*/
|
|
4
|
+
import { ABuffer } from "../buffer/ABuffer";
|
|
5
|
+
import { StringMap } from "../collection/StringMap";
|
|
6
|
+
/**
|
|
7
|
+
* Class Downloader defines a platform independant download tool.
|
|
8
|
+
*/
|
|
9
|
+
/** @internal */
|
|
10
|
+
export declare class Downloader {
|
|
11
|
+
/** The default instance of this tool for this runtime. This needs to be set by the host application on startup. */
|
|
12
|
+
static INSTANCE: Downloader;
|
|
13
|
+
constructor();
|
|
14
|
+
downloadBytes(method: string, requestURL: string, requestHeaders: StringMap<string>, postText: string, postData: ABuffer, responseHeaders: StringMap<string>): Promise<ABuffer>;
|
|
15
|
+
downloadText(method: string, requestURL: string, requestHeaders: StringMap<string>, postText: string, postData: ABuffer, responseHeaders: StringMap<string>): Promise<string>;
|
|
16
|
+
downloadText2(requestURL: string): Promise<string>;
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=Downloader.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Downloader.d.ts","sourceRoot":"","sources":["../../../../src/system/runtime/Downloader.ts"],"names":[],"mappings":"AAIA;;GAEG;AAUH,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAEpD;;GAEG;AACH,gBAAgB;AAChB,qBAAa,UAAU;IACnB,mHAAmH;IACnH,OAAc,QAAQ,EAAE,UAAU,CAAQ;;IAS7B,aAAa,CAAC,MAAM,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,cAAc,EAAE,SAAS,CAAC,MAAM,CAAC,EAAE,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,OAAO,EAAE,eAAe,EAAE,SAAS,CAAC,MAAM,CAAC,GAAG,OAAO,CAAC,OAAO,CAAC;IAM/K,YAAY,CAAC,MAAM,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,cAAc,EAAE,SAAS,CAAC,MAAM,CAAC,EAAE,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,OAAO,EAAE,eAAe,EAAE,SAAS,CAAC,MAAM,CAAC,GAAG,OAAO,CAAC,MAAM,CAAC;IAM7K,aAAa,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;CAGlE"}
|
|
@@ -0,0 +1,35 @@
|
|
|
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 Downloader defines a platform independant download tool.
|
|
10
|
+
*/
|
|
11
|
+
/** @internal */
|
|
12
|
+
export class Downloader {
|
|
13
|
+
// create a new downloader
|
|
14
|
+
//
|
|
15
|
+
constructor() {
|
|
16
|
+
}
|
|
17
|
+
// download a byte array
|
|
18
|
+
//
|
|
19
|
+
async downloadBytes(method, requestURL, requestHeaders, postText, postData, responseHeaders) {
|
|
20
|
+
return null;
|
|
21
|
+
}
|
|
22
|
+
// download a text
|
|
23
|
+
//
|
|
24
|
+
async downloadText(method, requestURL, requestHeaders, postText, postData, responseHeaders) {
|
|
25
|
+
return null;
|
|
26
|
+
}
|
|
27
|
+
// download a text without request options
|
|
28
|
+
//
|
|
29
|
+
async downloadText2(requestURL) {
|
|
30
|
+
return null;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
/** The default instance of this tool for this runtime. This needs to be set by the host application on startup. */
|
|
34
|
+
Downloader.INSTANCE = null;
|
|
35
|
+
//# sourceMappingURL=Downloader.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Downloader.js","sourceRoot":"","sources":["../../../../src/system/runtime/Downloader.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAaH;;GAEG;AACH,gBAAgB;AAChB,MAAM,OAAO,UAAU;IAInB,0BAA0B;IAC1B,EAAE;IACF;IACA,CAAC;IAED,wBAAwB;IACxB,EAAE;IACK,KAAK,CAAC,aAAa,CAAC,MAAc,EAAE,UAAkB,EAAE,cAAiC,EAAE,QAAgB,EAAE,QAAiB,EAAE,eAAkC;QACrK,OAAO,IAAI,CAAC;IAChB,CAAC;IAED,kBAAkB;IAClB,EAAE;IACK,KAAK,CAAC,YAAY,CAAC,MAAc,EAAE,UAAkB,EAAE,cAAiC,EAAE,QAAgB,EAAE,QAAiB,EAAE,eAAkC;QACpK,OAAO,IAAI,CAAC;IAChB,CAAC;IAED,0CAA0C;IAC1C,EAAE;IACK,KAAK,CAAC,aAAa,CAAC,UAAkB;QACzC,OAAO,IAAI,CAAC;IAChB,CAAC;;AAxBD,mHAAmH;AACrG,mBAAQ,GAAe,IAAI,CAAC","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.runtime;\n\ntype int8 = number;\ntype int16 = number;\ntype int32 = number;\ntype float32 = number;\ntype float64 = number;\n\nimport { ABuffer } from \"../buffer/ABuffer\";\nimport { StringMap } from \"../collection/StringMap\";\n\n/**\n * Class Downloader defines a platform independant download tool.\n */\n/** @internal */\nexport class Downloader {\n /** The default instance of this tool for this runtime. This needs to be set by the host application on startup. */\n public static INSTANCE: Downloader = null;\n\n // create a new downloader\n //\n public constructor() {\n }\n\n // download a byte array\n //\n public async downloadBytes(method: string, requestURL: string, requestHeaders: StringMap<string>, postText: string, postData: ABuffer, responseHeaders: StringMap<string>): Promise<ABuffer> {\n return null;\n }\n\n // download a text\n //\n public async downloadText(method: string, requestURL: string, requestHeaders: StringMap<string>, postText: string, postData: ABuffer, responseHeaders: StringMap<string>): Promise<string> {\n return null;\n }\n\n // download a text without request options\n //\n public async downloadText2(requestURL: string): Promise<string> {\n return null;\n }\n}\n"]}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/** @packageDocumentation
|
|
2
|
+
* @module OrbitGT
|
|
3
|
+
*/
|
|
4
|
+
import { ABuffer } from "../buffer/ABuffer";
|
|
5
|
+
import { StringMap } from "../collection/StringMap";
|
|
6
|
+
import { Downloader } from "./Downloader";
|
|
7
|
+
/**
|
|
8
|
+
* Class DownloaderNode implements a downloader using the Node platform.
|
|
9
|
+
*/
|
|
10
|
+
/** @internal */
|
|
11
|
+
export declare class DownloaderNode extends Downloader {
|
|
12
|
+
constructor();
|
|
13
|
+
private static joinChunks;
|
|
14
|
+
private download0;
|
|
15
|
+
downloadBytes(method: string, requestURL: string, requestHeaders: StringMap<string>, postText: string, postData: ABuffer, responseHeaders: StringMap<string>): Promise<ABuffer>;
|
|
16
|
+
downloadText(method: string, requestURL: string, requestHeaders: StringMap<string>, postText: string, postData: ABuffer, responseHeaders: StringMap<string>): Promise<string>;
|
|
17
|
+
downloadText2(requestURL: string): Promise<string>;
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=DownloaderNode.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DownloaderNode.d.ts","sourceRoot":"","sources":["../../../../src/system/runtime/DownloaderNode.ts"],"names":[],"mappings":"AAIA;;GAEG;AAIH,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACpD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C;;GAEG;AACH,gBAAgB;AAChB,qBAAa,cAAe,SAAQ,UAAU;;IAS1C,OAAO,CAAC,MAAM,CAAC,UAAU;IASzB,OAAO,CAAC,SAAS;IAyEK,aAAa,CAAC,MAAM,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,cAAc,EAAE,SAAS,CAAC,MAAM,CAAC,EAAE,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,OAAO,EAAE,eAAe,EAAE,SAAS,CAAC,MAAM,CAAC,GAAG,OAAO,CAAC,OAAO,CAAC;IAM/K,YAAY,CAAC,MAAM,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,cAAc,EAAE,SAAS,CAAC,MAAM,CAAC,EAAE,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,OAAO,EAAE,eAAe,EAAE,SAAS,CAAC,MAAM,CAAC,GAAG,OAAO,CAAC,MAAM,CAAC;IAM7K,aAAa,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;CAG3E"}
|
|
@@ -0,0 +1,126 @@
|
|
|
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 * as http from "http";
|
|
9
|
+
import * as https from "https";
|
|
10
|
+
import { ABuffer } from "../buffer/ABuffer";
|
|
11
|
+
import { StringMap } from "../collection/StringMap";
|
|
12
|
+
import { Downloader } from "./Downloader";
|
|
13
|
+
/**
|
|
14
|
+
* Class DownloaderNode implements a downloader using the Node platform.
|
|
15
|
+
*/
|
|
16
|
+
/** @internal */
|
|
17
|
+
export class DownloaderNode extends Downloader {
|
|
18
|
+
// create a new downloader
|
|
19
|
+
//
|
|
20
|
+
constructor() {
|
|
21
|
+
super();
|
|
22
|
+
}
|
|
23
|
+
// join the downloaded chunks into the requested response type
|
|
24
|
+
//
|
|
25
|
+
static joinChunks(buffers, responseType) {
|
|
26
|
+
//console.log("joining "+buffers.length+" downloaded chunks to type '"+responseType+"'");
|
|
27
|
+
let joined = Buffer.concat(buffers);
|
|
28
|
+
if (responseType === "text")
|
|
29
|
+
return joined.toString('utf8');
|
|
30
|
+
return ABuffer.wrapRange(joined.buffer, joined.byteOffset, joined.length);
|
|
31
|
+
}
|
|
32
|
+
// make a generic download
|
|
33
|
+
//
|
|
34
|
+
download0(method, requestURL, responseType, requestHeaders, postText, postData, responseHeaders, callback, errorCallback) {
|
|
35
|
+
// set the defaults
|
|
36
|
+
if (method == null)
|
|
37
|
+
method = "GET";
|
|
38
|
+
if (requestHeaders == null)
|
|
39
|
+
requestHeaders = new StringMap();
|
|
40
|
+
// set the options
|
|
41
|
+
//console.log("connect method '"+method+"' to '"+requestURL+"'");
|
|
42
|
+
let options = {};
|
|
43
|
+
options["method"] = method;
|
|
44
|
+
// set the URL
|
|
45
|
+
let url = new URL(requestURL);
|
|
46
|
+
options["protocol"] = url.protocol;
|
|
47
|
+
options["host"] = url.hostname;
|
|
48
|
+
options["port"] = url.port;
|
|
49
|
+
options["path"] = url.pathname + url.search;
|
|
50
|
+
// set the request headers
|
|
51
|
+
if (requestHeaders.size() > 0) {
|
|
52
|
+
// create the headers object
|
|
53
|
+
//console.log("adding request headers");
|
|
54
|
+
let headers = {};
|
|
55
|
+
options["headers"] = headers;
|
|
56
|
+
// add the header lines
|
|
57
|
+
for (let headerName of requestHeaders.keys()) {
|
|
58
|
+
let headerValue = requestHeaders.get(headerName);
|
|
59
|
+
//console.log("setting request header '"+headerName+"' value '"+headerValue+"'");
|
|
60
|
+
headers[headerName] = headerValue;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
// make the request
|
|
64
|
+
let request;
|
|
65
|
+
if (url.protocol === "http:")
|
|
66
|
+
request = http.request(options, (response) => {
|
|
67
|
+
//console.log("download '"+requestURL+"' response code: "+response.statusCode);
|
|
68
|
+
if (responseHeaders != null) {
|
|
69
|
+
for (let propertyName in response.headers) {
|
|
70
|
+
if (typeof response.headers[propertyName] === "string")
|
|
71
|
+
responseHeaders.set(propertyName, response.headers[propertyName]);
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
// process the incoming download chuncks
|
|
75
|
+
let chunks = [];
|
|
76
|
+
response.on("data", data => { chunks.push(data); });
|
|
77
|
+
response.on("end", () => { callback(DownloaderNode.joinChunks(chunks, responseType)); });
|
|
78
|
+
response.on("error", () => { errorCallback("error when downloading '" + requestURL + "'"); });
|
|
79
|
+
});
|
|
80
|
+
else
|
|
81
|
+
request = https.request(options, (response) => {
|
|
82
|
+
//console.log("download '"+requestURL+"' response code: "+response.statusCode);
|
|
83
|
+
if (responseHeaders != null) {
|
|
84
|
+
for (let propertyName in response.headers) {
|
|
85
|
+
if (typeof response.headers[propertyName] === "string")
|
|
86
|
+
responseHeaders.set(propertyName, response.headers[propertyName]);
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
// process the incoming download chuncks
|
|
90
|
+
let chunks = [];
|
|
91
|
+
response.on("data", data => { chunks.push(data); });
|
|
92
|
+
response.on("end", () => { callback(DownloaderNode.joinChunks(chunks, responseType)); });
|
|
93
|
+
response.on("error", () => { errorCallback("error when downloading '" + requestURL + "'"); });
|
|
94
|
+
});
|
|
95
|
+
// post text?
|
|
96
|
+
if (postText != null) {
|
|
97
|
+
// send the request to the server
|
|
98
|
+
//console.log("posting text '"+postText+"'");
|
|
99
|
+
request.write(postText); // encoding argument is optional, defaults to 'utf8'
|
|
100
|
+
}
|
|
101
|
+
// post data?
|
|
102
|
+
else if (postData != null) {
|
|
103
|
+
// send the request to the server
|
|
104
|
+
//console.log("posting binary data, size "+postData.size());
|
|
105
|
+
request.write(Buffer.from(postData.toNativeBuffer()));
|
|
106
|
+
}
|
|
107
|
+
// send the request
|
|
108
|
+
request.end();
|
|
109
|
+
}
|
|
110
|
+
// Downloader base class method override
|
|
111
|
+
//
|
|
112
|
+
async downloadBytes(method, requestURL, requestHeaders, postText, postData, responseHeaders) {
|
|
113
|
+
return new Promise((resolve, reject) => { this.download0(method, requestURL, "arraybuffer" /*responseType*/, requestHeaders, postText, postData, responseHeaders, resolve, reject); });
|
|
114
|
+
}
|
|
115
|
+
// Downloader base class method override
|
|
116
|
+
//
|
|
117
|
+
async downloadText(method, requestURL, requestHeaders, postText, postData, responseHeaders) {
|
|
118
|
+
return new Promise((resolve, reject) => { this.download0(method, requestURL, "text" /*responseType*/, requestHeaders, postText, postData, responseHeaders, resolve, reject); });
|
|
119
|
+
}
|
|
120
|
+
// Downloader base class method override
|
|
121
|
+
//
|
|
122
|
+
async downloadText2(requestURL) {
|
|
123
|
+
return await this.downloadText("GET", requestURL, null, null, null, null);
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
//# sourceMappingURL=DownloaderNode.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DownloaderNode.js","sourceRoot":"","sources":["../../../../src/system/runtime/DownloaderNode.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAEH,OAAO,KAAK,IAAI,MAAM,MAAM,CAAC;AAC7B,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACpD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C;;GAEG;AACH,gBAAgB;AAChB,MAAM,OAAO,cAAe,SAAQ,UAAU;IAC1C,0BAA0B;IAC1B,EAAE;IACF;QACI,KAAK,EAAE,CAAC;IACZ,CAAC;IAED,8DAA8D;IAC9D,EAAE;IACM,MAAM,CAAC,UAAU,CAAC,OAAsB,EAAE,YAAoB;QAClE,yFAAyF;QACzF,IAAI,MAAM,GAAW,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;QAC5C,IAAI,YAAY,KAAK,MAAM;YAAE,OAAO,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;QAC5D,OAAO,OAAO,CAAC,SAAS,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,UAAU,EAAE,MAAM,CAAC,MAAM,CA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,EAAE,cAAc,EAAE,QAAQ,EAAE,QAAQ,EAAE,eAAe,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IACnM,CAAC;IAED,wCAAwC;IACxC,EAAE;IACc,KAAK,CAAC,YAAY,CAAC,MAAc,EAAE,UAAkB,EAAE,cAAiC,EAAE,QAAgB,EAAE,QAAiB,EAAE,eAAkC;QAC7K,OAAO,IAAI,OAAO,CAAS,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE,GAAG,IAAI,CAAC,SAAS,CAAC,MAAM,EAAE,UAAU,EAAE,MAAM,CAAA,gBAAgB,EAAE,cAAc,EAAE,QAAQ,EAAE,QAAQ,EAAE,eAAe,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IAC3L,CAAC;IAED,wCAAwC;IACxC,EAAE;IACc,KAAK,CAAC,aAAa,CAAC,UAAkB;QAClD,OAAO,MAAM,IAAI,CAAC,YAAY,CAAC,KAAK,EAAE,UAAU,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;IAC9E,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\nimport * as http from \"http\";\nimport * as https from \"https\";\nimport { ABuffer } from \"../buffer/ABuffer\";\nimport { StringMap } from \"../collection/StringMap\";\nimport { Downloader } from \"./Downloader\";\n\n/**\n * Class DownloaderNode implements a downloader using the Node platform.\n */\n/** @internal */\nexport class DownloaderNode extends Downloader {\n // create a new downloader\n //\n public constructor() {\n super();\n }\n\n // join the downloaded chunks into the requested response type\n //\n private static joinChunks(buffers: Array<Buffer>, responseType: string): any {\n //console.log(\"joining \"+buffers.length+\" downloaded chunks to type '\"+responseType+\"'\");\n let joined: Buffer = Buffer.concat(buffers);\n if (responseType === \"text\") return joined.toString('utf8');\n return ABuffer.wrapRange(joined.buffer, joined.byteOffset, joined.length);\n }\n\n // make a generic download\n //\n private download0(method: string, requestURL: string, responseType: string, requestHeaders: StringMap<string>, postText: string, postData: ABuffer, responseHeaders: StringMap<string>, callback: (response: any) => void, errorCallback: (err: any) => void): void {\n // set the defaults\n if (method == null) method = \"GET\";\n if (requestHeaders == null) requestHeaders = new StringMap<string>();\n // set the options\n //console.log(\"connect method '\"+method+\"' to '\"+requestURL+\"'\");\n let options: object = {};\n options[\"method\"] = method;\n // set the URL\n let url: URL = new URL(requestURL);\n options[\"protocol\"] = url.protocol;\n options[\"host\"] = url.hostname;\n options[\"port\"] = url.port;\n options[\"path\"] = url.pathname + url.search;\n // set the request headers\n if (requestHeaders.size() > 0) {\n // create the headers object\n //console.log(\"adding request headers\");\n let headers: object = {};\n options[\"headers\"] = headers;\n // add the header lines\n for (let headerName of requestHeaders.keys()) {\n let headerValue: string = requestHeaders.get(headerName);\n //console.log(\"setting request header '\"+headerName+\"' value '\"+headerValue+\"'\");\n headers[headerName] = headerValue;\n }\n }\n // make the request\n let request: http.ClientRequest;\n if (url.protocol === \"http:\") request = http.request(options, (response) => {\n //console.log(\"download '\"+requestURL+\"' response code: \"+response.statusCode);\n if (responseHeaders != null) {\n for (let propertyName in response.headers) {\n if (typeof response.headers[propertyName] === \"string\") responseHeaders.set(propertyName, response.headers[propertyName] as string);\n }\n }\n // process the incoming download chuncks\n let chunks: Array<Buffer> = [];\n response.on(\"data\", data => { chunks.push(data); });\n response.on(\"end\", () => { callback(DownloaderNode.joinChunks(chunks, responseType)); });\n response.on(\"error\", () => { errorCallback(\"error when downloading '\" + requestURL + \"'\"); });\n })\n else request = https.request(options, (response) => {\n //console.log(\"download '\"+requestURL+\"' response code: \"+response.statusCode);\n if (responseHeaders != null) {\n for (let propertyName in response.headers) {\n if (typeof response.headers[propertyName] === \"string\") responseHeaders.set(propertyName, response.headers[propertyName] as string);\n }\n }\n // process the incoming download chuncks\n let chunks: Array<Buffer> = [];\n response.on(\"data\", data => { chunks.push(data); });\n response.on(\"end\", () => { callback(DownloaderNode.joinChunks(chunks, responseType)); });\n response.on(\"error\", () => { errorCallback(\"error when downloading '\" + requestURL + \"'\"); });\n });\n // post text?\n if (postText != null) {\n // send the request to the server\n //console.log(\"posting text '\"+postText+\"'\");\n request.write(postText); // encoding argument is optional, defaults to 'utf8'\n }\n // post data?\n else if (postData != null) {\n // send the request to the server\n //console.log(\"posting binary data, size \"+postData.size());\n request.write(Buffer.from(postData.toNativeBuffer()));\n }\n // send the request\n request.end();\n }\n\n // Downloader base class method override\n //\n public override async downloadBytes(method: string, requestURL: string, requestHeaders: StringMap<string>, postText: string, postData: ABuffer, responseHeaders: StringMap<string>): Promise<ABuffer> {\n return new Promise<ABuffer>((resolve, reject) => { this.download0(method, requestURL, \"arraybuffer\"/*responseType*/, requestHeaders, postText, postData, responseHeaders, resolve, reject); });\n }\n\n // Downloader base class method override\n //\n public override async downloadText(method: string, requestURL: string, requestHeaders: StringMap<string>, postText: string, postData: ABuffer, responseHeaders: StringMap<string>): Promise<string> {\n return new Promise<string>((resolve, reject) => { this.download0(method, requestURL, \"text\"/*responseType*/, requestHeaders, postText, postData, responseHeaders, resolve, reject); });\n }\n\n // Downloader base class method override\n //\n public override async downloadText2(requestURL: string): Promise<string> {\n return await this.downloadText(\"GET\", requestURL, null, null, null, null);\n }\n}\n"]}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/** @packageDocumentation
|
|
2
|
+
* @module OrbitGT
|
|
3
|
+
*/
|
|
4
|
+
import { ABuffer } from "../buffer/ABuffer";
|
|
5
|
+
import { StringMap } from "../collection/StringMap";
|
|
6
|
+
import { Downloader } from "./Downloader";
|
|
7
|
+
/**
|
|
8
|
+
* Class DownloaderXhr implements a downloader using an XmlHttpRequest (XHR).
|
|
9
|
+
*/
|
|
10
|
+
/** @internal */
|
|
11
|
+
export declare class DownloaderXhr extends Downloader {
|
|
12
|
+
constructor();
|
|
13
|
+
private static readResponseHeaders;
|
|
14
|
+
private download0;
|
|
15
|
+
downloadBytes(method: string, requestURL: string, requestHeaders: StringMap<string>, postText: string, postData: ABuffer, responseHeaders: StringMap<string>): Promise<ABuffer>;
|
|
16
|
+
downloadText(method: string, requestURL: string, requestHeaders: StringMap<string>, postText: string, postData: ABuffer, responseHeaders: StringMap<string>): Promise<string>;
|
|
17
|
+
downloadText2(requestURL: string): Promise<string>;
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=DownloaderXhr.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DownloaderXhr.d.ts","sourceRoot":"","sources":["../../../../src/system/runtime/DownloaderXhr.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACpD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C;;GAEG;AACH,gBAAgB;AAChB,qBAAa,aAAc,SAAQ,UAAU;;IAS5C,OAAO,CAAC,MAAM,CAAC,mBAAmB;IAclC,OAAO,CAAC,SAAS;IAmEK,aAAa,CAAC,MAAM,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,cAAc,EAAE,SAAS,CAAC,MAAM,CAAC,EAAE,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,OAAO,EAAE,eAAe,EAAE,SAAS,CAAC,MAAM,CAAC,GAAG,OAAO,CAAC,OAAO,CAAC;IAM/K,YAAY,CAAC,MAAM,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,cAAc,EAAE,SAAS,CAAC,MAAM,CAAC,EAAE,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,OAAO,EAAE,eAAe,EAAE,SAAS,CAAC,MAAM,CAAC,GAAG,OAAO,CAAC,MAAM,CAAC;IAM7K,aAAa,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;CAGxE"}
|
|
@@ -0,0 +1,128 @@
|
|
|
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 { ABuffer } from "../buffer/ABuffer";
|
|
9
|
+
import { StringMap } from "../collection/StringMap";
|
|
10
|
+
import { Downloader } from "./Downloader";
|
|
11
|
+
/**
|
|
12
|
+
* Class DownloaderXhr implements a downloader using an XmlHttpRequest (XHR).
|
|
13
|
+
*/
|
|
14
|
+
/** @internal */
|
|
15
|
+
export class DownloaderXhr extends Downloader {
|
|
16
|
+
// create a new downloader
|
|
17
|
+
//
|
|
18
|
+
constructor() {
|
|
19
|
+
super();
|
|
20
|
+
}
|
|
21
|
+
// read the response headers
|
|
22
|
+
//
|
|
23
|
+
static readResponseHeaders(request, responseHeaders) {
|
|
24
|
+
// console.log("reading response headers");
|
|
25
|
+
const headerLines = request.getAllResponseHeaders().trim().split(/[\r\n]+/);
|
|
26
|
+
for (const headerLine of headerLines) {
|
|
27
|
+
const parts = headerLine.split(": ");
|
|
28
|
+
const name = parts[0];
|
|
29
|
+
const value = request.getResponseHeader(name);
|
|
30
|
+
responseHeaders.set(name, value);
|
|
31
|
+
// console.log("response header '"+name+"' value '"+value+"'");
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
// make a generic download
|
|
35
|
+
//
|
|
36
|
+
download0(method, requestURL, responseType, requestHeaders, postText, postData, responseHeaders, callback, errorCallback) {
|
|
37
|
+
// set the defaults
|
|
38
|
+
if (method == null)
|
|
39
|
+
method = "GET";
|
|
40
|
+
if (requestHeaders == null)
|
|
41
|
+
requestHeaders = new StringMap();
|
|
42
|
+
// create the request
|
|
43
|
+
// console.log("connect method '"+method+"' to '"+requestURL+"'");
|
|
44
|
+
const request = new XMLHttpRequest();
|
|
45
|
+
request.open(method, requestURL);
|
|
46
|
+
// set the request headers
|
|
47
|
+
for (const headerName of requestHeaders.keys()) {
|
|
48
|
+
const headerValue = requestHeaders.get(headerName);
|
|
49
|
+
request.setRequestHeader(headerName, headerValue);
|
|
50
|
+
// console.log("setting request header '"+headerName+"' value '"+headerValue+"'");
|
|
51
|
+
}
|
|
52
|
+
// set the response type?
|
|
53
|
+
if (responseType != null) {
|
|
54
|
+
// either "arraybuffer" or "blob" or "document" or "json" or "text"
|
|
55
|
+
if (responseType == "bytes")
|
|
56
|
+
request.responseType = "arraybuffer";
|
|
57
|
+
if (responseType == "arraybuffer")
|
|
58
|
+
request.responseType = "arraybuffer";
|
|
59
|
+
if (responseType == "blob")
|
|
60
|
+
request.responseType = "blob";
|
|
61
|
+
if (responseType == "json")
|
|
62
|
+
request.responseType = "json";
|
|
63
|
+
if (responseType == "text")
|
|
64
|
+
request.responseType = "text";
|
|
65
|
+
// console.log("response type '"+request.responseType+"'");
|
|
66
|
+
}
|
|
67
|
+
// set the response handler
|
|
68
|
+
request.onload = function () {
|
|
69
|
+
// valid response?
|
|
70
|
+
// console.log("download '"+requestURL+"' response code: "+this.status);
|
|
71
|
+
if (this.status >= 200 && this.status < 400) {
|
|
72
|
+
// read the response headers?
|
|
73
|
+
if (responseHeaders != null)
|
|
74
|
+
DownloaderXhr.readResponseHeaders(this, responseHeaders);
|
|
75
|
+
// read the reponse body
|
|
76
|
+
if (this.responseType == "arraybuffer")
|
|
77
|
+
callback(ABuffer.wrap(this.response));
|
|
78
|
+
else
|
|
79
|
+
callback(this.responseText);
|
|
80
|
+
}
|
|
81
|
+
else {
|
|
82
|
+
// invalid response
|
|
83
|
+
// console.log("> error code, so no response");
|
|
84
|
+
callback(null);
|
|
85
|
+
}
|
|
86
|
+
};
|
|
87
|
+
// set the error handler
|
|
88
|
+
request.onerror = function (err) {
|
|
89
|
+
console.error(`download '${requestURL}' error: ${err}`);
|
|
90
|
+
errorCallback(err);
|
|
91
|
+
};
|
|
92
|
+
// post text?
|
|
93
|
+
if (postText != null) {
|
|
94
|
+
// send the request to the server
|
|
95
|
+
// console.log("posting text '"+postText+"'");
|
|
96
|
+
request.setRequestHeader("Content-Type", "text/plain");
|
|
97
|
+
request.send(postText);
|
|
98
|
+
}
|
|
99
|
+
// post data?
|
|
100
|
+
else if (postData != null) {
|
|
101
|
+
// send the request to the server
|
|
102
|
+
// console.log("posting binary data, size "+postData.size());
|
|
103
|
+
request.setRequestHeader("Content-Type", "application/octet-stream");
|
|
104
|
+
request.send(postData.toNativeBuffer());
|
|
105
|
+
}
|
|
106
|
+
else {
|
|
107
|
+
// send the request to the server
|
|
108
|
+
// console.log("sending request");
|
|
109
|
+
request.send(null);
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
// Downloader base class method override
|
|
113
|
+
//
|
|
114
|
+
async downloadBytes(method, requestURL, requestHeaders, postText, postData, responseHeaders) {
|
|
115
|
+
return new Promise((resolve, reject) => { this.download0(method, requestURL, "arraybuffer" /* responseType*/, requestHeaders, postText, postData, responseHeaders, resolve, reject); });
|
|
116
|
+
}
|
|
117
|
+
// Downloader base class method override
|
|
118
|
+
//
|
|
119
|
+
async downloadText(method, requestURL, requestHeaders, postText, postData, responseHeaders) {
|
|
120
|
+
return new Promise((resolve, reject) => { this.download0(method, requestURL, "text" /* responseType*/, requestHeaders, postText, postData, responseHeaders, resolve, reject); });
|
|
121
|
+
}
|
|
122
|
+
// Downloader base class method override
|
|
123
|
+
//
|
|
124
|
+
async downloadText2(requestURL) {
|
|
125
|
+
return await this.downloadText("GET", requestURL, null, null, null, null);
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
//# sourceMappingURL=DownloaderXhr.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DownloaderXhr.js","sourceRoot":"","sources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AK,CAAC,YAAY,CAAC,MAAc,EAAE,UAAkB,EAAE,cAAiC,EAAE,QAAgB,EAAE,QAAiB,EAAE,eAAkC;QAChL,OAAO,IAAI,OAAO,CAAS,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE,GAAG,IAAI,CAAC,SAAS,CAAC,MAAM,EAAE,UAAU,EAAE,MAAM,CAAA,iBAAiB,EAAE,cAAc,EAAE,QAAQ,EAAE,QAAQ,EAAE,eAAe,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IACzL,CAAC;IAED,wCAAwC;IACxC,EAAE;IACc,KAAK,CAAC,aAAa,CAAC,UAAkB;QACrD,OAAO,MAAM,IAAI,CAAC,YAAY,CAAC,KAAK,EAAE,UAAU,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;IAC3E,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\nimport { ABuffer } from \"../buffer/ABuffer\";\nimport { StringMap } from \"../collection/StringMap\";\nimport { Downloader } from \"./Downloader\";\n\n/**\n * Class DownloaderXhr implements a downloader using an XmlHttpRequest (XHR).\n */\n/** @internal */\nexport class DownloaderXhr extends Downloader {\n\t// create a new downloader\n\t//\n\tpublic constructor() {\n\t\tsuper();\n\t}\n\n\t// read the response headers\n\t//\n\tprivate static readResponseHeaders(request: XMLHttpRequest, responseHeaders: StringMap<string>): void {\n\t\t// console.log(\"reading response headers\");\n\t\tconst headerLines: Array<string> = request.getAllResponseHeaders().trim().split(/[\\r\\n]+/);\n\t\tfor (const headerLine of headerLines) {\n\t\t\tconst parts: Array<string> = headerLine.split(\": \");\n\t\t\tconst name: string = parts[0];\n\t\t\tconst value: string = request.getResponseHeader(name);\n\t\t\tresponseHeaders.set(name, value);\n\t\t\t// console.log(\"response header '\"+name+\"' value '\"+value+\"'\");\n\t\t}\n\t}\n\n\t// make a generic download\n\t//\n\tprivate download0(method: string, requestURL: string, responseType: string, requestHeaders: StringMap<string>, postText: string, postData: ABuffer, responseHeaders: StringMap<string>, callback: (response: any) => void, errorCallback: (err: any) => void): void {\n\t\t// set the defaults\n\t\tif (method == null) method = \"GET\";\n\t\tif (requestHeaders == null) requestHeaders = new StringMap<string>();\n\t\t// create the request\n\t\t// console.log(\"connect method '\"+method+\"' to '\"+requestURL+\"'\");\n\t\tconst request: XMLHttpRequest = new XMLHttpRequest();\n\t\trequest.open(method, requestURL);\n\t\t// set the request headers\n\t\tfor (const headerName of requestHeaders.keys()) {\n\t\t\tconst headerValue: string = requestHeaders.get(headerName);\n\t\t\trequest.setRequestHeader(headerName, headerValue);\n\t\t\t// console.log(\"setting request header '\"+headerName+\"' value '\"+headerValue+\"'\");\n\t\t}\n\t\t// set the response type?\n\t\tif (responseType != null) {\n\t\t\t// either \"arraybuffer\" or \"blob\" or \"document\" or \"json\" or \"text\"\n\t\t\tif (responseType == \"bytes\") request.responseType = \"arraybuffer\";\n\t\t\tif (responseType == \"arraybuffer\") request.responseType = \"arraybuffer\";\n\t\t\tif (responseType == \"blob\") request.responseType = \"blob\";\n\t\t\tif (responseType == \"json\") request.responseType = \"json\";\n\t\t\tif (responseType == \"text\") request.responseType = \"text\";\n\t\t\t// console.log(\"response type '\"+request.responseType+\"'\");\n\t\t}\n\t\t// set the response handler\n\t\trequest.onload = function () {\n\t\t\t// valid response?\n\t\t\t// console.log(\"download '\"+requestURL+\"' response code: \"+this.status);\n\t\t\tif (this.status >= 200 && this.status < 400) {\n\t\t\t\t// read the response headers?\n\t\t\t\tif (responseHeaders != null) DownloaderXhr.readResponseHeaders(this, responseHeaders);\n\t\t\t\t// read the reponse body\n\t\t\t\tif (this.responseType == \"arraybuffer\") callback(ABuffer.wrap(this.response));\n\t\t\t\telse callback(this.responseText);\n\t\t\t} else {\n\t\t\t\t// invalid response\n\t\t\t\t// console.log(\"> error code, so no response\");\n\t\t\t\tcallback(null);\n\t\t\t}\n\t\t};\n\t\t// set the error handler\n\t\trequest.onerror = function (err) {\n\t\t\tconsole.error(`download '${requestURL}' error: ${err}`);\n\t\t\terrorCallback(err);\n\t\t};\n\t\t// post text?\n\t\tif (postText != null) {\n\t\t\t// send the request to the server\n\t\t\t// console.log(\"posting text '\"+postText+\"'\");\n\t\t\trequest.setRequestHeader(\"Content-Type\", \"text/plain\");\n\t\t\trequest.send(postText);\n\t\t}\n\t\t// post data?\n\t\telse if (postData != null) {\n\t\t\t// send the request to the server\n\t\t\t// console.log(\"posting binary data, size \"+postData.size());\n\t\t\trequest.setRequestHeader(\"Content-Type\", \"application/octet-stream\");\n\t\t\trequest.send(postData.toNativeBuffer());\n\t\t} else {\n\t\t\t// send the request to the server\n\t\t\t// console.log(\"sending request\");\n\t\t\trequest.send(null);\n\t\t}\n\t}\n\n\t// Downloader base class method override\n\t//\n\tpublic override async downloadBytes(method: string, requestURL: string, requestHeaders: StringMap<string>, postText: string, postData: ABuffer, responseHeaders: StringMap<string>): Promise<ABuffer> {\n\t\treturn new Promise<ABuffer>((resolve, reject) => { this.download0(method, requestURL, \"arraybuffer\"/* responseType*/, requestHeaders, postText, postData, responseHeaders, resolve, reject); });\n\t}\n\n\t// Downloader base class method override\n\t//\n\tpublic override async downloadText(method: string, requestURL: string, requestHeaders: StringMap<string>, postText: string, postData: ABuffer, responseHeaders: StringMap<string>): Promise<string> {\n\t\treturn new Promise<string>((resolve, reject) => { this.download0(method, requestURL, \"text\"/* responseType*/, requestHeaders, postText, postData, responseHeaders, resolve, reject); });\n\t}\n\n\t// Downloader base class method override\n\t//\n\tpublic override async downloadText2(requestURL: string): Promise<string> {\n\t\treturn await this.downloadText(\"GET\", requestURL, null, null, null, null);\n\t}\n}\n"]}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/** @packageDocumentation
|
|
2
|
+
* @module OrbitGT
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Class Message prints debug, information, warning and error messages to the console.
|
|
6
|
+
*/
|
|
7
|
+
/** @internal */
|
|
8
|
+
export declare class Message {
|
|
9
|
+
/** Disabled by default, enable to see all messages */
|
|
10
|
+
static DISPLAY: boolean;
|
|
11
|
+
private constructor();
|
|
12
|
+
static log(message: string): void;
|
|
13
|
+
static print(module: string, message: string): void;
|
|
14
|
+
static printWarning(module: string, message: string): void;
|
|
15
|
+
static printError(module: string, exception: any, message: string): void;
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=Message.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Message.d.ts","sourceRoot":"","sources":["../../../../src/system/runtime/Message.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH;;GAEG;AACH,gBAAgB;AAChB,qBAAa,OAAO;IAChB,sDAAsD;IACtD,OAAc,OAAO,EAAE,OAAO,CAAS;IAEvC,OAAO;WAGO,GAAG,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI;WAI1B,KAAK,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,IAAI;WAI5C,YAAY,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,IAAI;WAInD,UAAU,CAAC,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,GAAG,EAAE,OAAO,EAAE,MAAM,GAAG,IAAI;CAIlF"}
|