@itwin/core-orbitgt 3.0.0-dev.100
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +515 -0
- package/lib/cjs/core-orbitgt.d.ts +27 -0
- package/lib/cjs/core-orbitgt.d.ts.map +1 -0
- package/lib/cjs/core-orbitgt.js +59 -0
- package/lib/cjs/core-orbitgt.js.map +1 -0
- package/lib/cjs/pointcloud/format/opc/AttributeMask.d.ts +31 -0
- package/lib/cjs/pointcloud/format/opc/AttributeMask.d.ts.map +1 -0
- package/lib/cjs/pointcloud/format/opc/AttributeMask.js +48 -0
- package/lib/cjs/pointcloud/format/opc/AttributeMask.js.map +1 -0
- package/lib/cjs/pointcloud/format/opc/AttributeReader.d.ts +64 -0
- package/lib/cjs/pointcloud/format/opc/AttributeReader.d.ts.map +1 -0
- package/lib/cjs/pointcloud/format/opc/AttributeReader.js +25 -0
- package/lib/cjs/pointcloud/format/opc/AttributeReader.js.map +1 -0
- package/lib/cjs/pointcloud/format/opc/BlockRecord.d.ts +55 -0
- package/lib/cjs/pointcloud/format/opc/BlockRecord.d.ts.map +1 -0
- package/lib/cjs/pointcloud/format/opc/BlockRecord.js +85 -0
- package/lib/cjs/pointcloud/format/opc/BlockRecord.js.map +1 -0
- package/lib/cjs/pointcloud/format/opc/ContainerFile.d.ts +86 -0
- package/lib/cjs/pointcloud/format/opc/ContainerFile.d.ts.map +1 -0
- package/lib/cjs/pointcloud/format/opc/ContainerFile.js +200 -0
- package/lib/cjs/pointcloud/format/opc/ContainerFile.js.map +1 -0
- package/lib/cjs/pointcloud/format/opc/ContainerFilePart.d.ts +56 -0
- package/lib/cjs/pointcloud/format/opc/ContainerFilePart.d.ts.map +1 -0
- package/lib/cjs/pointcloud/format/opc/ContainerFilePart.js +76 -0
- package/lib/cjs/pointcloud/format/opc/ContainerFilePart.js.map +1 -0
- package/lib/cjs/pointcloud/format/opc/DirectoryReader.d.ts +76 -0
- package/lib/cjs/pointcloud/format/opc/DirectoryReader.d.ts.map +1 -0
- package/lib/cjs/pointcloud/format/opc/DirectoryReader.js +170 -0
- package/lib/cjs/pointcloud/format/opc/DirectoryReader.js.map +1 -0
- package/lib/cjs/pointcloud/format/opc/DirectoryRecord.d.ts +60 -0
- package/lib/cjs/pointcloud/format/opc/DirectoryRecord.d.ts.map +1 -0
- package/lib/cjs/pointcloud/format/opc/DirectoryRecord.js +90 -0
- package/lib/cjs/pointcloud/format/opc/DirectoryRecord.js.map +1 -0
- package/lib/cjs/pointcloud/format/opc/EmbeddedAttributeReader.d.ts +107 -0
- package/lib/cjs/pointcloud/format/opc/EmbeddedAttributeReader.d.ts.map +1 -0
- package/lib/cjs/pointcloud/format/opc/EmbeddedAttributeReader.js +198 -0
- package/lib/cjs/pointcloud/format/opc/EmbeddedAttributeReader.js.map +1 -0
- package/lib/cjs/pointcloud/format/opc/FileAccess.d.ts +40 -0
- package/lib/cjs/pointcloud/format/opc/FileAccess.d.ts.map +1 -0
- package/lib/cjs/pointcloud/format/opc/FileAccess.js +49 -0
- package/lib/cjs/pointcloud/format/opc/FileAccess.js.map +1 -0
- package/lib/cjs/pointcloud/format/opc/FileReader.d.ts +119 -0
- package/lib/cjs/pointcloud/format/opc/FileReader.d.ts.map +1 -0
- package/lib/cjs/pointcloud/format/opc/FileReader.js +249 -0
- package/lib/cjs/pointcloud/format/opc/FileReader.js.map +1 -0
- package/lib/cjs/pointcloud/format/opc/FileRecord.d.ts +90 -0
- package/lib/cjs/pointcloud/format/opc/FileRecord.d.ts.map +1 -0
- package/lib/cjs/pointcloud/format/opc/FileRecord.js +126 -0
- package/lib/cjs/pointcloud/format/opc/FileRecord.js.map +1 -0
- package/lib/cjs/pointcloud/format/opc/GeometryReader.d.ts +80 -0
- package/lib/cjs/pointcloud/format/opc/GeometryReader.d.ts.map +1 -0
- package/lib/cjs/pointcloud/format/opc/GeometryReader.js +164 -0
- package/lib/cjs/pointcloud/format/opc/GeometryReader.js.map +1 -0
- package/lib/cjs/pointcloud/format/opc/GeometryRecord.d.ts +54 -0
- package/lib/cjs/pointcloud/format/opc/GeometryRecord.d.ts.map +1 -0
- package/lib/cjs/pointcloud/format/opc/GeometryRecord.js +108 -0
- package/lib/cjs/pointcloud/format/opc/GeometryRecord.js.map +1 -0
- package/lib/cjs/pointcloud/format/opc/OPCReader.d.ts +158 -0
- package/lib/cjs/pointcloud/format/opc/OPCReader.d.ts.map +1 -0
- package/lib/cjs/pointcloud/format/opc/OPCReader.js +320 -0
- package/lib/cjs/pointcloud/format/opc/OPCReader.js.map +1 -0
- package/lib/cjs/pointcloud/format/opc/PointReader.d.ts +73 -0
- package/lib/cjs/pointcloud/format/opc/PointReader.d.ts.map +1 -0
- package/lib/cjs/pointcloud/format/opc/PointReader.js +153 -0
- package/lib/cjs/pointcloud/format/opc/PointReader.js.map +1 -0
- package/lib/cjs/pointcloud/format/opc/TileReadBuffer.d.ts +64 -0
- package/lib/cjs/pointcloud/format/opc/TileReadBuffer.d.ts.map +1 -0
- package/lib/cjs/pointcloud/format/opc/TileReadBuffer.js +93 -0
- package/lib/cjs/pointcloud/format/opc/TileReadBuffer.js.map +1 -0
- package/lib/cjs/pointcloud/format/opc/TileRecord.d.ts +89 -0
- package/lib/cjs/pointcloud/format/opc/TileRecord.d.ts.map +1 -0
- package/lib/cjs/pointcloud/format/opc/TileRecord.js +162 -0
- package/lib/cjs/pointcloud/format/opc/TileRecord.js.map +1 -0
- package/lib/cjs/pointcloud/model/AttributeTypes.d.ts +38 -0
- package/lib/cjs/pointcloud/model/AttributeTypes.d.ts.map +1 -0
- package/lib/cjs/pointcloud/model/AttributeTypes.js +65 -0
- package/lib/cjs/pointcloud/model/AttributeTypes.js.map +1 -0
- package/lib/cjs/pointcloud/model/AttributeValue.d.ts +248 -0
- package/lib/cjs/pointcloud/model/AttributeValue.d.ts.map +1 -0
- package/lib/cjs/pointcloud/model/AttributeValue.js +509 -0
- package/lib/cjs/pointcloud/model/AttributeValue.js.map +1 -0
- package/lib/cjs/pointcloud/model/BlockIndex.d.ts +50 -0
- package/lib/cjs/pointcloud/model/BlockIndex.d.ts.map +1 -0
- package/lib/cjs/pointcloud/model/BlockIndex.js +49 -0
- package/lib/cjs/pointcloud/model/BlockIndex.js.map +1 -0
- package/lib/cjs/pointcloud/model/CloudPoint.d.ts +211 -0
- package/lib/cjs/pointcloud/model/CloudPoint.d.ts.map +1 -0
- package/lib/cjs/pointcloud/model/CloudPoint.js +319 -0
- package/lib/cjs/pointcloud/model/CloudPoint.js.map +1 -0
- package/lib/cjs/pointcloud/model/Grid.d.ts +92 -0
- package/lib/cjs/pointcloud/model/Grid.d.ts.map +1 -0
- package/lib/cjs/pointcloud/model/Grid.js +130 -0
- package/lib/cjs/pointcloud/model/Grid.js.map +1 -0
- package/lib/cjs/pointcloud/model/GridIndex.d.ts +67 -0
- package/lib/cjs/pointcloud/model/GridIndex.d.ts.map +1 -0
- package/lib/cjs/pointcloud/model/GridIndex.js +94 -0
- package/lib/cjs/pointcloud/model/GridIndex.js.map +1 -0
- package/lib/cjs/pointcloud/model/PointAttribute.d.ts +209 -0
- package/lib/cjs/pointcloud/model/PointAttribute.d.ts.map +1 -0
- package/lib/cjs/pointcloud/model/PointAttribute.js +375 -0
- package/lib/cjs/pointcloud/model/PointAttribute.js.map +1 -0
- package/lib/cjs/pointcloud/model/PointCloudReader.d.ts +157 -0
- package/lib/cjs/pointcloud/model/PointCloudReader.d.ts.map +1 -0
- package/lib/cjs/pointcloud/model/PointCloudReader.js +190 -0
- package/lib/cjs/pointcloud/model/PointCloudReader.js.map +1 -0
- package/lib/cjs/pointcloud/model/PointData.d.ts +18 -0
- package/lib/cjs/pointcloud/model/PointData.d.ts.map +1 -0
- package/lib/cjs/pointcloud/model/PointData.js +25 -0
- package/lib/cjs/pointcloud/model/PointData.js.map +1 -0
- package/lib/cjs/pointcloud/model/PointDataRaw.d.ts +35 -0
- package/lib/cjs/pointcloud/model/PointDataRaw.d.ts.map +1 -0
- package/lib/cjs/pointcloud/model/PointDataRaw.js +70 -0
- package/lib/cjs/pointcloud/model/PointDataRaw.js.map +1 -0
- package/lib/cjs/pointcloud/model/ReadRequest.d.ts +176 -0
- package/lib/cjs/pointcloud/model/ReadRequest.d.ts.map +1 -0
- package/lib/cjs/pointcloud/model/ReadRequest.js +240 -0
- package/lib/cjs/pointcloud/model/ReadRequest.js.map +1 -0
- package/lib/cjs/pointcloud/model/StandardAttributes.d.ts +41 -0
- package/lib/cjs/pointcloud/model/StandardAttributes.d.ts.map +1 -0
- package/lib/cjs/pointcloud/model/StandardAttributes.js +48 -0
- package/lib/cjs/pointcloud/model/StandardAttributes.js.map +1 -0
- package/lib/cjs/pointcloud/model/TileIndex.d.ts +48 -0
- package/lib/cjs/pointcloud/model/TileIndex.d.ts.map +1 -0
- package/lib/cjs/pointcloud/model/TileIndex.js +48 -0
- package/lib/cjs/pointcloud/model/TileIndex.js.map +1 -0
- package/lib/cjs/pointcloud/render/AViewRequest.d.ts +39 -0
- package/lib/cjs/pointcloud/render/AViewRequest.d.ts.map +1 -0
- package/lib/cjs/pointcloud/render/AViewRequest.js +25 -0
- package/lib/cjs/pointcloud/render/AViewRequest.js.map +1 -0
- package/lib/cjs/pointcloud/render/Block.d.ts +68 -0
- package/lib/cjs/pointcloud/render/Block.d.ts.map +1 -0
- package/lib/cjs/pointcloud/render/Block.js +120 -0
- package/lib/cjs/pointcloud/render/Block.js.map +1 -0
- package/lib/cjs/pointcloud/render/DataManager.d.ts +137 -0
- package/lib/cjs/pointcloud/render/DataManager.d.ts.map +1 -0
- package/lib/cjs/pointcloud/render/DataManager.js +343 -0
- package/lib/cjs/pointcloud/render/DataManager.js.map +1 -0
- package/lib/cjs/pointcloud/render/FrameData.d.ts +31 -0
- package/lib/cjs/pointcloud/render/FrameData.d.ts.map +1 -0
- package/lib/cjs/pointcloud/render/FrameData.js +40 -0
- package/lib/cjs/pointcloud/render/FrameData.js.map +1 -0
- package/lib/cjs/pointcloud/render/Level.d.ts +91 -0
- package/lib/cjs/pointcloud/render/Level.d.ts.map +1 -0
- package/lib/cjs/pointcloud/render/Level.js +120 -0
- package/lib/cjs/pointcloud/render/Level.js.map +1 -0
- package/lib/cjs/pointcloud/render/TileLoadSorter.d.ts +61 -0
- package/lib/cjs/pointcloud/render/TileLoadSorter.d.ts.map +1 -0
- package/lib/cjs/pointcloud/render/TileLoadSorter.js +100 -0
- package/lib/cjs/pointcloud/render/TileLoadSorter.js.map +1 -0
- package/lib/cjs/pointcloud/render/ViewTree.d.ts +114 -0
- package/lib/cjs/pointcloud/render/ViewTree.d.ts.map +1 -0
- package/lib/cjs/pointcloud/render/ViewTree.js +364 -0
- package/lib/cjs/pointcloud/render/ViewTree.js.map +1 -0
- package/lib/cjs/spatial/crs/CRSEngine.d.ts +56 -0
- package/lib/cjs/spatial/crs/CRSEngine.d.ts.map +1 -0
- package/lib/cjs/spatial/crs/CRSEngine.js +94 -0
- package/lib/cjs/spatial/crs/CRSEngine.js.map +1 -0
- package/lib/cjs/spatial/crs/CRSManager.d.ts +50 -0
- package/lib/cjs/spatial/crs/CRSManager.d.ts.map +1 -0
- package/lib/cjs/spatial/crs/CRSManager.js +110 -0
- package/lib/cjs/spatial/crs/CRSManager.js.map +1 -0
- package/lib/cjs/spatial/ecrs/Axis.d.ts +78 -0
- package/lib/cjs/spatial/ecrs/Axis.d.ts.map +1 -0
- package/lib/cjs/spatial/ecrs/Axis.js +94 -0
- package/lib/cjs/spatial/ecrs/Axis.js.map +1 -0
- package/lib/cjs/spatial/ecrs/CRS.d.ts +448 -0
- package/lib/cjs/spatial/ecrs/CRS.d.ts.map +1 -0
- package/lib/cjs/spatial/ecrs/CRS.js +931 -0
- package/lib/cjs/spatial/ecrs/CRS.js.map +1 -0
- package/lib/cjs/spatial/ecrs/CoordinateSystem.d.ts +143 -0
- package/lib/cjs/spatial/ecrs/CoordinateSystem.d.ts.map +1 -0
- package/lib/cjs/spatial/ecrs/CoordinateSystem.js +327 -0
- package/lib/cjs/spatial/ecrs/CoordinateSystem.js.map +1 -0
- package/lib/cjs/spatial/ecrs/DataFileUnit.d.ts +11 -0
- package/lib/cjs/spatial/ecrs/DataFileUnit.d.ts.map +1 -0
- package/lib/cjs/spatial/ecrs/DataFileUnit.js +105 -0
- package/lib/cjs/spatial/ecrs/DataFileUnit.js.map +1 -0
- package/lib/cjs/spatial/ecrs/Datum.d.ts +112 -0
- package/lib/cjs/spatial/ecrs/Datum.d.ts.map +1 -0
- package/lib/cjs/spatial/ecrs/Datum.js +167 -0
- package/lib/cjs/spatial/ecrs/Datum.js.map +1 -0
- package/lib/cjs/spatial/ecrs/Ellipsoid.d.ts +189 -0
- package/lib/cjs/spatial/ecrs/Ellipsoid.d.ts.map +1 -0
- package/lib/cjs/spatial/ecrs/Ellipsoid.js +337 -0
- package/lib/cjs/spatial/ecrs/Ellipsoid.js.map +1 -0
- package/lib/cjs/spatial/ecrs/OnlineEngine.d.ts +49 -0
- package/lib/cjs/spatial/ecrs/OnlineEngine.d.ts.map +1 -0
- package/lib/cjs/spatial/ecrs/OnlineEngine.js +103 -0
- package/lib/cjs/spatial/ecrs/OnlineEngine.js.map +1 -0
- package/lib/cjs/spatial/ecrs/OnlineRegistry.d.ts +38 -0
- package/lib/cjs/spatial/ecrs/OnlineRegistry.d.ts.map +1 -0
- package/lib/cjs/spatial/ecrs/OnlineRegistry.js +77 -0
- package/lib/cjs/spatial/ecrs/OnlineRegistry.js.map +1 -0
- package/lib/cjs/spatial/ecrs/Operation.d.ts +192 -0
- package/lib/cjs/spatial/ecrs/Operation.d.ts.map +1 -0
- package/lib/cjs/spatial/ecrs/Operation.js +346 -0
- package/lib/cjs/spatial/ecrs/Operation.js.map +1 -0
- package/lib/cjs/spatial/ecrs/OperationMethod.d.ts +72 -0
- package/lib/cjs/spatial/ecrs/OperationMethod.d.ts.map +1 -0
- package/lib/cjs/spatial/ecrs/OperationMethod.js +76 -0
- package/lib/cjs/spatial/ecrs/OperationMethod.js.map +1 -0
- package/lib/cjs/spatial/ecrs/ParameterValue.d.ts +50 -0
- package/lib/cjs/spatial/ecrs/ParameterValue.d.ts.map +1 -0
- package/lib/cjs/spatial/ecrs/ParameterValue.js +66 -0
- package/lib/cjs/spatial/ecrs/ParameterValue.js.map +1 -0
- package/lib/cjs/spatial/ecrs/ParameterValueList.d.ts +73 -0
- package/lib/cjs/spatial/ecrs/ParameterValueList.d.ts.map +1 -0
- package/lib/cjs/spatial/ecrs/ParameterValueList.js +121 -0
- package/lib/cjs/spatial/ecrs/ParameterValueList.js.map +1 -0
- package/lib/cjs/spatial/ecrs/PrimeMeridian.d.ts +79 -0
- package/lib/cjs/spatial/ecrs/PrimeMeridian.d.ts.map +1 -0
- package/lib/cjs/spatial/ecrs/PrimeMeridian.js +109 -0
- package/lib/cjs/spatial/ecrs/PrimeMeridian.js.map +1 -0
- package/lib/cjs/spatial/ecrs/Registry.d.ts +110 -0
- package/lib/cjs/spatial/ecrs/Registry.d.ts.map +1 -0
- package/lib/cjs/spatial/ecrs/Registry.js +208 -0
- package/lib/cjs/spatial/ecrs/Registry.js.map +1 -0
- package/lib/cjs/spatial/ecrs/Transform.d.ts +78 -0
- package/lib/cjs/spatial/ecrs/Transform.d.ts.map +1 -0
- package/lib/cjs/spatial/ecrs/Transform.js +397 -0
- package/lib/cjs/spatial/ecrs/Transform.js.map +1 -0
- package/lib/cjs/spatial/ecrs/Unit.d.ts +171 -0
- package/lib/cjs/spatial/ecrs/Unit.d.ts.map +1 -0
- package/lib/cjs/spatial/ecrs/Unit.js +337 -0
- package/lib/cjs/spatial/ecrs/Unit.js.map +1 -0
- package/lib/cjs/spatial/ecrs/VerticalModel.d.ts +70 -0
- package/lib/cjs/spatial/ecrs/VerticalModel.d.ts.map +1 -0
- package/lib/cjs/spatial/ecrs/VerticalModel.js +89 -0
- package/lib/cjs/spatial/ecrs/VerticalModel.js.map +1 -0
- package/lib/cjs/spatial/ecrs/WellKnownText.d.ts +154 -0
- package/lib/cjs/spatial/ecrs/WellKnownText.d.ts.map +1 -0
- package/lib/cjs/spatial/ecrs/WellKnownText.js +495 -0
- package/lib/cjs/spatial/ecrs/WellKnownText.js.map +1 -0
- package/lib/cjs/spatial/ecrs/WellKnownTextNode.d.ts +70 -0
- package/lib/cjs/spatial/ecrs/WellKnownTextNode.d.ts.map +1 -0
- package/lib/cjs/spatial/ecrs/WellKnownTextNode.js +129 -0
- package/lib/cjs/spatial/ecrs/WellKnownTextNode.js.map +1 -0
- package/lib/cjs/spatial/ecrs/projection/HotineObliqueMercator.d.ts +102 -0
- package/lib/cjs/spatial/ecrs/projection/HotineObliqueMercator.d.ts.map +1 -0
- package/lib/cjs/spatial/ecrs/projection/HotineObliqueMercator.js +163 -0
- package/lib/cjs/spatial/ecrs/projection/HotineObliqueMercator.js.map +1 -0
- package/lib/cjs/spatial/ecrs/projection/KrovakObliqueConformalConic.d.ts +80 -0
- package/lib/cjs/spatial/ecrs/projection/KrovakObliqueConformalConic.d.ts.map +1 -0
- package/lib/cjs/spatial/ecrs/projection/KrovakObliqueConformalConic.js +126 -0
- package/lib/cjs/spatial/ecrs/projection/KrovakObliqueConformalConic.js.map +1 -0
- package/lib/cjs/spatial/ecrs/projection/KrovakObliqueConformalConicEN.d.ts +48 -0
- package/lib/cjs/spatial/ecrs/projection/KrovakObliqueConformalConicEN.d.ts.map +1 -0
- package/lib/cjs/spatial/ecrs/projection/KrovakObliqueConformalConicEN.js +74 -0
- package/lib/cjs/spatial/ecrs/projection/KrovakObliqueConformalConicEN.js.map +1 -0
- package/lib/cjs/spatial/ecrs/projection/LambertConical1SP.d.ts +73 -0
- package/lib/cjs/spatial/ecrs/projection/LambertConical1SP.d.ts.map +1 -0
- package/lib/cjs/spatial/ecrs/projection/LambertConical1SP.js +130 -0
- package/lib/cjs/spatial/ecrs/projection/LambertConical1SP.js.map +1 -0
- package/lib/cjs/spatial/ecrs/projection/LambertConical2SP.d.ts +121 -0
- package/lib/cjs/spatial/ecrs/projection/LambertConical2SP.d.ts.map +1 -0
- package/lib/cjs/spatial/ecrs/projection/LambertConical2SP.js +180 -0
- package/lib/cjs/spatial/ecrs/projection/LambertConical2SP.js.map +1 -0
- package/lib/cjs/spatial/ecrs/projection/Mercator1SP.d.ts +74 -0
- package/lib/cjs/spatial/ecrs/projection/Mercator1SP.d.ts.map +1 -0
- package/lib/cjs/spatial/ecrs/projection/Mercator1SP.js +113 -0
- package/lib/cjs/spatial/ecrs/projection/Mercator1SP.js.map +1 -0
- package/lib/cjs/spatial/ecrs/projection/ObliqueMercator.d.ts +97 -0
- package/lib/cjs/spatial/ecrs/projection/ObliqueMercator.d.ts.map +1 -0
- package/lib/cjs/spatial/ecrs/projection/ObliqueMercator.js +174 -0
- package/lib/cjs/spatial/ecrs/projection/ObliqueMercator.js.map +1 -0
- package/lib/cjs/spatial/ecrs/projection/ObliqueStereographic.d.ts +124 -0
- package/lib/cjs/spatial/ecrs/projection/ObliqueStereographic.d.ts.map +1 -0
- package/lib/cjs/spatial/ecrs/projection/ObliqueStereographic.js +209 -0
- package/lib/cjs/spatial/ecrs/projection/ObliqueStereographic.js.map +1 -0
- package/lib/cjs/spatial/ecrs/projection/TransverseMercator.d.ts +109 -0
- package/lib/cjs/spatial/ecrs/projection/TransverseMercator.d.ts.map +1 -0
- package/lib/cjs/spatial/ecrs/projection/TransverseMercator.js +184 -0
- package/lib/cjs/spatial/ecrs/projection/TransverseMercator.js.map +1 -0
- package/lib/cjs/spatial/ecrs/transformation/PositionVector.d.ts +91 -0
- package/lib/cjs/spatial/ecrs/transformation/PositionVector.d.ts.map +1 -0
- package/lib/cjs/spatial/ecrs/transformation/PositionVector.js +131 -0
- package/lib/cjs/spatial/ecrs/transformation/PositionVector.js.map +1 -0
- package/lib/cjs/spatial/geom/Bounds.d.ts +34 -0
- package/lib/cjs/spatial/geom/Bounds.d.ts.map +1 -0
- package/lib/cjs/spatial/geom/Bounds.js +157 -0
- package/lib/cjs/spatial/geom/Bounds.js.map +1 -0
- package/lib/cjs/spatial/geom/Coordinate.d.ts +62 -0
- package/lib/cjs/spatial/geom/Coordinate.d.ts.map +1 -0
- package/lib/cjs/spatial/geom/Coordinate.js +187 -0
- package/lib/cjs/spatial/geom/Coordinate.js.map +1 -0
- package/lib/cjs/spatial/geom/Line.d.ts +226 -0
- package/lib/cjs/spatial/geom/Line.d.ts.map +1 -0
- package/lib/cjs/spatial/geom/Line.js +433 -0
- package/lib/cjs/spatial/geom/Line.js.map +1 -0
- package/lib/cjs/spatial/geom/Transform.d.ts +341 -0
- package/lib/cjs/spatial/geom/Transform.d.ts.map +1 -0
- package/lib/cjs/spatial/geom/Transform.js +749 -0
- package/lib/cjs/spatial/geom/Transform.js.map +1 -0
- package/lib/cjs/system/buffer/ABuffer.d.ts +52 -0
- package/lib/cjs/system/buffer/ABuffer.d.ts.map +1 -0
- package/lib/cjs/system/buffer/ABuffer.js +91 -0
- package/lib/cjs/system/buffer/ABuffer.js.map +1 -0
- package/lib/cjs/system/buffer/Float32Buffer.d.ts +47 -0
- package/lib/cjs/system/buffer/Float32Buffer.d.ts.map +1 -0
- package/lib/cjs/system/buffer/Float32Buffer.js +61 -0
- package/lib/cjs/system/buffer/Float32Buffer.js.map +1 -0
- package/lib/cjs/system/buffer/LittleEndian.d.ts +150 -0
- package/lib/cjs/system/buffer/LittleEndian.d.ts.map +1 -0
- package/lib/cjs/system/buffer/LittleEndian.js +304 -0
- package/lib/cjs/system/buffer/LittleEndian.js.map +1 -0
- package/lib/cjs/system/buffer/Uint16Buffer.d.ts +50 -0
- package/lib/cjs/system/buffer/Uint16Buffer.d.ts.map +1 -0
- package/lib/cjs/system/buffer/Uint16Buffer.js +66 -0
- package/lib/cjs/system/buffer/Uint16Buffer.js.map +1 -0
- package/lib/cjs/system/buffer/Uint8Buffer.d.ts +50 -0
- package/lib/cjs/system/buffer/Uint8Buffer.d.ts.map +1 -0
- package/lib/cjs/system/buffer/Uint8Buffer.js +66 -0
- package/lib/cjs/system/buffer/Uint8Buffer.js.map +1 -0
- package/lib/cjs/system/collection/AList.d.ts +31 -0
- package/lib/cjs/system/collection/AList.d.ts.map +1 -0
- package/lib/cjs/system/collection/AList.js +71 -0
- package/lib/cjs/system/collection/AList.js.map +1 -0
- package/lib/cjs/system/collection/IntMap.d.ts +19 -0
- package/lib/cjs/system/collection/IntMap.d.ts.map +1 -0
- package/lib/cjs/system/collection/IntMap.js +36 -0
- package/lib/cjs/system/collection/IntMap.js.map +1 -0
- package/lib/cjs/system/collection/StringMap.d.ts +27 -0
- package/lib/cjs/system/collection/StringMap.d.ts.map +1 -0
- package/lib/cjs/system/collection/StringMap.js +64 -0
- package/lib/cjs/system/collection/StringMap.js.map +1 -0
- package/lib/cjs/system/io/ABufferInStream.d.ts +30 -0
- package/lib/cjs/system/io/ABufferInStream.d.ts.map +1 -0
- package/lib/cjs/system/io/ABufferInStream.js +47 -0
- package/lib/cjs/system/io/ABufferInStream.js.map +1 -0
- package/lib/cjs/system/io/InStream.d.ts +24 -0
- package/lib/cjs/system/io/InStream.d.ts.map +1 -0
- package/lib/cjs/system/io/InStream.js +35 -0
- package/lib/cjs/system/io/InStream.js.map +1 -0
- package/lib/cjs/system/io/OutStream.d.ts +24 -0
- package/lib/cjs/system/io/OutStream.d.ts.map +1 -0
- package/lib/cjs/system/io/OutStream.js +34 -0
- package/lib/cjs/system/io/OutStream.js.map +1 -0
- package/lib/cjs/system/runtime/ALong.d.ts +330 -0
- package/lib/cjs/system/runtime/ALong.d.ts.map +1 -0
- package/lib/cjs/system/runtime/ALong.js +688 -0
- package/lib/cjs/system/runtime/ALong.js.map +1 -0
- package/lib/cjs/system/runtime/ASystem.d.ts +15 -0
- package/lib/cjs/system/runtime/ASystem.d.ts.map +1 -0
- package/lib/cjs/system/runtime/ASystem.js +32 -0
- package/lib/cjs/system/runtime/ASystem.js.map +1 -0
- package/lib/cjs/system/runtime/Downloader.d.ts +18 -0
- package/lib/cjs/system/runtime/Downloader.d.ts.map +1 -0
- package/lib/cjs/system/runtime/Downloader.js +39 -0
- package/lib/cjs/system/runtime/Downloader.js.map +1 -0
- package/lib/cjs/system/runtime/DownloaderNode.d.ts +19 -0
- package/lib/cjs/system/runtime/DownloaderNode.d.ts.map +1 -0
- package/lib/cjs/system/runtime/DownloaderNode.js +130 -0
- package/lib/cjs/system/runtime/DownloaderNode.js.map +1 -0
- package/lib/cjs/system/runtime/DownloaderXhr.d.ts +19 -0
- package/lib/cjs/system/runtime/DownloaderXhr.d.ts.map +1 -0
- package/lib/cjs/system/runtime/DownloaderXhr.js +132 -0
- package/lib/cjs/system/runtime/DownloaderXhr.js.map +1 -0
- package/lib/cjs/system/runtime/Message.d.ts +17 -0
- package/lib/cjs/system/runtime/Message.d.ts.map +1 -0
- package/lib/cjs/system/runtime/Message.js +40 -0
- package/lib/cjs/system/runtime/Message.js.map +1 -0
- package/lib/cjs/system/runtime/Numbers.d.ts +35 -0
- package/lib/cjs/system/runtime/Numbers.d.ts.map +1 -0
- package/lib/cjs/system/runtime/Numbers.js +88 -0
- package/lib/cjs/system/runtime/Numbers.js.map +1 -0
- package/lib/cjs/system/runtime/Strings.d.ts +50 -0
- package/lib/cjs/system/runtime/Strings.d.ts.map +1 -0
- package/lib/cjs/system/runtime/Strings.js +189 -0
- package/lib/cjs/system/runtime/Strings.js.map +1 -0
- package/lib/cjs/system/runtime/iComparator.d.ts +13 -0
- package/lib/cjs/system/runtime/iComparator.d.ts.map +1 -0
- package/lib/cjs/system/runtime/iComparator.js +10 -0
- package/lib/cjs/system/runtime/iComparator.js.map +1 -0
- package/lib/cjs/system/storage/CacheList.d.ts +40 -0
- package/lib/cjs/system/storage/CacheList.d.ts.map +1 -0
- package/lib/cjs/system/storage/CacheList.js +81 -0
- package/lib/cjs/system/storage/CacheList.js.map +1 -0
- package/lib/cjs/system/storage/CachedItem.d.ts +22 -0
- package/lib/cjs/system/storage/CachedItem.d.ts.map +1 -0
- package/lib/cjs/system/storage/CachedItem.js +26 -0
- package/lib/cjs/system/storage/CachedItem.js.map +1 -0
- package/lib/cjs/system/storage/ContentLoader.d.ts +65 -0
- package/lib/cjs/system/storage/ContentLoader.d.ts.map +1 -0
- package/lib/cjs/system/storage/ContentLoader.js +96 -0
- package/lib/cjs/system/storage/ContentLoader.js.map +1 -0
- package/lib/cjs/system/storage/FileContent.d.ts +20 -0
- package/lib/cjs/system/storage/FileContent.d.ts.map +1 -0
- package/lib/cjs/system/storage/FileContent.js +25 -0
- package/lib/cjs/system/storage/FileContent.js.map +1 -0
- package/lib/cjs/system/storage/FileRange.d.ts +21 -0
- package/lib/cjs/system/storage/FileRange.d.ts.map +1 -0
- package/lib/cjs/system/storage/FileRange.js +25 -0
- package/lib/cjs/system/storage/FileRange.js.map +1 -0
- package/lib/cjs/system/storage/FileStorage.d.ts +45 -0
- package/lib/cjs/system/storage/FileStorage.d.ts.map +1 -0
- package/lib/cjs/system/storage/FileStorage.js +63 -0
- package/lib/cjs/system/storage/FileStorage.js.map +1 -0
- package/lib/cjs/system/storage/NodeFS.d.ts +42 -0
- package/lib/cjs/system/storage/NodeFS.d.ts.map +1 -0
- package/lib/cjs/system/storage/NodeFS.js +80 -0
- package/lib/cjs/system/storage/NodeFS.js.map +1 -0
- package/lib/cjs/system/storage/PageCachedFile.d.ts +55 -0
- package/lib/cjs/system/storage/PageCachedFile.d.ts.map +1 -0
- package/lib/cjs/system/storage/PageCachedFile.js +166 -0
- package/lib/cjs/system/storage/PageCachedFile.js.map +1 -0
- package/lib/cjs/system/storage/UrlFS.d.ts +54 -0
- package/lib/cjs/system/storage/UrlFS.d.ts.map +1 -0
- package/lib/cjs/system/storage/UrlFS.js +115 -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 +60 -0
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
/** @packageDocumentation
|
|
2
|
+
* @module OrbitGT
|
|
3
|
+
*/
|
|
4
|
+
declare type int32 = number;
|
|
5
|
+
import { ABuffer } from "../../../system/buffer/ABuffer";
|
|
6
|
+
/**
|
|
7
|
+
* Class TileReadBuffer defines a memory buffer for reading a sequence of tiles.
|
|
8
|
+
*
|
|
9
|
+
* @version 1.0 January 2014
|
|
10
|
+
*/
|
|
11
|
+
/** @internal */
|
|
12
|
+
export declare class TileReadBuffer {
|
|
13
|
+
/** The geometry buffer */
|
|
14
|
+
private _geometryBuffer;
|
|
15
|
+
/** The attribute buffers */
|
|
16
|
+
private _attributeBuffers;
|
|
17
|
+
/**
|
|
18
|
+
* Create a new buffer.
|
|
19
|
+
* @param attributeCount the number of attributes.
|
|
20
|
+
*/
|
|
21
|
+
constructor(attributeCount: int32);
|
|
22
|
+
/**
|
|
23
|
+
* Get the geometry buffer.
|
|
24
|
+
* @return the buffer.
|
|
25
|
+
*/
|
|
26
|
+
getGeometryBuffer(): ABuffer;
|
|
27
|
+
/**
|
|
28
|
+
* Set the geometry buffer.
|
|
29
|
+
* @param buffer the buffer.
|
|
30
|
+
*/
|
|
31
|
+
setGeometryBuffer(buffer: ABuffer): void;
|
|
32
|
+
/**
|
|
33
|
+
* Get the geometry buffer.
|
|
34
|
+
* @param size the mimumum size of the buffer.
|
|
35
|
+
* @return the buffer.
|
|
36
|
+
*/
|
|
37
|
+
getSizedGeometryBuffer(size: int32): ABuffer;
|
|
38
|
+
/**
|
|
39
|
+
* Get the attribute count.
|
|
40
|
+
* @return the attribute count.
|
|
41
|
+
*/
|
|
42
|
+
getAttributeCount(): int32;
|
|
43
|
+
/**
|
|
44
|
+
* Get an attribute buffer.
|
|
45
|
+
* @param attributeIndex the index of the attribute.
|
|
46
|
+
* @return the buffer.
|
|
47
|
+
*/
|
|
48
|
+
getAttributeBuffer(attributeIndex: int32): ABuffer;
|
|
49
|
+
/**
|
|
50
|
+
* Get an attribute buffer.
|
|
51
|
+
* @param attributeIndex the index of the attribute.
|
|
52
|
+
* @param size the mimumum size of the buffer.
|
|
53
|
+
* @return the buffer.
|
|
54
|
+
*/
|
|
55
|
+
getSizedAttributeBuffer(attributeIndex: int32, size: int32): ABuffer;
|
|
56
|
+
/**
|
|
57
|
+
* Set an attribute buffer.
|
|
58
|
+
* @param attributeIndex the index of the attribute.
|
|
59
|
+
* @param buffer the buffer.
|
|
60
|
+
*/
|
|
61
|
+
setAttributeBuffer(attributeIndex: int32, buffer: ABuffer): void;
|
|
62
|
+
}
|
|
63
|
+
export {};
|
|
64
|
+
//# sourceMappingURL=TileReadBuffer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TileReadBuffer.d.ts","sourceRoot":"","sources":["../../../../../src/pointcloud/format/opc/TileReadBuffer.ts"],"names":[],"mappings":"AAIA;;GAEG;AAMH,aAAK,KAAK,GAAG,MAAM,CAAC;AAIpB,OAAO,EAAE,OAAO,EAAE,MAAM,gCAAgC,CAAC;AAEzD;;;;GAIG;AACH,gBAAgB;AAChB,qBAAa,cAAc;IACvB,0BAA0B;IAC1B,OAAO,CAAC,eAAe,CAAU;IACjC,4BAA4B;IAC5B,OAAO,CAAC,iBAAiB,CAAiB;IAE1C;;;OAGG;gBACgB,cAAc,EAAE,KAAK;IAMxC;;;OAGG;IACI,iBAAiB,IAAI,OAAO;IAInC;;;OAGG;IACI,iBAAiB,CAAC,MAAM,EAAE,OAAO,GAAG,IAAI;IAI/C;;;;OAIG;IACI,sBAAsB,CAAC,IAAI,EAAE,KAAK,GAAG,OAAO;IAOnD;;;OAGG;IACI,iBAAiB,IAAI,KAAK;IAIjC;;;;OAIG;IACI,kBAAkB,CAAC,cAAc,EAAE,KAAK,GAAG,OAAO;IAIzD;;;;;OAKG;IACI,uBAAuB,CAAC,cAAc,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,GAAG,OAAO;IAS3E;;;;OAIG;IACI,kBAAkB,CAAC,cAAc,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,GAAG,IAAI;CAG1E"}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*---------------------------------------------------------------------------------------------
|
|
3
|
+
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
4
|
+
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
5
|
+
*--------------------------------------------------------------------------------------------*/
|
|
6
|
+
/** @packageDocumentation
|
|
7
|
+
* @module OrbitGT
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.TileReadBuffer = void 0;
|
|
11
|
+
const ABuffer_1 = require("../../../system/buffer/ABuffer");
|
|
12
|
+
/**
|
|
13
|
+
* Class TileReadBuffer defines a memory buffer for reading a sequence of tiles.
|
|
14
|
+
*
|
|
15
|
+
* @version 1.0 January 2014
|
|
16
|
+
*/
|
|
17
|
+
/** @internal */
|
|
18
|
+
class TileReadBuffer {
|
|
19
|
+
/**
|
|
20
|
+
* Create a new buffer.
|
|
21
|
+
* @param attributeCount the number of attributes.
|
|
22
|
+
*/
|
|
23
|
+
constructor(attributeCount) {
|
|
24
|
+
this._geometryBuffer = null; //new ABuffer(1024);
|
|
25
|
+
this._attributeBuffers = new Array(attributeCount);
|
|
26
|
+
for (let i = 0; i < attributeCount; i++)
|
|
27
|
+
this._attributeBuffers[i] = null; //new ABuffer(1024);
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Get the geometry buffer.
|
|
31
|
+
* @return the buffer.
|
|
32
|
+
*/
|
|
33
|
+
getGeometryBuffer() {
|
|
34
|
+
return this._geometryBuffer;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Set the geometry buffer.
|
|
38
|
+
* @param buffer the buffer.
|
|
39
|
+
*/
|
|
40
|
+
setGeometryBuffer(buffer) {
|
|
41
|
+
this._geometryBuffer = buffer;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Get the geometry buffer.
|
|
45
|
+
* @param size the mimumum size of the buffer.
|
|
46
|
+
* @return the buffer.
|
|
47
|
+
*/
|
|
48
|
+
getSizedGeometryBuffer(size) {
|
|
49
|
+
if (this._geometryBuffer.size() < size) {
|
|
50
|
+
this._geometryBuffer = new ABuffer_1.ABuffer(size + 1024);
|
|
51
|
+
}
|
|
52
|
+
return this._geometryBuffer;
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Get the attribute count.
|
|
56
|
+
* @return the attribute count.
|
|
57
|
+
*/
|
|
58
|
+
getAttributeCount() {
|
|
59
|
+
return this._attributeBuffers.length;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Get an attribute buffer.
|
|
63
|
+
* @param attributeIndex the index of the attribute.
|
|
64
|
+
* @return the buffer.
|
|
65
|
+
*/
|
|
66
|
+
getAttributeBuffer(attributeIndex) {
|
|
67
|
+
return this._attributeBuffers[attributeIndex];
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Get an attribute buffer.
|
|
71
|
+
* @param attributeIndex the index of the attribute.
|
|
72
|
+
* @param size the mimumum size of the buffer.
|
|
73
|
+
* @return the buffer.
|
|
74
|
+
*/
|
|
75
|
+
getSizedAttributeBuffer(attributeIndex, size) {
|
|
76
|
+
let attributeBuffer = this._attributeBuffers[attributeIndex];
|
|
77
|
+
if (attributeBuffer.size() < size) {
|
|
78
|
+
attributeBuffer = new ABuffer_1.ABuffer(size + 1024);
|
|
79
|
+
this._attributeBuffers[attributeIndex] = attributeBuffer;
|
|
80
|
+
}
|
|
81
|
+
return attributeBuffer;
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* Set an attribute buffer.
|
|
85
|
+
* @param attributeIndex the index of the attribute.
|
|
86
|
+
* @param buffer the buffer.
|
|
87
|
+
*/
|
|
88
|
+
setAttributeBuffer(attributeIndex, buffer) {
|
|
89
|
+
this._attributeBuffers[attributeIndex] = buffer;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
exports.TileReadBuffer = TileReadBuffer;
|
|
93
|
+
//# sourceMappingURL=TileReadBuffer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TileReadBuffer.js","sourceRoot":"","sources":["../../../../../src/pointcloud/format/opc/TileReadBuffer.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAUH,4DAAyD;AAEzD;;;;GAIG;AACH,gBAAgB;AAChB,MAAa,cAAc;IAMvB;;;OAGG;IACH,YAAmB,cAAqB;QACpC,IAAI,CAAC,eAAe,GAAG,IAAI,CAAC,CAAC,oBAAoB;QACjD,IAAI,CAAC,iBAAiB,GAAG,IAAI,KAAK,CAAU,cAAc,CAAC,CAAC;QAC5D,KAAK,IAAI,CAAC,GAAW,CAAC,EAAE,CAAC,GAAG,cAAc,EAAE,CAAC,EAAE;YAAE,IAAI,CAAC,iBAAiB,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC,oBAAoB;IAC3G,CAAC;IAED;;;OAGG;IACI,iBAAiB;QACpB,OAAO,IAAI,CAAC,eAAe,CAAC;IAChC,CAAC;IAED;;;OAGG;IACI,iBAAiB,CAAC,MAAe;QACpC,IAAI,CAAC,eAAe,GAAG,MAAM,CAAC;IAClC,CAAC;IAED;;;;OAIG;IACI,sBAAsB,CAAC,IAAW;QACrC,IAAI,IAAI,CAAC,eAAe,CAAC,IAAI,EAAE,GAAG,IAAI,EAAE;YACpC,IAAI,CAAC,eAAe,GAAG,IAAI,iBAAO,CAAC,IAAI,GAAG,IAAI,CAAC,CAAC;SACnD;QACD,OAAO,IAAI,CAAC,eAAe,CAAC;IAChC,CAAC;IAED;;;OAGG;IACI,iBAAiB;QACpB,OAAO,IAAI,CAAC,iBAAiB,CAAC,MAAM,CAAC;IACzC,CAAC;IAED;;;;OAIG;IACI,kBAAkB,CAAC,cAAqB;QAC3C,OAAO,IAAI,CAAC,iBAAiB,CAAC,cAAc,CAAC,CAAC;IAClD,CAAC;IAED;;;;;OAKG;IACI,uBAAuB,CAAC,cAAqB,EAAE,IAAW;QAC7D,IAAI,eAAe,GAAY,IAAI,CAAC,iBAAiB,CAAC,cAAc,CAAC,CAAC;QACtE,IAAI,eAAe,CAAC,IAAI,EAAE,GAAG,IAAI,EAAE;YAC/B,eAAe,GAAG,IAAI,iBAAO,CAAC,IAAI,GAAG,IAAI,CAAC,CAAC;YAC3C,IAAI,CAAC,iBAAiB,CAAC,cAAc,CAAC,GAAG,eAAe,CAAC;SAC5D;QACD,OAAO,eAAe,CAAC;IAC3B,CAAC;IAED;;;;OAIG;IACI,kBAAkB,CAAC,cAAqB,EAAE,MAAe;QAC5D,IAAI,CAAC,iBAAiB,CAAC,cAAc,CAAC,GAAG,MAAM,CAAC;IACpD,CAAC;CACJ;AApFD,wCAoFC","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module OrbitGT\r\n */\r\n\r\n//package orbitgt.pointcloud.format.opc;\r\n\r\ntype int8 = number;\r\ntype int16 = number;\r\ntype int32 = number;\r\ntype float32 = number;\r\ntype float64 = number;\r\n\r\nimport { ABuffer } from \"../../../system/buffer/ABuffer\";\r\n\r\n/**\r\n * Class TileReadBuffer defines a memory buffer for reading a sequence of tiles.\r\n *\r\n * @version 1.0 January 2014\r\n */\r\n/** @internal */\r\nexport class TileReadBuffer {\r\n /** The geometry buffer */\r\n private _geometryBuffer: ABuffer;\r\n /** The attribute buffers */\r\n private _attributeBuffers: Array<ABuffer>;\r\n\r\n /**\r\n * Create a new buffer.\r\n * @param attributeCount the number of attributes.\r\n */\r\n public constructor(attributeCount: int32) {\r\n this._geometryBuffer = null; //new ABuffer(1024);\r\n this._attributeBuffers = new Array<ABuffer>(attributeCount);\r\n for (let i: number = 0; i < attributeCount; i++) this._attributeBuffers[i] = null; //new ABuffer(1024);\r\n }\r\n\r\n /**\r\n * Get the geometry buffer.\r\n * @return the buffer.\r\n */\r\n public getGeometryBuffer(): ABuffer {\r\n return this._geometryBuffer;\r\n }\r\n\r\n /**\r\n * Set the geometry buffer.\r\n * @param buffer the buffer.\r\n */\r\n public setGeometryBuffer(buffer: ABuffer): void {\r\n this._geometryBuffer = buffer;\r\n }\r\n\r\n /**\r\n * Get the geometry buffer.\r\n * @param size the mimumum size of the buffer.\r\n * @return the buffer.\r\n */\r\n public getSizedGeometryBuffer(size: int32): ABuffer {\r\n if (this._geometryBuffer.size() < size) {\r\n this._geometryBuffer = new ABuffer(size + 1024);\r\n }\r\n return this._geometryBuffer;\r\n }\r\n\r\n /**\r\n * Get the attribute count.\r\n * @return the attribute count.\r\n */\r\n public getAttributeCount(): int32 {\r\n return this._attributeBuffers.length;\r\n }\r\n\r\n /**\r\n * Get an attribute buffer.\r\n * @param attributeIndex the index of the attribute.\r\n * @return the buffer.\r\n */\r\n public getAttributeBuffer(attributeIndex: int32): ABuffer {\r\n return this._attributeBuffers[attributeIndex];\r\n }\r\n\r\n /**\r\n * Get an attribute buffer.\r\n * @param attributeIndex the index of the attribute.\r\n * @param size the mimumum size of the buffer.\r\n * @return the buffer.\r\n */\r\n public getSizedAttributeBuffer(attributeIndex: int32, size: int32): ABuffer {\r\n let attributeBuffer: ABuffer = this._attributeBuffers[attributeIndex];\r\n if (attributeBuffer.size() < size) {\r\n attributeBuffer = new ABuffer(size + 1024);\r\n this._attributeBuffers[attributeIndex] = attributeBuffer;\r\n }\r\n return attributeBuffer;\r\n }\r\n\r\n /**\r\n * Set an attribute buffer.\r\n * @param attributeIndex the index of the attribute.\r\n * @param buffer the buffer.\r\n */\r\n public setAttributeBuffer(attributeIndex: int32, buffer: ABuffer): void {\r\n this._attributeBuffers[attributeIndex] = buffer;\r\n }\r\n}\r\n"]}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
/** @packageDocumentation
|
|
2
|
+
* @module OrbitGT
|
|
3
|
+
*/
|
|
4
|
+
declare type int32 = number;
|
|
5
|
+
import { InStream } from "../../../system/io/InStream";
|
|
6
|
+
import { OutStream } from "../../../system/io/OutStream";
|
|
7
|
+
import { ALong } from "../../../system/runtime/ALong";
|
|
8
|
+
import { Grid } from "../../model/Grid";
|
|
9
|
+
import { GridIndex } from "../../model/GridIndex";
|
|
10
|
+
import { TileIndex } from "../../model/TileIndex";
|
|
11
|
+
/**
|
|
12
|
+
* Class TileRecord defines a tile index record.
|
|
13
|
+
*
|
|
14
|
+
* @version 1.0 January 2014
|
|
15
|
+
*/
|
|
16
|
+
/** @internal */
|
|
17
|
+
export declare class TileRecord {
|
|
18
|
+
/** The size of the record in the file */
|
|
19
|
+
static readonly RECORD_SIZE: int32;
|
|
20
|
+
/**
|
|
21
|
+
* No instances.
|
|
22
|
+
*/
|
|
23
|
+
private constructor();
|
|
24
|
+
/**
|
|
25
|
+
* Check if this tile has a certain index.
|
|
26
|
+
* @param tileX the tile x index.
|
|
27
|
+
* @param tileY the tile y index.
|
|
28
|
+
* @param tileZ the tile Z index.
|
|
29
|
+
* @return true if the tile has the index.
|
|
30
|
+
*/
|
|
31
|
+
static isTile(tile: TileIndex, tileX: int32, tileY: int32, tileZ: int32): boolean;
|
|
32
|
+
/**
|
|
33
|
+
* Check if this tile is located after a certain index.
|
|
34
|
+
* @param tileX the tile x index.
|
|
35
|
+
* @param tileY the tile y index.
|
|
36
|
+
* @param tileZ the tile Z index.
|
|
37
|
+
* @return true if the tile is after the index.
|
|
38
|
+
*/
|
|
39
|
+
static isAfterTile(tile: TileIndex, tileX: int32, tileY: int32, tileZ: int32): boolean;
|
|
40
|
+
/**
|
|
41
|
+
* Check if this tile is located before a certain index.
|
|
42
|
+
* @param tileX the tile x index.
|
|
43
|
+
* @param tileY the tile y index.
|
|
44
|
+
* @param tileZ the tile Z index.
|
|
45
|
+
* @return true if the tile is before the index.
|
|
46
|
+
*/
|
|
47
|
+
static isBeforeTile(tile: TileIndex, tileX: int32, tileY: int32, tileZ: int32): boolean;
|
|
48
|
+
/**
|
|
49
|
+
* Write a record.
|
|
50
|
+
* @param output the output stream.
|
|
51
|
+
*/
|
|
52
|
+
static write(tile: TileIndex, output: OutStream): void;
|
|
53
|
+
/**
|
|
54
|
+
* Read a record.
|
|
55
|
+
* @param tileGrid the grid.
|
|
56
|
+
* @param stream the data stream from the file.
|
|
57
|
+
* @param tileIndex the index of the tile.
|
|
58
|
+
* @param pointIndex the index of the first point in the tile.
|
|
59
|
+
* @return the requested record.
|
|
60
|
+
*/
|
|
61
|
+
static readNew(level: int32, tileGrid: Grid, stream: InStream, tileIndex: int32, pointIndex: ALong): TileIndex;
|
|
62
|
+
/**
|
|
63
|
+
* Read a record.
|
|
64
|
+
* @param in the input stream.
|
|
65
|
+
* @param tileIndex the index of the tile.
|
|
66
|
+
* @param pointIndex the index of the first point in the tile.
|
|
67
|
+
*/
|
|
68
|
+
static read(tile: TileIndex, level: int32, blockIndex: int32, stream: InStream, tileIndex: int32, pointIndex: ALong): void;
|
|
69
|
+
/**
|
|
70
|
+
* Get the squared distance to a grid cell.
|
|
71
|
+
* @param reference the reference point.
|
|
72
|
+
* @return the squared distance.
|
|
73
|
+
*/
|
|
74
|
+
static distanceSq(tile: TileIndex, reference: GridIndex): int32;
|
|
75
|
+
/**
|
|
76
|
+
* Get a next-level index.
|
|
77
|
+
* @param index the index at the current level.
|
|
78
|
+
* @return the next-level index.
|
|
79
|
+
*/
|
|
80
|
+
private static getNextLevelIndex1;
|
|
81
|
+
/**
|
|
82
|
+
* Get a next-level index.
|
|
83
|
+
* @param index the index at the current level.
|
|
84
|
+
* @return the next-level index.
|
|
85
|
+
*/
|
|
86
|
+
static getNextLevelIndex(index: GridIndex): GridIndex;
|
|
87
|
+
}
|
|
88
|
+
export {};
|
|
89
|
+
//# sourceMappingURL=TileRecord.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TileRecord.d.ts","sourceRoot":"","sources":["../../../../../src/pointcloud/format/opc/TileRecord.ts"],"names":[],"mappings":"AAIA;;GAEG;AAMH,aAAK,KAAK,GAAG,MAAM,CAAC;AAOpB,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACvD,OAAO,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AACzD,OAAO,EAAE,KAAK,EAAE,MAAM,+BAA+B,CAAC;AAGtD,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAElD;;;;GAIG;AACH,gBAAgB;AAChB,qBAAa,UAAU;IACnB,yCAAyC;IACzC,gBAAuB,WAAW,EAAE,KAAK,CAAM;IAE/C;;OAEG;IACH,OAAO;IAGP;;;;;;OAMG;WACW,MAAM,CAAC,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,GAAG,OAAO;IAIxF;;;;;;OAMG;WACW,WAAW,CAAC,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,GAAG,OAAO;IAU7F;;;;;;OAMG;WACW,YAAY,CAAC,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,GAAG,OAAO;IAU9F;;;OAGG;WACW,KAAK,CAAC,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,SAAS,GAAG,IAAI;IAU7D;;;;;;;OAOG;WACW,OAAO,CAAC,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,SAAS,EAAE,KAAK,EAAE,UAAU,EAAE,KAAK,GAAG,SAAS;IAUrH;;;;;OAKG;WACW,IAAI,CAAC,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,SAAS,EAAE,KAAK,EAAE,UAAU,EAAE,KAAK,GAAG,IAAI;IAUjI;;;;OAIG;WACW,UAAU,CAAC,IAAI,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,GAAG,KAAK;IAOtE;;;;OAIG;IACH,OAAO,CAAC,MAAM,CAAC,kBAAkB;IAKjC;;;;OAIG;WACW,iBAAiB,CAAC,KAAK,EAAE,SAAS,GAAG,SAAS;CAM/D"}
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*---------------------------------------------------------------------------------------------
|
|
3
|
+
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
4
|
+
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
5
|
+
*--------------------------------------------------------------------------------------------*/
|
|
6
|
+
/** @packageDocumentation
|
|
7
|
+
* @module OrbitGT
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.TileRecord = void 0;
|
|
11
|
+
const LittleEndian_1 = require("../../../system/buffer/LittleEndian");
|
|
12
|
+
const Numbers_1 = require("../../../system/runtime/Numbers");
|
|
13
|
+
const GridIndex_1 = require("../../model/GridIndex");
|
|
14
|
+
const TileIndex_1 = require("../../model/TileIndex");
|
|
15
|
+
/**
|
|
16
|
+
* Class TileRecord defines a tile index record.
|
|
17
|
+
*
|
|
18
|
+
* @version 1.0 January 2014
|
|
19
|
+
*/
|
|
20
|
+
/** @internal */
|
|
21
|
+
class TileRecord {
|
|
22
|
+
/**
|
|
23
|
+
* No instances.
|
|
24
|
+
*/
|
|
25
|
+
constructor() {
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Check if this tile has a certain index.
|
|
29
|
+
* @param tileX the tile x index.
|
|
30
|
+
* @param tileY the tile y index.
|
|
31
|
+
* @param tileZ the tile Z index.
|
|
32
|
+
* @return true if the tile has the index.
|
|
33
|
+
*/
|
|
34
|
+
static isTile(tile, tileX, tileY, tileZ) {
|
|
35
|
+
return (tileX == tile.gridIndex.x && tileY == tile.gridIndex.y && tileZ == tile.gridIndex.z);
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if this tile is located after a certain index.
|
|
39
|
+
* @param tileX the tile x index.
|
|
40
|
+
* @param tileY the tile y index.
|
|
41
|
+
* @param tileZ the tile Z index.
|
|
42
|
+
* @return true if the tile is after the index.
|
|
43
|
+
*/
|
|
44
|
+
static isAfterTile(tile, tileX, tileY, tileZ) {
|
|
45
|
+
if (tile.gridIndex.x < tileX)
|
|
46
|
+
return false;
|
|
47
|
+
if (tile.gridIndex.x > tileX)
|
|
48
|
+
return true;
|
|
49
|
+
if (tile.gridIndex.y < tileY)
|
|
50
|
+
return false;
|
|
51
|
+
if (tile.gridIndex.y > tileY)
|
|
52
|
+
return true;
|
|
53
|
+
if (tile.gridIndex.z < tileZ)
|
|
54
|
+
return false;
|
|
55
|
+
if (tile.gridIndex.z > tileZ)
|
|
56
|
+
return true;
|
|
57
|
+
return false;
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Check if this tile is located before a certain index.
|
|
61
|
+
* @param tileX the tile x index.
|
|
62
|
+
* @param tileY the tile y index.
|
|
63
|
+
* @param tileZ the tile Z index.
|
|
64
|
+
* @return true if the tile is before the index.
|
|
65
|
+
*/
|
|
66
|
+
static isBeforeTile(tile, tileX, tileY, tileZ) {
|
|
67
|
+
if (tile.gridIndex.x < tileX)
|
|
68
|
+
return true;
|
|
69
|
+
if (tile.gridIndex.x > tileX)
|
|
70
|
+
return false;
|
|
71
|
+
if (tile.gridIndex.y < tileY)
|
|
72
|
+
return true;
|
|
73
|
+
if (tile.gridIndex.y > tileY)
|
|
74
|
+
return false;
|
|
75
|
+
if (tile.gridIndex.z < tileZ)
|
|
76
|
+
return true;
|
|
77
|
+
if (tile.gridIndex.z > tileZ)
|
|
78
|
+
return false;
|
|
79
|
+
return false;
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* Write a record.
|
|
83
|
+
* @param output the output stream.
|
|
84
|
+
*/
|
|
85
|
+
static write(tile, output) {
|
|
86
|
+
let tileX = tile.gridIndex.x;
|
|
87
|
+
let tileY = tile.gridIndex.y;
|
|
88
|
+
let tileZ = tile.gridIndex.z;
|
|
89
|
+
LittleEndian_1.LittleEndian.writeStreamInt(output, tileX);
|
|
90
|
+
LittleEndian_1.LittleEndian.writeStreamInt(output, tileY);
|
|
91
|
+
LittleEndian_1.LittleEndian.writeStreamInt(output, tileZ);
|
|
92
|
+
LittleEndian_1.LittleEndian.writeStreamInt(output, tile.pointCount);
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* Read a record.
|
|
96
|
+
* @param tileGrid the grid.
|
|
97
|
+
* @param stream the data stream from the file.
|
|
98
|
+
* @param tileIndex the index of the tile.
|
|
99
|
+
* @param pointIndex the index of the first point in the tile.
|
|
100
|
+
* @return the requested record.
|
|
101
|
+
*/
|
|
102
|
+
static readNew(level, tileGrid, stream, tileIndex, pointIndex) {
|
|
103
|
+
/* Read the record */
|
|
104
|
+
let tileX = LittleEndian_1.LittleEndian.readStreamInt(stream);
|
|
105
|
+
let tileY = LittleEndian_1.LittleEndian.readStreamInt(stream);
|
|
106
|
+
let tileZ = LittleEndian_1.LittleEndian.readStreamInt(stream);
|
|
107
|
+
let pointCount = LittleEndian_1.LittleEndian.readStreamInt(stream);
|
|
108
|
+
/* Create the record */
|
|
109
|
+
return new TileIndex_1.TileIndex(level, tileIndex, new GridIndex_1.GridIndex(tileX, tileY, tileZ), pointIndex, pointCount);
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* Read a record.
|
|
113
|
+
* @param in the input stream.
|
|
114
|
+
* @param tileIndex the index of the tile.
|
|
115
|
+
* @param pointIndex the index of the first point in the tile.
|
|
116
|
+
*/
|
|
117
|
+
static read(tile, level, blockIndex, stream, tileIndex, pointIndex) {
|
|
118
|
+
tile.level = level;
|
|
119
|
+
tile.index = tileIndex;
|
|
120
|
+
tile.gridIndex.x = LittleEndian_1.LittleEndian.readStreamInt(stream);
|
|
121
|
+
tile.gridIndex.y = LittleEndian_1.LittleEndian.readStreamInt(stream);
|
|
122
|
+
tile.gridIndex.z = LittleEndian_1.LittleEndian.readStreamInt(stream);
|
|
123
|
+
tile.pointCount = LittleEndian_1.LittleEndian.readStreamInt(stream);
|
|
124
|
+
tile.pointIndex = pointIndex;
|
|
125
|
+
}
|
|
126
|
+
/**
|
|
127
|
+
* Get the squared distance to a grid cell.
|
|
128
|
+
* @param reference the reference point.
|
|
129
|
+
* @return the squared distance.
|
|
130
|
+
*/
|
|
131
|
+
static distanceSq(tile, reference) {
|
|
132
|
+
let dx = (tile.gridIndex.x - reference.x);
|
|
133
|
+
let dy = (tile.gridIndex.y - reference.y);
|
|
134
|
+
let dz = (tile.gridIndex.z - reference.z);
|
|
135
|
+
return (dx * dx) + (dy * dy) + (dz * dz);
|
|
136
|
+
}
|
|
137
|
+
/**
|
|
138
|
+
* Get a next-level index.
|
|
139
|
+
* @param index the index at the current level.
|
|
140
|
+
* @return the next-level index.
|
|
141
|
+
*/
|
|
142
|
+
static getNextLevelIndex1(index) {
|
|
143
|
+
if (index < 0)
|
|
144
|
+
return Numbers_1.Numbers.divInt(index - 1, 2);
|
|
145
|
+
return Numbers_1.Numbers.divInt(index, 2);
|
|
146
|
+
}
|
|
147
|
+
/**
|
|
148
|
+
* Get a next-level index.
|
|
149
|
+
* @param index the index at the current level.
|
|
150
|
+
* @return the next-level index.
|
|
151
|
+
*/
|
|
152
|
+
static getNextLevelIndex(index) {
|
|
153
|
+
let nextX = TileRecord.getNextLevelIndex1(index.x);
|
|
154
|
+
let nextY = TileRecord.getNextLevelIndex1(index.y);
|
|
155
|
+
let nextZ = TileRecord.getNextLevelIndex1(index.z);
|
|
156
|
+
return new GridIndex_1.GridIndex(nextX, nextY, nextZ);
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
exports.TileRecord = TileRecord;
|
|
160
|
+
/** The size of the record in the file */
|
|
161
|
+
TileRecord.RECORD_SIZE = 16;
|
|
162
|
+
//# sourceMappingURL=TileRecord.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TileRecord.js","sourceRoot":"","sources":["../../../../../src/pointcloud/format/opc/TileRecord.ts"],"names":[],"mappings":"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","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module OrbitGT\r\n */\r\n\r\n//package orbitgt.pointcloud.format.opc;\r\n\r\ntype int8 = number;\r\ntype int16 = number;\r\ntype int32 = number;\r\ntype float32 = number;\r\ntype float64 = number;\r\n\r\nimport { ABuffer } from \"../../../system/buffer/ABuffer\";\r\nimport { LittleEndian } from \"../../../system/buffer/LittleEndian\";\r\nimport { AList } from \"../../../system/collection/AList\";\r\nimport { InStream } from \"../../../system/io/InStream\";\r\nimport { OutStream } from \"../../../system/io/OutStream\";\r\nimport { ALong } from \"../../../system/runtime/ALong\";\r\nimport { Numbers } from \"../../../system/runtime/Numbers\";\r\nimport { ContentLoader } from \"../../../system/storage/ContentLoader\";\r\nimport { Grid } from \"../../model/Grid\";\r\nimport { GridIndex } from \"../../model/GridIndex\";\r\nimport { TileIndex } from \"../../model/TileIndex\";\r\n\r\n/**\r\n * Class TileRecord defines a tile index record.\r\n *\r\n * @version 1.0 January 2014\r\n */\r\n/** @internal */\r\nexport class TileRecord {\r\n /** The size of the record in the file */\r\n public static readonly RECORD_SIZE: int32 = 16;\r\n\r\n /**\r\n * No instances.\r\n */\r\n private constructor() {\r\n }\r\n\r\n /**\r\n * Check if this tile has a certain index.\r\n * @param tileX the tile x index.\r\n * @param tileY the tile y index.\r\n * @param tileZ the tile Z index.\r\n * @return true if the tile has the index.\r\n */\r\n public static isTile(tile: TileIndex, tileX: int32, tileY: int32, tileZ: int32): boolean {\r\n return (tileX == tile.gridIndex.x && tileY == tile.gridIndex.y && tileZ == tile.gridIndex.z);\r\n }\r\n\r\n /**\r\n * Check if this tile is located after a certain index.\r\n * @param tileX the tile x index.\r\n * @param tileY the tile y index.\r\n * @param tileZ the tile Z index.\r\n * @return true if the tile is after the index.\r\n */\r\n public static isAfterTile(tile: TileIndex, tileX: int32, tileY: int32, tileZ: int32): boolean {\r\n if (tile.gridIndex.x < tileX) return false;\r\n if (tile.gridIndex.x > tileX) return true;\r\n if (tile.gridIndex.y < tileY) return false;\r\n if (tile.gridIndex.y > tileY) return true;\r\n if (tile.gridIndex.z < tileZ) return false;\r\n if (tile.gridIndex.z > tileZ) return true;\r\n return false;\r\n }\r\n\r\n /**\r\n * Check if this tile is located before a certain index.\r\n * @param tileX the tile x index.\r\n * @param tileY the tile y index.\r\n * @param tileZ the tile Z index.\r\n * @return true if the tile is before the index.\r\n */\r\n public static isBeforeTile(tile: TileIndex, tileX: int32, tileY: int32, tileZ: int32): boolean {\r\n if (tile.gridIndex.x < tileX) return true;\r\n if (tile.gridIndex.x > tileX) return false;\r\n if (tile.gridIndex.y < tileY) return true;\r\n if (tile.gridIndex.y > tileY) return false;\r\n if (tile.gridIndex.z < tileZ) return true;\r\n if (tile.gridIndex.z > tileZ) return false;\r\n return false;\r\n }\r\n\r\n /**\r\n * Write a record.\r\n * @param output the output stream.\r\n */\r\n public static write(tile: TileIndex, output: OutStream): void {\r\n let tileX: int32 = tile.gridIndex.x;\r\n let tileY: int32 = tile.gridIndex.y;\r\n let tileZ: int32 = tile.gridIndex.z;\r\n LittleEndian.writeStreamInt(output, tileX);\r\n LittleEndian.writeStreamInt(output, tileY);\r\n LittleEndian.writeStreamInt(output, tileZ);\r\n LittleEndian.writeStreamInt(output, tile.pointCount);\r\n }\r\n\r\n /**\r\n * Read a record.\r\n * @param tileGrid the grid.\r\n * @param stream the data stream from the file.\r\n * @param tileIndex the index of the tile.\r\n * @param pointIndex the index of the first point in the tile.\r\n * @return the requested record.\r\n */\r\n public static readNew(level: int32, tileGrid: Grid, stream: InStream, tileIndex: int32, pointIndex: ALong): TileIndex {\r\n /* Read the record */\r\n let tileX: int32 = LittleEndian.readStreamInt(stream);\r\n let tileY: int32 = LittleEndian.readStreamInt(stream);\r\n let tileZ: int32 = LittleEndian.readStreamInt(stream);\r\n let pointCount: int32 = LittleEndian.readStreamInt(stream);\r\n /* Create the record */\r\n return new TileIndex(level, tileIndex, new GridIndex(tileX, tileY, tileZ), pointIndex, pointCount);\r\n }\r\n\r\n /**\r\n * Read a record.\r\n * @param in the input stream.\r\n * @param tileIndex the index of the tile.\r\n * @param pointIndex the index of the first point in the tile.\r\n */\r\n public static read(tile: TileIndex, level: int32, blockIndex: int32, stream: InStream, tileIndex: int32, pointIndex: ALong): void {\r\n tile.level = level;\r\n tile.index = tileIndex;\r\n tile.gridIndex.x = LittleEndian.readStreamInt(stream);\r\n tile.gridIndex.y = LittleEndian.readStreamInt(stream);\r\n tile.gridIndex.z = LittleEndian.readStreamInt(stream);\r\n tile.pointCount = LittleEndian.readStreamInt(stream);\r\n tile.pointIndex = pointIndex;\r\n }\r\n\r\n /**\r\n * Get the squared distance to a grid cell.\r\n * @param reference the reference point.\r\n * @return the squared distance.\r\n */\r\n public static distanceSq(tile: TileIndex, reference: GridIndex): int32 {\r\n let dx: int32 = (tile.gridIndex.x - reference.x);\r\n let dy: int32 = (tile.gridIndex.y - reference.y);\r\n let dz: int32 = (tile.gridIndex.z - reference.z);\r\n return (dx * dx) + (dy * dy) + (dz * dz);\r\n }\r\n\r\n /**\r\n * Get a next-level index.\r\n * @param index the index at the current level.\r\n * @return the next-level index.\r\n */\r\n private static getNextLevelIndex1(index: int32): int32 {\r\n if (index < 0) return Numbers.divInt(index - 1, 2);\r\n return Numbers.divInt(index, 2);\r\n }\r\n\r\n /**\r\n * Get a next-level index.\r\n * @param index the index at the current level.\r\n * @return the next-level index.\r\n */\r\n public static getNextLevelIndex(index: GridIndex): GridIndex {\r\n let nextX: int32 = TileRecord.getNextLevelIndex1(index.x);\r\n let nextY: int32 = TileRecord.getNextLevelIndex1(index.y);\r\n let nextZ: int32 = TileRecord.getNextLevelIndex1(index.z);\r\n return new GridIndex(nextX, nextY, nextZ);\r\n }\r\n}\r\n"]}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/** @packageDocumentation
|
|
2
|
+
* @module OrbitGT
|
|
3
|
+
*/
|
|
4
|
+
declare type int32 = number;
|
|
5
|
+
/**
|
|
6
|
+
* Class AttributeTypes defines the possible types of pointcloud attributes.
|
|
7
|
+
*/
|
|
8
|
+
/** @internal */
|
|
9
|
+
export declare class AttributeTypes {
|
|
10
|
+
/** The 1-bit boolean type */
|
|
11
|
+
static readonly TYPE_BOOLEAN: int32;
|
|
12
|
+
/** The 1-byte integer type */
|
|
13
|
+
static readonly TYPE_INT1: int32;
|
|
14
|
+
/** The 2-byte integer type */
|
|
15
|
+
static readonly TYPE_INT2: int32;
|
|
16
|
+
/** The 4-byte integer type */
|
|
17
|
+
static readonly TYPE_INT4: int32;
|
|
18
|
+
/** The 8-byte integer type */
|
|
19
|
+
static readonly TYPE_INT8: int32;
|
|
20
|
+
/** The 4-byte float type */
|
|
21
|
+
static readonly TYPE_FLOAT4: int32;
|
|
22
|
+
/** The 8-byte float type */
|
|
23
|
+
static readonly TYPE_FLOAT8: int32;
|
|
24
|
+
/** The 3-byte color type */
|
|
25
|
+
static readonly TYPE_COLOR: int32;
|
|
26
|
+
/**
|
|
27
|
+
* No instances.
|
|
28
|
+
*/
|
|
29
|
+
private constructor();
|
|
30
|
+
/**
|
|
31
|
+
* Get the name of a type.
|
|
32
|
+
* @param type the type of attributes.
|
|
33
|
+
* @return the name.
|
|
34
|
+
*/
|
|
35
|
+
static getTypeName(type: int32): string;
|
|
36
|
+
}
|
|
37
|
+
export {};
|
|
38
|
+
//# sourceMappingURL=AttributeTypes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AttributeTypes.d.ts","sourceRoot":"","sources":["../../../../src/pointcloud/model/AttributeTypes.ts"],"names":[],"mappings":"AAIA;;GAEG;AAMH,aAAK,KAAK,GAAG,MAAM,CAAC;AAIpB;;GAEG;AACH,gBAAgB;AAChB,qBAAa,cAAc;IAC1B,6BAA6B;IAC7B,gBAAuB,YAAY,EAAE,KAAK,CAAK;IAC/C,8BAA8B;IAC9B,gBAAuB,SAAS,EAAE,KAAK,CAAK;IAC5C,8BAA8B;IAC9B,gBAAuB,SAAS,EAAE,KAAK,CAAK;IAC5C,8BAA8B;IAC9B,gBAAuB,SAAS,EAAE,KAAK,CAAK;IAC5C,8BAA8B;IAC9B,gBAAuB,SAAS,EAAE,KAAK,CAAK;IAC5C,4BAA4B;IAC5B,gBAAuB,WAAW,EAAE,KAAK,CAAK;IAC9C,4BAA4B;IAC5B,gBAAuB,WAAW,EAAE,KAAK,CAAK;IAC9C,4BAA4B;IAC5B,gBAAuB,UAAU,EAAE,KAAK,CAAK;IAE7C;;OAEG;IACH,OAAO;IAGP;;;;OAIG;WACW,WAAW,CAAC,IAAI,EAAE,KAAK,GAAG,MAAM;CAY9C"}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*---------------------------------------------------------------------------------------------
|
|
3
|
+
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
4
|
+
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
5
|
+
*--------------------------------------------------------------------------------------------*/
|
|
6
|
+
/** @packageDocumentation
|
|
7
|
+
* @module OrbitGT
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.AttributeTypes = void 0;
|
|
11
|
+
/**
|
|
12
|
+
* Class AttributeTypes defines the possible types of pointcloud attributes.
|
|
13
|
+
*/
|
|
14
|
+
/** @internal */
|
|
15
|
+
class AttributeTypes {
|
|
16
|
+
/**
|
|
17
|
+
* No instances.
|
|
18
|
+
*/
|
|
19
|
+
constructor() {
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Get the name of a type.
|
|
23
|
+
* @param type the type of attributes.
|
|
24
|
+
* @return the name.
|
|
25
|
+
*/
|
|
26
|
+
static getTypeName(type) {
|
|
27
|
+
if (type <= 0)
|
|
28
|
+
return "none";
|
|
29
|
+
if (type == AttributeTypes.TYPE_BOOLEAN)
|
|
30
|
+
return "boolean";
|
|
31
|
+
if (type == AttributeTypes.TYPE_INT1)
|
|
32
|
+
return "int1";
|
|
33
|
+
if (type == AttributeTypes.TYPE_INT2)
|
|
34
|
+
return "int2";
|
|
35
|
+
if (type == AttributeTypes.TYPE_INT4)
|
|
36
|
+
return "int4";
|
|
37
|
+
if (type == AttributeTypes.TYPE_INT8)
|
|
38
|
+
return "int8";
|
|
39
|
+
if (type == AttributeTypes.TYPE_FLOAT4)
|
|
40
|
+
return "float4";
|
|
41
|
+
if (type == AttributeTypes.TYPE_FLOAT8)
|
|
42
|
+
return "float8";
|
|
43
|
+
if (type == AttributeTypes.TYPE_COLOR)
|
|
44
|
+
return "color";
|
|
45
|
+
return "" + type;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
exports.AttributeTypes = AttributeTypes;
|
|
49
|
+
/** The 1-bit boolean type */
|
|
50
|
+
AttributeTypes.TYPE_BOOLEAN = 1;
|
|
51
|
+
/** The 1-byte integer type */
|
|
52
|
+
AttributeTypes.TYPE_INT1 = 2;
|
|
53
|
+
/** The 2-byte integer type */
|
|
54
|
+
AttributeTypes.TYPE_INT2 = 3;
|
|
55
|
+
/** The 4-byte integer type */
|
|
56
|
+
AttributeTypes.TYPE_INT4 = 4;
|
|
57
|
+
/** The 8-byte integer type */
|
|
58
|
+
AttributeTypes.TYPE_INT8 = 5;
|
|
59
|
+
/** The 4-byte float type */
|
|
60
|
+
AttributeTypes.TYPE_FLOAT4 = 6;
|
|
61
|
+
/** The 8-byte float type */
|
|
62
|
+
AttributeTypes.TYPE_FLOAT8 = 7;
|
|
63
|
+
/** The 3-byte color type */
|
|
64
|
+
AttributeTypes.TYPE_COLOR = 8;
|
|
65
|
+
//# sourceMappingURL=AttributeTypes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AttributeTypes.js","sourceRoot":"","sources":["../../../../src/pointcloud/model/AttributeTypes.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAUH;;GAEG;AACH,gBAAgB;AAChB,MAAa,cAAc;IAkB1B;;OAEG;IACH;IACA,CAAC;IAED;;;;OAIG;IACI,MAAM,CAAC,WAAW,CAAC,IAAW;QACpC,IAAI,IAAI,IAAI,CAAC;YAAE,OAAO,MAAM,CAAC;QAC7B,IAAI,IAAI,IAAI,cAAc,CAAC,YAAY;YAAE,OAAO,SAAS,CAAC;QAC1D,IAAI,IAAI,IAAI,cAAc,CAAC,SAAS;YAAE,OAAO,MAAM,CAAC;QACpD,IAAI,IAAI,IAAI,cAAc,CAAC,SAAS;YAAE,OAAO,MAAM,CAAC;QACpD,IAAI,IAAI,IAAI,cAAc,CAAC,SAAS;YAAE,OAAO,MAAM,CAAC;QACpD,IAAI,IAAI,IAAI,cAAc,CAAC,SAAS;YAAE,OAAO,MAAM,CAAC;QACpD,IAAI,IAAI,IAAI,cAAc,CAAC,WAAW;YAAE,OAAO,QAAQ,CAAC;QACxD,IAAI,IAAI,IAAI,cAAc,CAAC,WAAW;YAAE,OAAO,QAAQ,CAAC;QACxD,IAAI,IAAI,IAAI,cAAc,CAAC,UAAU;YAAE,OAAO,OAAO,CAAC;QACtD,OAAO,EAAE,GAAG,IAAI,CAAC;IAClB,CAAC;;AAxCF,wCAyCC;AAxCA,6BAA6B;AACN,2BAAY,GAAU,CAAC,CAAC;AAC/C,8BAA8B;AACP,wBAAS,GAAU,CAAC,CAAC;AAC5C,8BAA8B;AACP,wBAAS,GAAU,CAAC,CAAC;AAC5C,8BAA8B;AACP,wBAAS,GAAU,CAAC,CAAC;AAC5C,8BAA8B;AACP,wBAAS,GAAU,CAAC,CAAC;AAC5C,4BAA4B;AACL,0BAAW,GAAU,CAAC,CAAC;AAC9C,4BAA4B;AACL,0BAAW,GAAU,CAAC,CAAC;AAC9C,4BAA4B;AACL,yBAAU,GAAU,CAAC,CAAC","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module OrbitGT\r\n */\r\n\r\n//package orbitgt.pointcloud.model;\r\n\r\ntype int8 = number;\r\ntype int16 = number;\r\ntype int32 = number;\r\ntype float32 = number;\r\ntype float64 = number;\r\n\r\n/**\r\n * Class AttributeTypes defines the possible types of pointcloud attributes.\r\n */\r\n/** @internal */\r\nexport class AttributeTypes {\r\n\t/** The 1-bit boolean type */\r\n\tpublic static readonly TYPE_BOOLEAN: int32 = 1;\r\n\t/** The 1-byte integer type */\r\n\tpublic static readonly TYPE_INT1: int32 = 2;\r\n\t/** The 2-byte integer type */\r\n\tpublic static readonly TYPE_INT2: int32 = 3;\r\n\t/** The 4-byte integer type */\r\n\tpublic static readonly TYPE_INT4: int32 = 4;\r\n\t/** The 8-byte integer type */\r\n\tpublic static readonly TYPE_INT8: int32 = 5;\r\n\t/** The 4-byte float type */\r\n\tpublic static readonly TYPE_FLOAT4: int32 = 6;\r\n\t/** The 8-byte float type */\r\n\tpublic static readonly TYPE_FLOAT8: int32 = 7;\r\n\t/** The 3-byte color type */\r\n\tpublic static readonly TYPE_COLOR: int32 = 8;\r\n\r\n\t/**\r\n\t * No instances.\r\n\t */\r\n\tprivate constructor() {\r\n\t}\r\n\r\n\t/**\r\n\t * Get the name of a type.\r\n\t * @param type the type of attributes.\r\n\t * @return the name.\r\n\t */\r\n\tpublic static getTypeName(type: int32): string {\r\n\t\tif (type <= 0) return \"none\";\r\n\t\tif (type == AttributeTypes.TYPE_BOOLEAN) return \"boolean\";\r\n\t\tif (type == AttributeTypes.TYPE_INT1) return \"int1\";\r\n\t\tif (type == AttributeTypes.TYPE_INT2) return \"int2\";\r\n\t\tif (type == AttributeTypes.TYPE_INT4) return \"int4\";\r\n\t\tif (type == AttributeTypes.TYPE_INT8) return \"int8\";\r\n\t\tif (type == AttributeTypes.TYPE_FLOAT4) return \"float4\";\r\n\t\tif (type == AttributeTypes.TYPE_FLOAT8) return \"float8\";\r\n\t\tif (type == AttributeTypes.TYPE_COLOR) return \"color\";\r\n\t\treturn \"\" + type;\r\n\t}\r\n}\r\n"]}
|