@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,122 @@
|
|
|
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 { LittleEndian } from "../../../system/buffer/LittleEndian";
|
|
9
|
+
/**
|
|
10
|
+
* Class FileRecord defines the global file record.
|
|
11
|
+
*
|
|
12
|
+
* @version 1.0 January 2014
|
|
13
|
+
*/
|
|
14
|
+
/** @internal */
|
|
15
|
+
export class FileRecord {
|
|
16
|
+
/**
|
|
17
|
+
* Create a new record.
|
|
18
|
+
*/
|
|
19
|
+
constructor(options, crs, levelCount, attributeCount, blockSize, metricCellSize, creationTime) {
|
|
20
|
+
this._options = options;
|
|
21
|
+
this._crs = crs;
|
|
22
|
+
this._levelCount = levelCount;
|
|
23
|
+
this._attributeCount = attributeCount;
|
|
24
|
+
this._blockSize = blockSize;
|
|
25
|
+
this._metricCellSize = metricCellSize;
|
|
26
|
+
this._creationTime = creationTime;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Get the options.
|
|
30
|
+
* @return the options.
|
|
31
|
+
*/
|
|
32
|
+
getOptions() {
|
|
33
|
+
return this._options;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Get the CRS.
|
|
37
|
+
* @return the CRS.
|
|
38
|
+
*/
|
|
39
|
+
getCRS() {
|
|
40
|
+
return this._crs;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Get the number of levels.
|
|
44
|
+
* @return the number.
|
|
45
|
+
*/
|
|
46
|
+
getLevelCount() {
|
|
47
|
+
return this._levelCount;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Get the number of attributes.
|
|
51
|
+
* @return the number.
|
|
52
|
+
*/
|
|
53
|
+
getAttributeCount() {
|
|
54
|
+
return this._attributeCount;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Get the size of blocks.
|
|
58
|
+
* @return the number.
|
|
59
|
+
*/
|
|
60
|
+
getBlockSize() {
|
|
61
|
+
return this._blockSize;
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Get the metric cell size.
|
|
65
|
+
* @return the metric cell size.
|
|
66
|
+
*/
|
|
67
|
+
getMetricCellSize() {
|
|
68
|
+
return this._metricCellSize;
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* Get the creation timestamp.
|
|
72
|
+
* @return the creation timestamp.
|
|
73
|
+
*/
|
|
74
|
+
getCreationTime() {
|
|
75
|
+
return this._creationTime;
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* Read a record.
|
|
79
|
+
* @param data the record data.
|
|
80
|
+
* @return the record.
|
|
81
|
+
*/
|
|
82
|
+
static readFromBuffer(data) {
|
|
83
|
+
/* Get the record fields */
|
|
84
|
+
let options = LittleEndian.readBufferInt(data, 0);
|
|
85
|
+
let crs = LittleEndian.readBufferString(data, 4);
|
|
86
|
+
let dataOffset = 4 + LittleEndian.getStringByteCount(crs);
|
|
87
|
+
let levelCount = LittleEndian.readBufferInt(data, dataOffset + 0);
|
|
88
|
+
let attributeCount = LittleEndian.readBufferInt(data, dataOffset + 4);
|
|
89
|
+
let blockSize = LittleEndian.readBufferInt(data, dataOffset + 8);
|
|
90
|
+
let metricCellSize = LittleEndian.readBufferDouble(data, dataOffset + 12);
|
|
91
|
+
let creationTime = LittleEndian.readBufferLong(data, dataOffset + 20);
|
|
92
|
+
/* Return the record */
|
|
93
|
+
return new FileRecord(options, crs, levelCount, attributeCount, blockSize, metricCellSize, creationTime);
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* Read a record.
|
|
97
|
+
* @param fileAccess the access to the file.
|
|
98
|
+
* @param offset the file offset to the record.
|
|
99
|
+
* @param size the file size to the record.
|
|
100
|
+
* @return the record.
|
|
101
|
+
*/
|
|
102
|
+
static async readNew(fileStorage, fileName, offset, size) {
|
|
103
|
+
/* Read the record */
|
|
104
|
+
let data = await fileStorage.readFilePart(fileName, offset, size.toInt());
|
|
105
|
+
/* Parse the record */
|
|
106
|
+
return FileRecord.readFromBuffer(data);
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* Write the record.
|
|
110
|
+
* @param output the output stream.
|
|
111
|
+
*/
|
|
112
|
+
write(output) {
|
|
113
|
+
LittleEndian.writeStreamInt(output, this._options);
|
|
114
|
+
LittleEndian.writeStreamString(output, this._crs);
|
|
115
|
+
LittleEndian.writeStreamInt(output, this._levelCount);
|
|
116
|
+
LittleEndian.writeStreamInt(output, this._attributeCount);
|
|
117
|
+
LittleEndian.writeStreamInt(output, this._blockSize);
|
|
118
|
+
LittleEndian.writeStreamDouble(output, this._metricCellSize);
|
|
119
|
+
LittleEndian.writeStreamLong(output, this._creationTime);
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
//# sourceMappingURL=FileRecord.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FileRecord.js","sourceRoot":"","sources":["../../../../../src/pointcloud/format/opc/FileRecord.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAWH,OAAO,EAAE,YAAY,EAAE,MAAM,qCAAqC,CAAC;AAKnE;;;;GAIG;AACH,gBAAgB;AAChB,MAAM,OAAO,UAAU;IAgBnB;;OAEG;IACH,YAAmB,OAAc,EAAE,GAAW,EAAE,UAAiB,EAAE,cAAqB,EAAE,SAAgB,EAAE,cAAuB,EAAE,YAAmB;QACpJ,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAC;QACxB,IAAI,CAAC,IAAI,GAAG,GAAG,CAAC;QAChB,IAAI,CAAC,WAAW,GAAG,UAAU,CAAC;QAC9B,IAAI,CAAC,eAAe,GAAG,cAAc,CAAC;QACtC,IAAI,CAAC,UAAU,GAAG,SAAS,CAAC;QAC5B,IAAI,CAAC,eAAe,GAAG,cAAc,CAAC;QACtC,IAAI,CAAC,aAAa,GAAG,YAAY,CAAC;IACtC,CAAC;IAED;;;OAGG;IACI,UAAU;QACb,OAAO,IAAI,CAAC,QAAQ,CAAC;IACzB,CAAC;IAED;;;OAGG;IACI,MAAM;QACT,OAAO,IAAI,CAAC,IAAI,CAAC;IACrB,CAAC;IAED;;;OAGG;IACI,aAAa;QAChB,OAAO,IAAI,CAAC,WAAW,CAAC;IAC5B,CAAC;IAED;;;OAGG;IACI,iBAAiB;QACpB,OAAO,IAAI,CAAC,eAAe,CAAC;IAChC,CAAC;IAED;;;OAGG;I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QACrB,IAAI,IAAI,GAAY,MAAM,WAAW,CAAC,YAAY,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,CAAC,KAAK,EAAE,CAAC,CAAC;QACnF,sBAAsB;QACtB,OAAO,UAAU,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC;IAC3C,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,MAAiB;QAC1B,YAAY,CAAC,cAAc,CAAC,MAAM,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC;QACnD,YAAY,CAAC,iBAAiB,CAAC,MAAM,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;QAClD,YAAY,CAAC,cAAc,CAAC,MAAM,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC;QACtD,YAAY,CAAC,cAAc,CAAC,MAAM,EAAE,IAAI,CAAC,eAAe,CAAC,CAAC;QAC1D,YAAY,CAAC,cAAc,CAAC,MAAM,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC;QACrD,YAAY,CAAC,iBAAiB,CAAC,MAAM,EAAE,IAAI,CAAC,eAAe,CAAC,CAAC;QAC7D,YAAY,CAAC,eAAe,CAAC,MAAM,EAAE,IAAI,CAAC,aAAa,CAAC,CAAC;IAC7D,CAAC;CACJ","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module OrbitGT\n */\n\n//package orbitgt.pointcloud.format.opc;\n\ntype int8 = number;\ntype int16 = number;\ntype int32 = number;\ntype float32 = number;\ntype float64 = number;\n\nimport { ABuffer } from \"../../../system/buffer/ABuffer\";\nimport { LittleEndian } from \"../../../system/buffer/LittleEndian\";\nimport { OutStream } from \"../../../system/io/OutStream\";\nimport { ALong } from \"../../../system/runtime/ALong\";\nimport { FileStorage } from \"../../../system/storage/FileStorage\";\n\n/**\n * Class FileRecord defines the global file record.\n *\n * @version 1.0 January 2014\n */\n/** @internal */\nexport class FileRecord {\n /** The optionsALong */\n private _options: int32;\n /** The CRS */\n private _crs: string;\n /** The number of levels (4 byte) */\n private _levelCount: int32;\n /** The number of attributes (4 byte) */\n private _attributeCount: int32;\n /** The size of the blocks (4 byte) */\n private _blockSize: int32;\n /** The metric level-0 cell size (8 byte) */\n private _metricCellSize: float64;\n /** The creation timestamp (8 byte) */\n private _creationTime: ALong;\n\n /**\n * Create a new record.\n */\n public constructor(options: int32, crs: string, levelCount: int32, attributeCount: int32, blockSize: int32, metricCellSize: float64, creationTime: ALong) {\n this._options = options;\n this._crs = crs;\n this._levelCount = levelCount;\n this._attributeCount = attributeCount;\n this._blockSize = blockSize;\n this._metricCellSize = metricCellSize;\n this._creationTime = creationTime;\n }\n\n /**\n * Get the options.\n * @return the options.\n */\n public getOptions(): int32 {\n return this._options;\n }\n\n /**\n * Get the CRS.\n * @return the CRS.\n */\n public getCRS(): string {\n return this._crs;\n }\n\n /**\n * Get the number of levels.\n * @return the number.\n */\n public getLevelCount(): int32 {\n return this._levelCount;\n }\n\n /**\n * Get the number of attributes.\n * @return the number.\n */\n public getAttributeCount(): int32 {\n return this._attributeCount;\n }\n\n /**\n * Get the size of blocks.\n * @return the number.\n */\n public getBlockSize(): int32 {\n return this._blockSize;\n }\n\n /**\n * Get the metric cell size.\n * @return the metric cell size.\n */\n public getMetricCellSize(): float64 {\n return this._metricCellSize;\n }\n\n /**\n * Get the creation timestamp.\n * @return the creation timestamp.\n */\n public getCreationTime(): ALong {\n return this._creationTime;\n }\n\n /**\n * Read a record.\n * @param data the record data.\n * @return the record.\n */\n private static readFromBuffer(data: ABuffer): FileRecord {\n /* Get the record fields */\n let options: int32 = LittleEndian.readBufferInt(data, 0);\n let crs: string = LittleEndian.readBufferString(data, 4);\n let dataOffset: int32 = 4 + LittleEndian.getStringByteCount(crs);\n let levelCount: int32 = LittleEndian.readBufferInt(data, dataOffset + 0);\n let attributeCount: int32 = LittleEndian.readBufferInt(data, dataOffset + 4);\n let blockSize: int32 = LittleEndian.readBufferInt(data, dataOffset + 8);\n let metricCellSize: float64 = LittleEndian.readBufferDouble(data, dataOffset + 12);\n let creationTime: ALong = LittleEndian.readBufferLong(data, dataOffset + 20);\n /* Return the record */\n return new FileRecord(options, crs, levelCount, attributeCount, blockSize, metricCellSize, creationTime);\n }\n\n /**\n * Read a record.\n * @param fileAccess the access to the file.\n * @param offset the file offset to the record.\n * @param size the file size to the record.\n * @return the record.\n */\n public static async readNew(fileStorage: FileStorage, fileName: string, offset: ALong, size: ALong): Promise<FileRecord> {\n /* Read the record */\n let data: ABuffer = await fileStorage.readFilePart(fileName, offset, size.toInt());\n /* Parse the record */\n return FileRecord.readFromBuffer(data);\n }\n\n /**\n * Write the record.\n * @param output the output stream.\n */\n public write(output: OutStream): void {\n LittleEndian.writeStreamInt(output, this._options);\n LittleEndian.writeStreamString(output, this._crs);\n LittleEndian.writeStreamInt(output, this._levelCount);\n LittleEndian.writeStreamInt(output, this._attributeCount);\n LittleEndian.writeStreamInt(output, this._blockSize);\n LittleEndian.writeStreamDouble(output, this._metricCellSize);\n LittleEndian.writeStreamLong(output, this._creationTime);\n }\n}\n"]}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
/** @packageDocumentation
|
|
2
|
+
* @module OrbitGT
|
|
3
|
+
*/
|
|
4
|
+
declare type int32 = number;
|
|
5
|
+
import { ContentLoader } from "../../../system/storage/ContentLoader";
|
|
6
|
+
import { CloudPoint } from "../../model/CloudPoint";
|
|
7
|
+
import { PointDataRaw } from "../../model/PointDataRaw";
|
|
8
|
+
import { ReadRequest } from "../../model/ReadRequest";
|
|
9
|
+
import { TileIndex } from "../../model/TileIndex";
|
|
10
|
+
import { FileReader } from "./FileReader";
|
|
11
|
+
import { GeometryRecord } from "./GeometryRecord";
|
|
12
|
+
import { TileReadBuffer } from "./TileReadBuffer";
|
|
13
|
+
/**
|
|
14
|
+
* Class GeometryReader reads geometry data.
|
|
15
|
+
*
|
|
16
|
+
* @version 1.0 January 2014
|
|
17
|
+
*/
|
|
18
|
+
/** @internal */
|
|
19
|
+
export declare class GeometryReader {
|
|
20
|
+
/** The size of the high-resolution record in the file */
|
|
21
|
+
static readonly RECORD_SIZE_HR: int32;
|
|
22
|
+
/** The size of the low-resolution record in the file */
|
|
23
|
+
static readonly RECORD_SIZE_LR: int32;
|
|
24
|
+
/** The number of bins (subdivisions) in a multi-resolution tile */
|
|
25
|
+
static readonly MR_BIN_COUNT: int32;
|
|
26
|
+
/** The file reader */
|
|
27
|
+
private _fileReader;
|
|
28
|
+
/** The level */
|
|
29
|
+
private _level;
|
|
30
|
+
/** The geometry record */
|
|
31
|
+
private _geometryRecord;
|
|
32
|
+
/** The location of the geometry data */
|
|
33
|
+
private _geometryDataPart;
|
|
34
|
+
/**
|
|
35
|
+
* Create a new reader.
|
|
36
|
+
* @param opcReader the file reader.
|
|
37
|
+
* @param level the level.
|
|
38
|
+
*/
|
|
39
|
+
constructor(fileReader: FileReader, level: int32);
|
|
40
|
+
/**
|
|
41
|
+
* Load the data.
|
|
42
|
+
* @return the reader.
|
|
43
|
+
*/
|
|
44
|
+
loadData(fileContents: ContentLoader): GeometryReader;
|
|
45
|
+
/**
|
|
46
|
+
* Get the geometry record.
|
|
47
|
+
* @return the geometry record.
|
|
48
|
+
*/
|
|
49
|
+
getGeometryRecord(): GeometryRecord;
|
|
50
|
+
/**
|
|
51
|
+
* Read the raw data for a tile.
|
|
52
|
+
* @param tile the tile.
|
|
53
|
+
* @param tileBuffer the buffer to read into.
|
|
54
|
+
* @param readRequest the read parameters (contains the result read statistics).
|
|
55
|
+
*/
|
|
56
|
+
readTileData2(tile: TileIndex, pointOffset: int32, pointCount: int32, tileBuffer: TileReadBuffer, readRequest: ReadRequest, fileContents: ContentLoader): void;
|
|
57
|
+
/**
|
|
58
|
+
* Convert a low-resolution coordinate to a high-resolution one.
|
|
59
|
+
* @param local the low-resolution coordinate.
|
|
60
|
+
* @return the high-resolution coordinate.
|
|
61
|
+
*/
|
|
62
|
+
static lowToHighResolution(local: int32): int32;
|
|
63
|
+
/**
|
|
64
|
+
* Get geometry data.
|
|
65
|
+
* @param tile the tile.
|
|
66
|
+
* @param tileBuffer the buffer that has been read.
|
|
67
|
+
* @param pointIndex the index of the point to read.
|
|
68
|
+
* @param cloudPoint the point to read the geometry of.
|
|
69
|
+
*/
|
|
70
|
+
getPointData(tile: TileIndex, tileBuffer: TileReadBuffer, pointIndex: int32, cloudPoint: CloudPoint): void;
|
|
71
|
+
/**
|
|
72
|
+
* Get geometry data.
|
|
73
|
+
* @param tile the tile.
|
|
74
|
+
* @param tileBuffer the buffer that has been read.
|
|
75
|
+
* @param pointData the point data.
|
|
76
|
+
*/
|
|
77
|
+
getPointDataRaw(tile: TileIndex, tileBuffer: TileReadBuffer, pointData: PointDataRaw): void;
|
|
78
|
+
}
|
|
79
|
+
export {};
|
|
80
|
+
//# sourceMappingURL=GeometryReader.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GeometryReader.d.ts","sourceRoot":"","sources":["../../../../../src/pointcloud/format/opc/GeometryReader.ts"],"names":[],"mappings":"AAIA;;GAEG;AAMH,aAAK,KAAK,GAAG,MAAM,CAAC;AAUpB,OAAO,EAAE,aAAa,EAAE,MAAM,uCAAuC,CAAC;AACtE,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAEpD,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAElD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD;;;;GAIG;AACH,gBAAgB;AAChB,qBAAa,cAAc;IACvB,yDAAyD;IACzD,gBAAuB,cAAc,EAAE,KAAK,CAAK;IACjD,wDAAwD;IACxD,gBAAuB,cAAc,EAAE,KAAK,CAAK;IAEjD,mEAAmE;IACnE,gBAAuB,YAAY,EAAE,KAAK,CAAM;IAEhD,sBAAsB;IACtB,OAAO,CAAC,WAAW,CAAa;IAChC,gBAAgB;IAChB,OAAO,CAAC,MAAM,CAAQ;IAEtB,0BAA0B;IAC1B,OAAO,CAAC,eAAe,CAAiB;IACxC,wCAAwC;IACxC,OAAO,CAAC,iBAAiB,CAAoB;IAE7C;;;;OAIG;gBACgB,UAAU,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK;IASvD;;;OAGG;IACI,QAAQ,CAAC,YAAY,EAAE,aAAa,GAAG,cAAc;IAQ5D;;;OAGG;IACI,iBAAiB,IAAI,cAAc;IAI1C;;;;;OAKG;IACI,aAAa,CAAC,IAAI,EAAE,SAAS,EAAE,WAAW,EAAE,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,UAAU,EAAE,cAAc,EAAE,WAAW,EAAE,WAAW,EAAE,YAAY,EAAE,aAAa,GAAG,IAAI;IAsBrK;;;;OAIG;WACW,mBAAmB,CAAC,KAAK,EAAE,KAAK,GAAG,KAAK;IAItD;;;;;;OAMG;IACI,YAAY,CAAC,IAAI,EAAE,SAAS,EAAE,UAAU,EAAE,cAAc,EAAE,UAAU,EAAE,KAAK,EAAE,UAAU,EAAE,UAAU,GAAG,IAAI;IA2CjH;;;;;OAKG;IACI,eAAe,CAAC,IAAI,EAAE,SAAS,EAAE,UAAU,EAAE,cAAc,EAAE,SAAS,EAAE,YAAY,GAAG,IAAI;CAYrG"}
|
|
@@ -0,0 +1,160 @@
|
|
|
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 { LittleEndian } from "../../../system/buffer/LittleEndian";
|
|
9
|
+
import { Uint16Buffer } from "../../../system/buffer/Uint16Buffer";
|
|
10
|
+
import { Uint8Buffer } from "../../../system/buffer/Uint8Buffer";
|
|
11
|
+
import { ALong } from "../../../system/runtime/ALong";
|
|
12
|
+
import { GeometryRecord } from "./GeometryRecord";
|
|
13
|
+
/**
|
|
14
|
+
* Class GeometryReader reads geometry data.
|
|
15
|
+
*
|
|
16
|
+
* @version 1.0 January 2014
|
|
17
|
+
*/
|
|
18
|
+
/** @internal */
|
|
19
|
+
export class GeometryReader {
|
|
20
|
+
/**
|
|
21
|
+
* Create a new reader.
|
|
22
|
+
* @param opcReader the file reader.
|
|
23
|
+
* @param level the level.
|
|
24
|
+
*/
|
|
25
|
+
constructor(fileReader, level) {
|
|
26
|
+
/* Store the parameters */
|
|
27
|
+
this._fileReader = fileReader;
|
|
28
|
+
this._level = level;
|
|
29
|
+
/* Get the geometry data */
|
|
30
|
+
this._geometryRecord = null;
|
|
31
|
+
this._geometryDataPart = fileReader.getContainer().getPart("" + level + ".geometry.data");
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Load the data.
|
|
35
|
+
* @return the reader.
|
|
36
|
+
*/
|
|
37
|
+
loadData(fileContents) {
|
|
38
|
+
/* Read the record */
|
|
39
|
+
let geometryPart = this._fileReader.getContainer().getPart("" + this._level + ".geometry.definition");
|
|
40
|
+
this._geometryRecord = GeometryRecord.readNew(geometryPart.getOffset(), geometryPart.getSize(), fileContents);
|
|
41
|
+
/* Return the reader */
|
|
42
|
+
return this;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Get the geometry record.
|
|
46
|
+
* @return the geometry record.
|
|
47
|
+
*/
|
|
48
|
+
getGeometryRecord() {
|
|
49
|
+
return this._geometryRecord;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Read the raw data for a tile.
|
|
53
|
+
* @param tile the tile.
|
|
54
|
+
* @param tileBuffer the buffer to read into.
|
|
55
|
+
* @param readRequest the read parameters (contains the result read statistics).
|
|
56
|
+
*/
|
|
57
|
+
readTileData2(tile, pointOffset, pointCount, tileBuffer, readRequest, fileContents) {
|
|
58
|
+
/* What resolution do we have? */
|
|
59
|
+
let lowResolution = (this._level > 0);
|
|
60
|
+
let recordSize = (lowResolution) ? GeometryReader.RECORD_SIZE_LR : GeometryReader.RECORD_SIZE_HR;
|
|
61
|
+
/* Get the file extent */
|
|
62
|
+
let fileSize = this._fileReader.getContainer().getFileLength();
|
|
63
|
+
let offset = tile.pointIndex.addInt(pointOffset).mulInt(recordSize).add(this._geometryDataPart.getOffset());
|
|
64
|
+
let size = pointCount * recordSize;
|
|
65
|
+
this._geometryDataPart.rangeCheck(offset, ALong.fromInt(size));
|
|
66
|
+
/* Request the data? */
|
|
67
|
+
if (fileContents.isAvailable() == false) {
|
|
68
|
+
/* Add the range */
|
|
69
|
+
fileContents.requestFilePart(offset, size);
|
|
70
|
+
return;
|
|
71
|
+
}
|
|
72
|
+
/* Update the statistics */
|
|
73
|
+
readRequest.addDataSize(size);
|
|
74
|
+
/* Read the content */
|
|
75
|
+
let data = fileContents.getFilePart(offset, size);
|
|
76
|
+
tileBuffer.setGeometryBuffer(data);
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* Convert a low-resolution coordinate to a high-resolution one.
|
|
80
|
+
* @param local the low-resolution coordinate.
|
|
81
|
+
* @return the high-resolution coordinate.
|
|
82
|
+
*/
|
|
83
|
+
static lowToHighResolution(local) {
|
|
84
|
+
return (local << 8) + (128);
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* Get geometry data.
|
|
88
|
+
* @param tile the tile.
|
|
89
|
+
* @param tileBuffer the buffer that has been read.
|
|
90
|
+
* @param pointIndex the index of the point to read.
|
|
91
|
+
* @param cloudPoint the point to read the geometry of.
|
|
92
|
+
*/
|
|
93
|
+
getPointData(tile, tileBuffer, pointIndex, cloudPoint) {
|
|
94
|
+
/* What resolution do we have? */
|
|
95
|
+
let lowResolution = (this._level > 0);
|
|
96
|
+
let recordSize = (lowResolution) ? GeometryReader.RECORD_SIZE_LR : GeometryReader.RECORD_SIZE_HR;
|
|
97
|
+
/* Get the buffer */
|
|
98
|
+
let buffer = tileBuffer.getGeometryBuffer();
|
|
99
|
+
let offset = (pointIndex * recordSize);
|
|
100
|
+
/* Read the local position */
|
|
101
|
+
let lx;
|
|
102
|
+
let ly;
|
|
103
|
+
let lz;
|
|
104
|
+
if (lowResolution) {
|
|
105
|
+
/* Read the 8-bit local position */
|
|
106
|
+
lx = GeometryReader.lowToHighResolution(LittleEndian.readBufferByte(buffer, offset));
|
|
107
|
+
offset++;
|
|
108
|
+
ly = GeometryReader.lowToHighResolution(LittleEndian.readBufferByte(buffer, offset));
|
|
109
|
+
offset++;
|
|
110
|
+
lz = GeometryReader.lowToHighResolution(LittleEndian.readBufferByte(buffer, offset));
|
|
111
|
+
}
|
|
112
|
+
else {
|
|
113
|
+
/* Read the 16-bit local position */
|
|
114
|
+
lx = LittleEndian.readBufferShort(buffer, offset);
|
|
115
|
+
offset += 2;
|
|
116
|
+
ly = LittleEndian.readBufferShort(buffer, offset);
|
|
117
|
+
offset += 2;
|
|
118
|
+
lz = LittleEndian.readBufferShort(buffer, offset);
|
|
119
|
+
}
|
|
120
|
+
/* Get the grid */
|
|
121
|
+
let grid = this._geometryRecord.getTileGrid();
|
|
122
|
+
/* Get the tile position */
|
|
123
|
+
let tileX0 = grid.p0.x + (tile.gridIndex.x * grid.size.x);
|
|
124
|
+
let tileY0 = grid.p0.y + (tile.gridIndex.y * grid.size.y);
|
|
125
|
+
let tileZ0 = grid.p0.z + (tile.gridIndex.z * grid.size.z);
|
|
126
|
+
/* Get the coordinate scale factors */
|
|
127
|
+
let scaleX = grid.size.x / 65536.0;
|
|
128
|
+
let scaleY = grid.size.y / 65536.0;
|
|
129
|
+
let scaleZ = grid.size.z / 65536.0;
|
|
130
|
+
/* Set the position */
|
|
131
|
+
cloudPoint.setX(tileX0 + scaleX * lx);
|
|
132
|
+
cloudPoint.setY(tileY0 + scaleY * ly);
|
|
133
|
+
cloudPoint.setZ(tileZ0 + scaleZ * lz);
|
|
134
|
+
}
|
|
135
|
+
/**
|
|
136
|
+
* Get geometry data.
|
|
137
|
+
* @param tile the tile.
|
|
138
|
+
* @param tileBuffer the buffer that has been read.
|
|
139
|
+
* @param pointData the point data.
|
|
140
|
+
*/
|
|
141
|
+
getPointDataRaw(tile, tileBuffer, pointData) {
|
|
142
|
+
/* What resolution do we have? */
|
|
143
|
+
let lowResolution = (this._level > 0);
|
|
144
|
+
if (lowResolution) {
|
|
145
|
+
/* Straight copy of the raw buffer */
|
|
146
|
+
pointData.points8 = new Uint8Buffer(tileBuffer.getGeometryBuffer(), 0, 3 * tile.pointCount);
|
|
147
|
+
}
|
|
148
|
+
else {
|
|
149
|
+
/* Straight copy of the raw buffer */
|
|
150
|
+
pointData.points16 = new Uint16Buffer(tileBuffer.getGeometryBuffer(), 0, 3 * tile.pointCount);
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
/** The size of the high-resolution record in the file */
|
|
155
|
+
GeometryReader.RECORD_SIZE_HR = 6;
|
|
156
|
+
/** The size of the low-resolution record in the file */
|
|
157
|
+
GeometryReader.RECORD_SIZE_LR = 3;
|
|
158
|
+
/** The number of bins (subdivisions) in a multi-resolution tile */
|
|
159
|
+
GeometryReader.MR_BIN_COUNT = 64;
|
|
160
|
+
//# sourceMappingURL=GeometryReader.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GeometryReader.js","sourceRoot":"","sources":["../../../../../src/pointcloud/format/opc/GeometryReader.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAYH,OAAO,EAAE,YAAY,EAAE,MAAM,qCAAqC,CAAC;AACnE,OAAO,EAAE,YAAY,EAAE,MA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E,CAAC,GAAG,IAAI,CAAC,UAAU,CAAC,CAAC;SACjG;IACL,CAAC;;AA5JD,yDAAyD;AAClC,6BAAc,GAAU,CAAC,CAAC;AACjD,wDAAwD;AACjC,6BAAc,GAAU,CAAC,CAAC;AAEjD,mEAAmE;AAC5C,2BAAY,GAAU,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//package orbitgt.pointcloud.format.opc;\n\ntype int8 = number;\ntype int16 = number;\ntype int32 = number;\ntype float32 = number;\ntype float64 = number;\n\nimport { Coordinate } from \"../../../spatial/geom/Coordinate\";\nimport { ABuffer } from \"../../../system/buffer/ABuffer\";\nimport { LittleEndian } from \"../../../system/buffer/LittleEndian\";\nimport { Uint16Buffer } from \"../../../system/buffer/Uint16Buffer\";\nimport { Uint8Buffer } from \"../../../system/buffer/Uint8Buffer\";\nimport { ALong } from \"../../../system/runtime/ALong\";\nimport { ContentLoader } from \"../../../system/storage/ContentLoader\";\nimport { CloudPoint } from \"../../model/CloudPoint\";\nimport { Grid } from \"../../model/Grid\";\nimport { PointDataRaw } from \"../../model/PointDataRaw\";\nimport { ReadRequest } from \"../../model/ReadRequest\";\nimport { TileIndex } from \"../../model/TileIndex\";\nimport { ContainerFilePart } from \"./ContainerFilePart\";\nimport { FileReader } from \"./FileReader\";\nimport { GeometryRecord } from \"./GeometryRecord\";\nimport { TileReadBuffer } from \"./TileReadBuffer\";\n\n/**\n * Class GeometryReader reads geometry data.\n *\n * @version 1.0 January 2014\n */\n/** @internal */\nexport class GeometryReader {\n /** The size of the high-resolution record in the file */\n public static readonly RECORD_SIZE_HR: int32 = 6;\n /** The size of the low-resolution record in the file */\n public static readonly RECORD_SIZE_LR: int32 = 3;\n\n /** The number of bins (subdivisions) in a multi-resolution tile */\n public static readonly MR_BIN_COUNT: int32 = 64;\n\n /** The file reader */\n private _fileReader: FileReader;\n /** The level */\n private _level: int32;\n\n /** The geometry record */\n private _geometryRecord: GeometryRecord;\n /** The location of the geometry data */\n private _geometryDataPart: ContainerFilePart;\n\n /**\n * Create a new reader.\n * @param opcReader the file reader.\n * @param level the level.\n */\n public constructor(fileReader: FileReader, level: int32) {\n /* Store the parameters */\n this._fileReader = fileReader;\n this._level = level;\n /* Get the geometry data */\n this._geometryRecord = null;\n this._geometryDataPart = fileReader.getContainer().getPart(\"\" + level + \".geometry.data\");\n }\n\n /**\n * Load the data.\n * @return the reader.\n */\n public loadData(fileContents: ContentLoader): GeometryReader {\n /* Read the record */\n let geometryPart: ContainerFilePart = this._fileReader.getContainer().getPart(\"\" + this._level + \".geometry.definition\");\n this._geometryRecord = GeometryRecord.readNew(geometryPart.getOffset(), geometryPart.getSize(), fileContents);\n /* Return the reader */\n return this;\n }\n\n /**\n * Get the geometry record.\n * @return the geometry record.\n */\n public getGeometryRecord(): GeometryRecord {\n return this._geometryRecord;\n }\n\n /**\n * Read the raw data for a tile.\n * @param tile the tile.\n * @param tileBuffer the buffer to read into.\n * @param readRequest the read parameters (contains the result read statistics).\n */\n public readTileData2(tile: TileIndex, pointOffset: int32, pointCount: int32, tileBuffer: TileReadBuffer, readRequest: ReadRequest, fileContents: ContentLoader): void {\n /* What resolution do we have? */\n let lowResolution: boolean = (this._level > 0);\n let recordSize: int32 = (lowResolution) ? GeometryReader.RECORD_SIZE_LR : GeometryReader.RECORD_SIZE_HR;\n /* Get the file extent */\n let fileSize: ALong = this._fileReader.getContainer().getFileLength();\n let offset: ALong = tile.pointIndex.addInt(pointOffset).mulInt(recordSize).add(this._geometryDataPart.getOffset());\n let size: int32 = pointCount * recordSize;\n this._geometryDataPart.rangeCheck(offset, ALong.fromInt(size));\n /* Request the data? */\n if (fileContents.isAvailable() == false) {\n /* Add the range */\n fileContents.requestFilePart(offset, size);\n return;\n }\n /* Update the statistics */\n readRequest.addDataSize(size);\n /* Read the content */\n let data: ABuffer = fileContents.getFilePart(offset, size);\n tileBuffer.setGeometryBuffer(data);\n }\n\n /**\n * Convert a low-resolution coordinate to a high-resolution one.\n * @param local the low-resolution coordinate.\n * @return the high-resolution coordinate.\n */\n public static lowToHighResolution(local: int32): int32 {\n return (local << 8) + (128);\n }\n\n /**\n * Get geometry data.\n * @param tile the tile.\n * @param tileBuffer the buffer that has been read.\n * @param pointIndex the index of the point to read.\n * @param cloudPoint the point to read the geometry of.\n */\n public getPointData(tile: TileIndex, tileBuffer: TileReadBuffer, pointIndex: int32, cloudPoint: CloudPoint): void {\n /* What resolution do we have? */\n let lowResolution: boolean = (this._level > 0);\n let recordSize: int32 = (lowResolution) ? GeometryReader.RECORD_SIZE_LR : GeometryReader.RECORD_SIZE_HR;\n /* Get the buffer */\n let buffer: ABuffer = tileBuffer.getGeometryBuffer();\n let offset: int32 = (pointIndex * recordSize);\n /* Read the local position */\n let lx: int32;\n let ly: int32;\n let lz: int32;\n if (lowResolution) {\n /* Read the 8-bit local position */\n lx = GeometryReader.lowToHighResolution(LittleEndian.readBufferByte(buffer, offset));\n offset++;\n ly = GeometryReader.lowToHighResolution(LittleEndian.readBufferByte(buffer, offset));\n offset++;\n lz = GeometryReader.lowToHighResolution(LittleEndian.readBufferByte(buffer, offset));\n }\n else {\n /* Read the 16-bit local position */\n lx = LittleEndian.readBufferShort(buffer, offset);\n offset += 2;\n ly = LittleEndian.readBufferShort(buffer, offset);\n offset += 2;\n lz = LittleEndian.readBufferShort(buffer, offset);\n }\n /* Get the grid */\n let grid: Grid = this._geometryRecord.getTileGrid();\n /* Get the tile position */\n let tileX0: float64 = grid.p0.x + (tile.gridIndex.x * grid.size.x);\n let tileY0: float64 = grid.p0.y + (tile.gridIndex.y * grid.size.y);\n let tileZ0: float64 = grid.p0.z + (tile.gridIndex.z * grid.size.z);\n /* Get the coordinate scale factors */\n let scaleX: float64 = grid.size.x / 65536.0;\n let scaleY: float64 = grid.size.y / 65536.0;\n let scaleZ: float64 = grid.size.z / 65536.0;\n /* Set the position */\n cloudPoint.setX(tileX0 + scaleX * lx);\n cloudPoint.setY(tileY0 + scaleY * ly);\n cloudPoint.setZ(tileZ0 + scaleZ * lz);\n }\n\n /**\n * Get geometry data.\n * @param tile the tile.\n * @param tileBuffer the buffer that has been read.\n * @param pointData the point data.\n */\n public getPointDataRaw(tile: TileIndex, tileBuffer: TileReadBuffer, pointData: PointDataRaw): void {\n /* What resolution do we have? */\n let lowResolution: boolean = (this._level > 0);\n if (lowResolution) {\n /* Straight copy of the raw buffer */\n pointData.points8 = new Uint8Buffer(tileBuffer.getGeometryBuffer(), 0, 3 * tile.pointCount);\n }\n else {\n /* Straight copy of the raw buffer */\n pointData.points16 = new Uint16Buffer(tileBuffer.getGeometryBuffer(), 0, 3 * tile.pointCount);\n }\n }\n}\n"]}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/** @packageDocumentation
|
|
2
|
+
* @module OrbitGT
|
|
3
|
+
*/
|
|
4
|
+
import { Bounds } from "../../../spatial/geom/Bounds";
|
|
5
|
+
import { OutStream } from "../../../system/io/OutStream";
|
|
6
|
+
import { ALong } from "../../../system/runtime/ALong";
|
|
7
|
+
import { ContentLoader } from "../../../system/storage/ContentLoader";
|
|
8
|
+
import { Grid } from "../../model/Grid";
|
|
9
|
+
/**
|
|
10
|
+
* Class GeometryRecord defines a geometry record.
|
|
11
|
+
*
|
|
12
|
+
* @version 1.0 January 2014
|
|
13
|
+
*/
|
|
14
|
+
/** @internal */
|
|
15
|
+
export declare class GeometryRecord {
|
|
16
|
+
/** The bounds (48 byte) */
|
|
17
|
+
private _bounds;
|
|
18
|
+
/** The tile grid (48 byte) */
|
|
19
|
+
private _tileGrid;
|
|
20
|
+
/**
|
|
21
|
+
* Create a new record.
|
|
22
|
+
*/
|
|
23
|
+
constructor(bounds: Bounds, tileGrid: Grid);
|
|
24
|
+
/**
|
|
25
|
+
* Get the bounds.
|
|
26
|
+
* @return the bounds.
|
|
27
|
+
*/
|
|
28
|
+
getBounds(): Bounds;
|
|
29
|
+
/**
|
|
30
|
+
* Get the tile grid.
|
|
31
|
+
* @return the tile grid.
|
|
32
|
+
*/
|
|
33
|
+
getTileGrid(): Grid;
|
|
34
|
+
/**
|
|
35
|
+
* Read a record.
|
|
36
|
+
* @param data the record data.
|
|
37
|
+
* @return the record.
|
|
38
|
+
*/
|
|
39
|
+
private static readFromBuffer;
|
|
40
|
+
/**
|
|
41
|
+
* Read a record.
|
|
42
|
+
* @param fileAccess the access to the file.
|
|
43
|
+
* @param offset the file offset to the record.
|
|
44
|
+
* @param size the file size to the record.
|
|
45
|
+
* @return the record.
|
|
46
|
+
*/
|
|
47
|
+
static readNew(offset: ALong, size: ALong, contentLoader: ContentLoader): GeometryRecord;
|
|
48
|
+
/**
|
|
49
|
+
* Write the record.
|
|
50
|
+
* @param out the output stream.
|
|
51
|
+
*/
|
|
52
|
+
write(output: OutStream): void;
|
|
53
|
+
}
|
|
54
|
+
//# sourceMappingURL=GeometryRecord.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GeometryRecord.d.ts","sourceRoot":"","sources":["../../../../../src/pointcloud/format/opc/GeometryRecord.ts"],"names":[],"mappings":"AAIA;;GAEG;AAUH,OAAO,EAAE,MAAM,EAAE,MAAM,8BAA8B,CAAC;AAItD,OAAO,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AACzD,OAAO,EAAE,KAAK,EAAE,MAAM,+BAA+B,CAAC;AACtD,OAAO,EAAE,aAAa,EAAE,MAAM,uCAAuC,CAAC;AACtE,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAExC;;;;GAIG;AACH,gBAAgB;AAChB,qBAAa,cAAc;IACvB,2BAA2B;IAC3B,OAAO,CAAC,OAAO,CAAS;IACxB,8BAA8B;IAC9B,OAAO,CAAC,SAAS,CAAO;IAExB;;OAEG;gBACgB,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI;IAKjD;;;OAGG;IACI,SAAS,IAAI,MAAM;IAI1B;;;OAGG;IACI,WAAW,IAAI,IAAI;IAI1B;;;;OAIG;IACH,OAAO,CAAC,MAAM,CAAC,cAAc;IAsB7B;;;;;;OAMG;WACW,OAAO,CAAC,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,aAAa,EAAE,aAAa,GAAG,cAAc;IAa/F;;;OAGG;IACI,KAAK,CAAC,MAAM,EAAE,SAAS,GAAG,IAAI;CAcxC"}
|
|
@@ -0,0 +1,104 @@
|
|
|
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 { Bounds } from "../../../spatial/geom/Bounds";
|
|
9
|
+
import { Coordinate } from "../../../spatial/geom/Coordinate";
|
|
10
|
+
import { LittleEndian } from "../../../system/buffer/LittleEndian";
|
|
11
|
+
import { Grid } from "../../model/Grid";
|
|
12
|
+
/**
|
|
13
|
+
* Class GeometryRecord defines a geometry record.
|
|
14
|
+
*
|
|
15
|
+
* @version 1.0 January 2014
|
|
16
|
+
*/
|
|
17
|
+
/** @internal */
|
|
18
|
+
export class GeometryRecord {
|
|
19
|
+
/**
|
|
20
|
+
* Create a new record.
|
|
21
|
+
*/
|
|
22
|
+
constructor(bounds, tileGrid) {
|
|
23
|
+
this._bounds = bounds;
|
|
24
|
+
this._tileGrid = tileGrid;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Get the bounds.
|
|
28
|
+
* @return the bounds.
|
|
29
|
+
*/
|
|
30
|
+
getBounds() {
|
|
31
|
+
return this._bounds;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Get the tile grid.
|
|
35
|
+
* @return the tile grid.
|
|
36
|
+
*/
|
|
37
|
+
getTileGrid() {
|
|
38
|
+
return this._tileGrid;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Read a record.
|
|
42
|
+
* @param data the record data.
|
|
43
|
+
* @return the record.
|
|
44
|
+
*/
|
|
45
|
+
static readFromBuffer(data) {
|
|
46
|
+
/* Get the record fields */
|
|
47
|
+
let minX = LittleEndian.readBufferDouble(data, 0);
|
|
48
|
+
let maxX = LittleEndian.readBufferDouble(data, 8);
|
|
49
|
+
let minY = LittleEndian.readBufferDouble(data, 16);
|
|
50
|
+
let maxY = LittleEndian.readBufferDouble(data, 24);
|
|
51
|
+
let minZ = LittleEndian.readBufferDouble(data, 32);
|
|
52
|
+
let maxZ = LittleEndian.readBufferDouble(data, 40);
|
|
53
|
+
let bounds = new Bounds();
|
|
54
|
+
bounds.addXYZ(minX, minY, minZ);
|
|
55
|
+
bounds.addXYZ(maxX, maxY, maxZ);
|
|
56
|
+
let gridX0 = LittleEndian.readBufferDouble(data, 48);
|
|
57
|
+
let gridY0 = LittleEndian.readBufferDouble(data, 56);
|
|
58
|
+
let gridZ0 = LittleEndian.readBufferDouble(data, 64);
|
|
59
|
+
let gridSX = LittleEndian.readBufferDouble(data, 72);
|
|
60
|
+
let gridSY = LittleEndian.readBufferDouble(data, 80);
|
|
61
|
+
let gridSZ = LittleEndian.readBufferDouble(data, 88);
|
|
62
|
+
let tileGrid = new Grid(new Coordinate(gridX0, gridY0, gridZ0), new Coordinate(gridSX, gridSY, gridSZ));
|
|
63
|
+
/* Return the record */
|
|
64
|
+
return new GeometryRecord(bounds, tileGrid);
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Read a record.
|
|
68
|
+
* @param fileAccess the access to the file.
|
|
69
|
+
* @param offset the file offset to the record.
|
|
70
|
+
* @param size the file size to the record.
|
|
71
|
+
* @return the record.
|
|
72
|
+
*/
|
|
73
|
+
static readNew(offset, size, contentLoader) {
|
|
74
|
+
/* Request the data? */
|
|
75
|
+
if (contentLoader.isLoaded() == false) {
|
|
76
|
+
/* Add the range */
|
|
77
|
+
contentLoader.requestFilePart(offset, size.toInt());
|
|
78
|
+
return null;
|
|
79
|
+
}
|
|
80
|
+
/* Get the data */
|
|
81
|
+
let data = contentLoader.getFilePart(offset, size.toInt());
|
|
82
|
+
/* Parse the record */
|
|
83
|
+
return GeometryRecord.readFromBuffer(data);
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* Write the record.
|
|
87
|
+
* @param out the output stream.
|
|
88
|
+
*/
|
|
89
|
+
write(output) {
|
|
90
|
+
LittleEndian.writeStreamDouble(output, this._bounds.min.x);
|
|
91
|
+
LittleEndian.writeStreamDouble(output, this._bounds.max.x);
|
|
92
|
+
LittleEndian.writeStreamDouble(output, this._bounds.min.y);
|
|
93
|
+
LittleEndian.writeStreamDouble(output, this._bounds.max.y);
|
|
94
|
+
LittleEndian.writeStreamDouble(output, this._bounds.min.z);
|
|
95
|
+
LittleEndian.writeStreamDouble(output, this._bounds.max.z);
|
|
96
|
+
LittleEndian.writeStreamDouble(output, this._tileGrid.p0.x);
|
|
97
|
+
LittleEndian.writeStreamDouble(output, this._tileGrid.p0.y);
|
|
98
|
+
LittleEndian.writeStreamDouble(output, this._tileGrid.p0.z);
|
|
99
|
+
LittleEndian.writeStreamDouble(output, this._tileGrid.size.x);
|
|
100
|
+
LittleEndian.writeStreamDouble(output, this._tileGrid.size.y);
|
|
101
|
+
LittleEndian.writeStreamDouble(output, this._tileGrid.size.z);
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
//# sourceMappingURL=GeometryRecord.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GeometryRecord.js","sourceRoot":"","sources":["../../../../../src/pointcloud/format/opc/GeometryRecord.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAUH,OAAO,EAAE,MAAM,EAAE,MAAM,8BAA8B,CAA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,CAAC;CACJ","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module OrbitGT\n */\n\n//package orbitgt.pointcloud.format.opc;\n\ntype int8 = number;\ntype int16 = number;\ntype int32 = number;\ntype float32 = number;\ntype float64 = number;\n\nimport { Bounds } from \"../../../spatial/geom/Bounds\";\nimport { Coordinate } from \"../../../spatial/geom/Coordinate\";\nimport { ABuffer } from \"../../../system/buffer/ABuffer\";\nimport { LittleEndian } from \"../../../system/buffer/LittleEndian\";\nimport { OutStream } from \"../../../system/io/OutStream\";\nimport { ALong } from \"../../../system/runtime/ALong\";\nimport { ContentLoader } from \"../../../system/storage/ContentLoader\";\nimport { Grid } from \"../../model/Grid\";\n\n/**\n * Class GeometryRecord defines a geometry record.\n *\n * @version 1.0 January 2014\n */\n/** @internal */\nexport class GeometryRecord {\n /** The bounds (48 byte) */\n private _bounds: Bounds;\n /** The tile grid (48 byte) */\n private _tileGrid: Grid;\n\n /**\n * Create a new record.\n */\n public constructor(bounds: Bounds, tileGrid: Grid) {\n this._bounds = bounds;\n this._tileGrid = tileGrid;\n }\n\n /**\n * Get the bounds.\n * @return the bounds.\n */\n public getBounds(): Bounds {\n return this._bounds;\n }\n\n /**\n * Get the tile grid.\n * @return the tile grid.\n */\n public getTileGrid(): Grid {\n return this._tileGrid;\n }\n\n /**\n * Read a record.\n * @param data the record data.\n * @return the record.\n */\n private static readFromBuffer(data: ABuffer): GeometryRecord {\n /* Get the record fields */\n let minX: float64 = LittleEndian.readBufferDouble(data, 0);\n let maxX: float64 = LittleEndian.readBufferDouble(data, 8);\n let minY: float64 = LittleEndian.readBufferDouble(data, 16);\n let maxY: float64 = LittleEndian.readBufferDouble(data, 24);\n let minZ: float64 = LittleEndian.readBufferDouble(data, 32);\n let maxZ: float64 = LittleEndian.readBufferDouble(data, 40);\n let bounds: Bounds = new Bounds();\n bounds.addXYZ(minX, minY, minZ);\n bounds.addXYZ(maxX, maxY, maxZ);\n let gridX0: float64 = LittleEndian.readBufferDouble(data, 48);\n let gridY0: float64 = LittleEndian.readBufferDouble(data, 56);\n let gridZ0: float64 = LittleEndian.readBufferDouble(data, 64);\n let gridSX: float64 = LittleEndian.readBufferDouble(data, 72);\n let gridSY: float64 = LittleEndian.readBufferDouble(data, 80);\n let gridSZ: float64 = LittleEndian.readBufferDouble(data, 88);\n let tileGrid: Grid = new Grid(new Coordinate(gridX0, gridY0, gridZ0), new Coordinate(gridSX, gridSY, gridSZ));\n /* Return the record */\n return new GeometryRecord(bounds, tileGrid);\n }\n\n /**\n * Read a record.\n * @param fileAccess the access to the file.\n * @param offset the file offset to the record.\n * @param size the file size to the record.\n * @return the record.\n */\n public static readNew(offset: ALong, size: ALong, contentLoader: ContentLoader): GeometryRecord {\n /* Request the data? */\n if (contentLoader.isLoaded() == false) {\n /* Add the range */\n contentLoader.requestFilePart(offset, size.toInt());\n return null;\n }\n /* Get the data */\n let data: ABuffer = contentLoader.getFilePart(offset, size.toInt());\n /* Parse the record */\n return GeometryRecord.readFromBuffer(data);\n }\n\n /**\n * Write the record.\n * @param out the output stream.\n */\n public write(output: OutStream): void {\n LittleEndian.writeStreamDouble(output, this._bounds.min.x);\n LittleEndian.writeStreamDouble(output, this._bounds.max.x);\n LittleEndian.writeStreamDouble(output, this._bounds.min.y);\n LittleEndian.writeStreamDouble(output, this._bounds.max.y);\n LittleEndian.writeStreamDouble(output, this._bounds.min.z);\n LittleEndian.writeStreamDouble(output, this._bounds.max.z);\n LittleEndian.writeStreamDouble(output, this._tileGrid.p0.x);\n LittleEndian.writeStreamDouble(output, this._tileGrid.p0.y);\n LittleEndian.writeStreamDouble(output, this._tileGrid.p0.z);\n LittleEndian.writeStreamDouble(output, this._tileGrid.size.x);\n LittleEndian.writeStreamDouble(output, this._tileGrid.size.y);\n LittleEndian.writeStreamDouble(output, this._tileGrid.size.z);\n }\n}\n"]}
|