@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,67 @@
|
|
|
1
|
+
/*---------------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
3
|
+
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
4
|
+
*--------------------------------------------------------------------------------------------*/
|
|
5
|
+
/** @packageDocumentation
|
|
6
|
+
* @module OrbitGT
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* Class AList defines a typed list of elements.
|
|
10
|
+
*/
|
|
11
|
+
/** @internal */
|
|
12
|
+
export class AList {
|
|
13
|
+
constructor(capacity = 10) {
|
|
14
|
+
this._elements = [];
|
|
15
|
+
}
|
|
16
|
+
size() {
|
|
17
|
+
return this._elements.length;
|
|
18
|
+
}
|
|
19
|
+
add(element) {
|
|
20
|
+
this._elements.push(element);
|
|
21
|
+
}
|
|
22
|
+
addAt(index, element) {
|
|
23
|
+
this._elements.splice(index, 0, element);
|
|
24
|
+
}
|
|
25
|
+
remove(index) {
|
|
26
|
+
this._elements.splice(index, 1);
|
|
27
|
+
}
|
|
28
|
+
get(index) {
|
|
29
|
+
return this._elements[index];
|
|
30
|
+
}
|
|
31
|
+
indexOf(element) {
|
|
32
|
+
for (let i = 0; i < this._elements.length; i++)
|
|
33
|
+
if (this._elements[i] === element)
|
|
34
|
+
return i;
|
|
35
|
+
return -1;
|
|
36
|
+
}
|
|
37
|
+
contains(element) {
|
|
38
|
+
return (this.indexOf(element) >= 0);
|
|
39
|
+
}
|
|
40
|
+
clear() {
|
|
41
|
+
this._elements.splice(0, this._elements.length);
|
|
42
|
+
}
|
|
43
|
+
sort(comparator) {
|
|
44
|
+
this._elements.sort(function (o1, o2) { return comparator.compare(o1, o2); });
|
|
45
|
+
}
|
|
46
|
+
toArray(holder) {
|
|
47
|
+
return this._elements;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Get an iterator to use in "for of" loops.
|
|
51
|
+
*/
|
|
52
|
+
[Symbol.iterator]() {
|
|
53
|
+
let iteratorList = this._elements;
|
|
54
|
+
let index = 0;
|
|
55
|
+
return {
|
|
56
|
+
next() {
|
|
57
|
+
if (index < iteratorList.length) {
|
|
58
|
+
return { done: false, value: iteratorList[index++] };
|
|
59
|
+
}
|
|
60
|
+
else {
|
|
61
|
+
return { done: true, value: null };
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
//# sourceMappingURL=AList.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AList.js","sourceRoot":"","sources":["../../../../src/system/collection/AList.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAUH;;GAEG;AACH,gBAAgB;AAChB,MAAM,OAAO,KAAK;IAId,YAAmB,WAAmB,EAAE;QACpC,IAAI,CAAC,SAAS,GAAG,EAAE,CAAC;IACxB,CAAC;IAEM,IAAI;QACP,OAAO,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC;IACjC,CAAC;IAEM,GAAG,CAAC,OAAU;QACjB,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACjC,CAAC;IAEM,KAAK,CAAC,KAAa,EAAE,OAAU;QAClC,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,KAAK,EAAE,CAAC,EAAE,OAAO,CAAC,CAAC;IAC7C,CAAC;IAEM,MAAM,CAAC,KAAY;QACtB,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC;IACpC,CAAC;IAEM,GAAG,CAAC,KAAY;QACnB,OAAO,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;IACjC,CAAC;IAEM,OAAO,CAAC,OAAU;QACrB,KAAK,IAAI,CAAC,GAAW,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC,SAAS,CAAC,MAAM,EAAE,CAAC,EAAE;YAAE,IAAI,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,KAAK,OAAO;gBAAE,OAAO,CAAC,CAAC;QACpG,OAAO,CAAC,CAAC,CAAC;IACd,CAAC;IAEM,QAAQ,CAAC,OAAU;QACtB,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC;IACxC,CAAC;IAEM,KAAK;QACR,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,EAAE,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC;IACpD,CAAC;IAEM,IAAI,CAAC,UAA0B;QAClC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,UAAU,EAAK,EAAE,EAAK,IAAI,OAAO,UAAU,CAAC,OAAO,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IACxF,CAAC;IAEM,OAAO,CAAC,MAAW;QACtB,OAAO,IAAI,CAAC,SAAS,CAAC;IAC1B,CAAC;IAED;;OAEG;IACH,CAAC,MAAM,CAAC,QAAQ,CAAC;QACb,IAAI,YAAY,GAAa,IAAI,CAAC,SAAS,CAAC;QAC5C,IAAI,KAAK,GAAW,CAAC,CAAC;QACtB,OAAO;YACH,IAAI;gBACA,IAAI,KAAK,GAAG,YAAY,CAAC,MAAM,EAAE;oBAC7B,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,YAAY,CAAC,KAAK,EAAE,CAAC,EAAE,CAAA;iBACvD;qBACI;oBACD,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,CAAA;iBACrC;YACL,CAAC;SACJ,CAAA;IACL,CAAC;CACJ","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module OrbitGT\r\n */\r\n\r\ntype int8 = number;\r\ntype int16 = number;\r\ntype int32 = number;\r\ntype float32 = number;\r\ntype float64 = number;\r\n\r\nimport { iComparator } from \"../runtime/iComparator\";\r\n\r\n/**\r\n * Class AList defines a typed list of elements.\r\n */\r\n/** @internal */\r\nexport class AList<T>\r\n{\r\n private _elements: Array<T>;\r\n\r\n public constructor(capacity: number = 10) {\r\n this._elements = [];\r\n }\r\n\r\n public size(): int32 {\r\n return this._elements.length;\r\n }\r\n\r\n public add(element: T): void {\r\n this._elements.push(element);\r\n }\r\n\r\n public addAt(index: number, element: T): void {\r\n this._elements.splice(index, 0, element);\r\n }\r\n\r\n public remove(index: int32): void {\r\n this._elements.splice(index, 1);\r\n }\r\n\r\n public get(index: int32): T {\r\n return this._elements[index];\r\n }\r\n\r\n public indexOf(element: T): int32 {\r\n for (let i: number = 0; i < this._elements.length; i++) if (this._elements[i] === element) return i;\r\n return -1;\r\n }\r\n\r\n public contains(element: T): boolean {\r\n return (this.indexOf(element) >= 0);\r\n }\r\n\r\n public clear(): void {\r\n this._elements.splice(0, this._elements.length);\r\n }\r\n\r\n public sort(comparator: iComparator<T>): void {\r\n this._elements.sort(function (o1: T, o2: T) { return comparator.compare(o1, o2); });\r\n }\r\n\r\n public toArray(holder: any): Array<T> {\r\n return this._elements;\r\n }\r\n\r\n /**\r\n * Get an iterator to use in \"for of\" loops.\r\n */\r\n [Symbol.iterator]() {\r\n let iteratorList: Array<T> = this._elements;\r\n let index: number = 0;\r\n return {\r\n next(): IteratorResult<T> {\r\n if (index < iteratorList.length) {\r\n return { done: false, value: iteratorList[index++] }\r\n }\r\n else {\r\n return { done: true, value: null }\r\n }\r\n }\r\n }\r\n }\r\n}\r\n"]}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/** @packageDocumentation
|
|
2
|
+
* @module OrbitGT
|
|
3
|
+
*/
|
|
4
|
+
declare type int32 = number;
|
|
5
|
+
/**
|
|
6
|
+
* Class IntMap defines a map of elements in which the keys are integer numbers.
|
|
7
|
+
*/
|
|
8
|
+
/** @internal */
|
|
9
|
+
export declare class IntMap<V> {
|
|
10
|
+
private _map;
|
|
11
|
+
constructor();
|
|
12
|
+
size(): int32;
|
|
13
|
+
contains(key: int32): boolean;
|
|
14
|
+
get(key: int32): V;
|
|
15
|
+
set(key: int32, value: V): void;
|
|
16
|
+
clear(): void;
|
|
17
|
+
}
|
|
18
|
+
export {};
|
|
19
|
+
//# sourceMappingURL=IntMap.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IntMap.d.ts","sourceRoot":"","sources":["../../../../src/system/collection/IntMap.ts"],"names":[],"mappings":"AAIA;;GAEG;AAIH,aAAK,KAAK,GAAG,MAAM,CAAC;AAIpB;;GAEG;AACH,gBAAgB;AAChB,qBAAa,MAAM,CAAC,CAAC;IAEjB,OAAO,CAAC,IAAI,CAAgB;;IAMrB,IAAI,IAAI,KAAK;IAIb,QAAQ,CAAC,GAAG,EAAE,KAAK,GAAG,OAAO;IAI7B,GAAG,CAAC,GAAG,EAAE,KAAK,GAAG,CAAC;IAIlB,GAAG,CAAC,GAAG,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC,GAAG,IAAI;IAI/B,KAAK,IAAI,IAAI;CAGvB"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/*---------------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
3
|
+
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
4
|
+
*--------------------------------------------------------------------------------------------*/
|
|
5
|
+
/** @packageDocumentation
|
|
6
|
+
* @module OrbitGT
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* Class IntMap defines a map of elements in which the keys are integer numbers.
|
|
10
|
+
*/
|
|
11
|
+
/** @internal */
|
|
12
|
+
export class IntMap {
|
|
13
|
+
constructor() {
|
|
14
|
+
this._map = new Map();
|
|
15
|
+
}
|
|
16
|
+
size() {
|
|
17
|
+
return this._map.size;
|
|
18
|
+
}
|
|
19
|
+
contains(key) {
|
|
20
|
+
return this._map.has(key);
|
|
21
|
+
}
|
|
22
|
+
get(key) {
|
|
23
|
+
return this._map.get(key);
|
|
24
|
+
}
|
|
25
|
+
set(key, value) {
|
|
26
|
+
this._map.set(key, value);
|
|
27
|
+
}
|
|
28
|
+
clear() {
|
|
29
|
+
this._map.clear();
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
//# sourceMappingURL=IntMap.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IntMap.js","sourceRoot":"","sources":["../../../../src/system/collection/IntMap.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAQH;;GAEG;AACH,gBAAgB;AAChB,MAAM,OAAO,MAAM;IAIf;QACI,IAAI,CAAC,IAAI,GAAG,IAAI,GAAG,EAAY,CAAC;IACpC,CAAC;IAEM,IAAI;QACP,OAAO,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC;IAC1B,CAAC;IAEM,QAAQ,CAAC,GAAU;QACtB,OAAO,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IAC9B,CAAC;IAEM,GAAG,CAAC,GAAU;QACjB,OAAO,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IAC9B,CAAC;IAEM,GAAG,CAAC,GAAU,EAAE,KAAQ;QAC3B,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC;IAC9B,CAAC;IAEM,KAAK;QACR,IAAI,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC;IACtB,CAAC;CACJ","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module OrbitGT\r\n */\r\n\r\ntype int8 = number;\r\ntype int16 = number;\r\ntype int32 = number;\r\ntype float32 = number;\r\ntype float64 = number;\r\n\r\n/**\r\n * Class IntMap defines a map of elements in which the keys are integer numbers.\r\n */\r\n/** @internal */\r\nexport class IntMap<V>\r\n{\r\n private _map: Map<int32, V>;\r\n\r\n public constructor() {\r\n this._map = new Map<int32, V>();\r\n }\r\n\r\n public size(): int32 {\r\n return this._map.size;\r\n }\r\n\r\n public contains(key: int32): boolean {\r\n return this._map.has(key);\r\n }\r\n\r\n public get(key: int32): V {\r\n return this._map.get(key);\r\n }\r\n\r\n public set(key: int32, value: V): void {\r\n this._map.set(key, value);\r\n }\r\n\r\n public clear(): void {\r\n this._map.clear();\r\n }\r\n}\r\n"]}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/** @packageDocumentation
|
|
2
|
+
* @module OrbitGT
|
|
3
|
+
*/
|
|
4
|
+
declare type int32 = number;
|
|
5
|
+
import { AList } from "./AList";
|
|
6
|
+
/**
|
|
7
|
+
* Class StringMap defines a map of elements in which the keys are strings.
|
|
8
|
+
*/
|
|
9
|
+
/** @internal */
|
|
10
|
+
export declare class StringMap<V> {
|
|
11
|
+
private _map;
|
|
12
|
+
constructor();
|
|
13
|
+
size(): int32;
|
|
14
|
+
contains(key: string): boolean;
|
|
15
|
+
containsKey(key: string): boolean;
|
|
16
|
+
get(key: string): V;
|
|
17
|
+
set(key: string, value: V): void;
|
|
18
|
+
put(key: string, value: V): void;
|
|
19
|
+
remove(key: string): void;
|
|
20
|
+
clear(): void;
|
|
21
|
+
keysArray(): Array<string>;
|
|
22
|
+
keys(): AList<string>;
|
|
23
|
+
valuesArray(): Array<V>;
|
|
24
|
+
values(): AList<V>;
|
|
25
|
+
}
|
|
26
|
+
export {};
|
|
27
|
+
//# sourceMappingURL=StringMap.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StringMap.d.ts","sourceRoot":"","sources":["../../../../src/system/collection/StringMap.ts"],"names":[],"mappings":"AAIA;;GAEG;AAIH,aAAK,KAAK,GAAG,MAAM,CAAC;AAIpB,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAEhC;;GAEG;AACH,gBAAgB;AAChB,qBAAa,SAAS,CAAC,CAAC;IAEvB,OAAO,CAAC,IAAI,CAAiB;;IAMtB,IAAI,IAAI,KAAK;IAIb,QAAQ,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO;IAI9B,WAAW,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO;IAIjC,GAAG,CAAC,GAAG,EAAE,MAAM,GAAG,CAAC;IAInB,GAAG,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,GAAG,IAAI;IAIhC,GAAG,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,GAAG,IAAI;IAIhC,MAAM,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI;IAIzB,KAAK,IAAI,IAAI;IAIb,SAAS,IAAI,KAAK,CAAC,MAAM,CAAC;IAI1B,IAAI,IAAI,KAAK,CAAC,MAAM,CAAC;IAMrB,WAAW,IAAI,KAAK,CAAC,CAAC,CAAC;IAIvB,MAAM,IAAI,KAAK,CAAC,CAAC,CAAC;CAKzB"}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
/*---------------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
3
|
+
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
4
|
+
*--------------------------------------------------------------------------------------------*/
|
|
5
|
+
/** @packageDocumentation
|
|
6
|
+
* @module OrbitGT
|
|
7
|
+
*/
|
|
8
|
+
import { AList } from "./AList";
|
|
9
|
+
/**
|
|
10
|
+
* Class StringMap defines a map of elements in which the keys are strings.
|
|
11
|
+
*/
|
|
12
|
+
/** @internal */
|
|
13
|
+
export class StringMap {
|
|
14
|
+
constructor() {
|
|
15
|
+
this._map = new Map();
|
|
16
|
+
}
|
|
17
|
+
size() {
|
|
18
|
+
return this._map.size;
|
|
19
|
+
}
|
|
20
|
+
contains(key) {
|
|
21
|
+
return this._map.has(key);
|
|
22
|
+
}
|
|
23
|
+
containsKey(key) {
|
|
24
|
+
return this._map.has(key);
|
|
25
|
+
}
|
|
26
|
+
get(key) {
|
|
27
|
+
return this._map.get(key);
|
|
28
|
+
}
|
|
29
|
+
set(key, value) {
|
|
30
|
+
this._map.set(key, value);
|
|
31
|
+
}
|
|
32
|
+
put(key, value) {
|
|
33
|
+
this._map.set(key, value);
|
|
34
|
+
}
|
|
35
|
+
remove(key) {
|
|
36
|
+
this._map.delete(key);
|
|
37
|
+
}
|
|
38
|
+
clear() {
|
|
39
|
+
this._map.clear();
|
|
40
|
+
}
|
|
41
|
+
keysArray() {
|
|
42
|
+
return Array.from(this._map.keys());
|
|
43
|
+
}
|
|
44
|
+
keys() {
|
|
45
|
+
let keys = new AList();
|
|
46
|
+
for (let key of this._map.keys())
|
|
47
|
+
keys.add(key);
|
|
48
|
+
return keys;
|
|
49
|
+
}
|
|
50
|
+
valuesArray() {
|
|
51
|
+
return Array.from(this._map.values());
|
|
52
|
+
}
|
|
53
|
+
values() {
|
|
54
|
+
let values = new AList();
|
|
55
|
+
for (let value of this._map.values())
|
|
56
|
+
values.add(value);
|
|
57
|
+
return values;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
//# sourceMappingURL=StringMap.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StringMap.js","sourceRoot":"","sources":["../../../../src/system/collection/StringMap.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAQH,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAEhC;;GAEG;AACH,gBAAgB;AAChB,MAAM,OAAO,SAAS;IAIrB;QACC,IAAI,CAAC,IAAI,GAAG,IAAI,GAAG,EAAa,CAAC;IAClC,CAAC;IAEM,IAAI;QACV,OAAO,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC;IACvB,CAAC;IAEM,QAAQ,CAAC,GAAW;QAC1B,OAAO,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IAC3B,CAAC;IAEM,WAAW,CAAC,GAAW;QAC7B,OAAO,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IAC3B,CAAC;IAEM,GAAG,CAAC,GAAW;QACrB,OAAO,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IAC3B,CAAC;IAEM,GAAG,CAAC,GAAW,EAAE,KAAQ;QAC/B,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC;IAC3B,CAAC;IAEM,GAAG,CAAC,GAAW,EAAE,KAAQ;QAC/B,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC;IAC3B,CAAC;IAEM,MAAM,CAAC,GAAW;QACxB,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;IACvB,CAAC;IAEM,KAAK;QACX,IAAI,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC;IACnB,CAAC;IAEM,SAAS;QACf,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC;IACrC,CAAC;IAEM,IAAI;QACV,IAAI,IAAI,GAAkB,IAAI,KAAK,EAAU,CAAC;QAC9C,KAAK,IAAI,GAAG,IAAI,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE;YAAE,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;QAChD,OAAO,IAAI,CAAC;IACb,CAAC;IAEM,WAAW;QACjB,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC,CAAC;IACvC,CAAC;IAEM,MAAM;QACZ,IAAI,MAAM,GAAa,IAAI,KAAK,EAAK,CAAC;QACtC,KAAK,IAAI,KAAK,IAAI,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE;YAAE,MAAM,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;QACxD,OAAO,MAAM,CAAC;IACf,CAAC;CACD","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module OrbitGT\r\n */\r\n\r\ntype int8 = number;\r\ntype int16 = number;\r\ntype int32 = number;\r\ntype float32 = number;\r\ntype float64 = number;\r\n\r\nimport { AList } from \"./AList\";\r\n\r\n/**\r\n * Class StringMap defines a map of elements in which the keys are strings.\r\n */\r\n/** @internal */\r\nexport class StringMap<V>\r\n{\r\n\tprivate _map: Map<string, V>;\r\n\r\n\tpublic constructor() {\r\n\t\tthis._map = new Map<string, V>();\r\n\t}\r\n\r\n\tpublic size(): int32 {\r\n\t\treturn this._map.size;\r\n\t}\r\n\r\n\tpublic contains(key: string): boolean {\r\n\t\treturn this._map.has(key);\r\n\t}\r\n\r\n\tpublic containsKey(key: string): boolean {\r\n\t\treturn this._map.has(key);\r\n\t}\r\n\r\n\tpublic get(key: string): V {\r\n\t\treturn this._map.get(key);\r\n\t}\r\n\r\n\tpublic set(key: string, value: V): void {\r\n\t\tthis._map.set(key, value);\r\n\t}\r\n\r\n\tpublic put(key: string, value: V): void {\r\n\t\tthis._map.set(key, value);\r\n\t}\r\n\r\n\tpublic remove(key: string): void {\r\n\t\tthis._map.delete(key);\r\n\t}\r\n\r\n\tpublic clear(): void {\r\n\t\tthis._map.clear();\r\n\t}\r\n\r\n\tpublic keysArray(): Array<string> {\r\n\t\treturn Array.from(this._map.keys());\r\n\t}\r\n\r\n\tpublic keys(): AList<string> {\r\n\t\tlet keys: AList<string> = new AList<string>();\r\n\t\tfor (let key of this._map.keys()) keys.add(key);\r\n\t\treturn keys;\r\n\t}\r\n\r\n\tpublic valuesArray(): Array<V> {\r\n\t\treturn Array.from(this._map.values());\r\n\t}\r\n\r\n\tpublic values(): AList<V> {\r\n\t\tlet values: AList<V> = new AList<V>();\r\n\t\tfor (let value of this._map.values()) values.add(value);\r\n\t\treturn values;\r\n\t}\r\n}\r\n"]}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/** @packageDocumentation
|
|
2
|
+
* @module OrbitGT
|
|
3
|
+
*/
|
|
4
|
+
declare type int32 = number;
|
|
5
|
+
import { ABuffer } from "../buffer/ABuffer";
|
|
6
|
+
import { InStream } from "./InStream";
|
|
7
|
+
/**
|
|
8
|
+
* Class ABufferInStream defines a stream on top of a buffer.
|
|
9
|
+
*/
|
|
10
|
+
/** @internal */
|
|
11
|
+
export declare class ABufferInStream extends InStream {
|
|
12
|
+
private _buffer;
|
|
13
|
+
private _offset;
|
|
14
|
+
private _size;
|
|
15
|
+
private _position;
|
|
16
|
+
private _extent;
|
|
17
|
+
/**
|
|
18
|
+
* Create a new stream.
|
|
19
|
+
*/
|
|
20
|
+
constructor(buffer: ABuffer, offset: int32, size: int32);
|
|
21
|
+
getOffset(): int32;
|
|
22
|
+
getSize(): int32;
|
|
23
|
+
getPosition(): int32;
|
|
24
|
+
/**
|
|
25
|
+
* InStream method override
|
|
26
|
+
*/
|
|
27
|
+
read(): int32;
|
|
28
|
+
}
|
|
29
|
+
export {};
|
|
30
|
+
//# sourceMappingURL=ABufferInStream.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ABufferInStream.d.ts","sourceRoot":"","sources":["../../../../src/system/io/ABufferInStream.ts"],"names":[],"mappings":"AAIA;;GAEG;AAMH,aAAK,KAAK,GAAG,MAAM,CAAC;AAIpB,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC;;GAEG;AACH,gBAAgB;AAChB,qBAAa,eAAgB,SAAQ,QAAQ;IACzC,OAAO,CAAC,OAAO,CAAU;IACzB,OAAO,CAAC,OAAO,CAAQ;IACvB,OAAO,CAAC,KAAK,CAAQ;IAErB,OAAO,CAAC,SAAS,CAAQ;IACzB,OAAO,CAAC,OAAO,CAAQ;IAEvB;;SAEK;gBACc,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK;IASvD,SAAS,IAAI,KAAK;IAIlB,OAAO,IAAI,KAAK;IAIhB,WAAW,IAAI,KAAK;IAI3B;;SAEK;IACW,IAAI,IAAI,KAAK;CAIhC"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/*---------------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
3
|
+
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
4
|
+
*--------------------------------------------------------------------------------------------*/
|
|
5
|
+
/** @packageDocumentation
|
|
6
|
+
* @module OrbitGT
|
|
7
|
+
*/
|
|
8
|
+
import { InStream } from "./InStream";
|
|
9
|
+
/**
|
|
10
|
+
* Class ABufferInStream defines a stream on top of a buffer.
|
|
11
|
+
*/
|
|
12
|
+
/** @internal */
|
|
13
|
+
export class ABufferInStream extends InStream {
|
|
14
|
+
/**
|
|
15
|
+
* Create a new stream.
|
|
16
|
+
*/
|
|
17
|
+
constructor(buffer, offset, size) {
|
|
18
|
+
super();
|
|
19
|
+
this._buffer = buffer;
|
|
20
|
+
this._offset = offset;
|
|
21
|
+
this._size = size;
|
|
22
|
+
this._position = this._offset;
|
|
23
|
+
this._extent = this._offset + size;
|
|
24
|
+
}
|
|
25
|
+
getOffset() {
|
|
26
|
+
return this._offset;
|
|
27
|
+
}
|
|
28
|
+
getSize() {
|
|
29
|
+
return this._size;
|
|
30
|
+
}
|
|
31
|
+
getPosition() {
|
|
32
|
+
return this._position;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* InStream method override
|
|
36
|
+
*/
|
|
37
|
+
read() {
|
|
38
|
+
if (this._position >= this._extent)
|
|
39
|
+
return -1;
|
|
40
|
+
return this._buffer.get(this._position++);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
//# sourceMappingURL=ABufferInStream.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ABufferInStream.js","sourceRoot":"","sources":["../../../../src/system/io/ABufferInStream.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAWH,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC;;GAEG;AACH,gBAAgB;AAChB,MAAM,OAAO,eAAgB,SAAQ,QAAQ;IAQzC;;SAEK;IACL,YAAmB,MAAe,EAAE,MAAa,EAAE,IAAW;QAC1D,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC;QACtB,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC;QACtB,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC;QAClB,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,OAAO,CAAC;QAC9B,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC;IACvC,CAAC;IAEM,SAAS;QACZ,OAAO,IAAI,CAAC,OAAO,CAAC;IACxB,CAAC;IAEM,OAAO;QACV,OAAO,IAAI,CAAC,KAAK,CAAC;IACtB,CAAC;IAEM,WAAW;QACd,OAAO,IAAI,CAAC,SAAS,CAAC;IAC1B,CAAC;IAED;;SAEK;IACW,IAAI;QAChB,IAAI,IAAI,CAAC,SAAS,IAAI,IAAI,CAAC,OAAO;YAAE,OAAO,CAAC,CAAC,CAAC;QAC9C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,SAAS,EAAE,CAAC,CAAC;IAC9C,CAAC;CACJ","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module OrbitGT\r\n */\r\n\r\n// package orbitgt.system.io;\r\n\r\ntype int8 = number;\r\ntype int16 = number;\r\ntype int32 = number;\r\ntype float32 = number;\r\ntype float64 = number;\r\n\r\nimport { ABuffer } from \"../buffer/ABuffer\";\r\nimport { InStream } from \"./InStream\";\r\n\r\n/**\r\n * Class ABufferInStream defines a stream on top of a buffer.\r\n */\r\n/** @internal */\r\nexport class ABufferInStream extends InStream {\r\n private _buffer: ABuffer;\r\n private _offset: int32;\r\n private _size: int32;\r\n\r\n private _position: int32;\r\n private _extent: int32;\r\n\r\n /**\r\n * Create a new stream.\r\n */\r\n public constructor(buffer: ABuffer, offset: int32, size: int32) {\r\n super();\r\n this._buffer = buffer;\r\n this._offset = offset;\r\n this._size = size;\r\n this._position = this._offset;\r\n this._extent = this._offset + size;\r\n }\r\n\r\n public getOffset(): int32 {\r\n return this._offset;\r\n }\r\n\r\n public getSize(): int32 {\r\n return this._size;\r\n }\r\n\r\n public getPosition(): int32 {\r\n return this._position;\r\n }\r\n\r\n /**\r\n * InStream method override\r\n */\r\n public override read(): int32 {\r\n if (this._position >= this._extent) return -1;\r\n return this._buffer.get(this._position++);\r\n }\r\n}\r\n"]}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/** @packageDocumentation
|
|
2
|
+
* @module OrbitGT
|
|
3
|
+
*/
|
|
4
|
+
declare type int32 = number;
|
|
5
|
+
/**
|
|
6
|
+
* Class InStream defines a stream of bytes to read from.
|
|
7
|
+
*/
|
|
8
|
+
/** @internal */
|
|
9
|
+
export declare class InStream {
|
|
10
|
+
/**
|
|
11
|
+
* Create a new stream.
|
|
12
|
+
*/
|
|
13
|
+
constructor();
|
|
14
|
+
/**
|
|
15
|
+
* Read the next byte (range 0..255, or -1 at the end of the stream).
|
|
16
|
+
*/
|
|
17
|
+
read(): int32;
|
|
18
|
+
/**
|
|
19
|
+
* Close the stream
|
|
20
|
+
*/
|
|
21
|
+
close(): void;
|
|
22
|
+
}
|
|
23
|
+
export {};
|
|
24
|
+
//# sourceMappingURL=InStream.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InStream.d.ts","sourceRoot":"","sources":["../../../../src/system/io/InStream.ts"],"names":[],"mappings":"AAIA;;GAEG;AAMH,aAAK,KAAK,GAAG,MAAM,CAAC;AAIpB;;GAEG;AACH,gBAAgB;AAChB,qBAAa,QAAQ;IACjB;;OAEG;;IAIH;;OAEG;IACI,IAAI,IAAI,KAAK;IAKpB;;OAEG;IACI,KAAK,IAAI,IAAI;CAEvB"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/*---------------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
3
|
+
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
4
|
+
*--------------------------------------------------------------------------------------------*/
|
|
5
|
+
/** @packageDocumentation
|
|
6
|
+
* @module OrbitGT
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* Class InStream defines a stream of bytes to read from.
|
|
10
|
+
*/
|
|
11
|
+
/** @internal */
|
|
12
|
+
export class InStream {
|
|
13
|
+
/**
|
|
14
|
+
* Create a new stream.
|
|
15
|
+
*/
|
|
16
|
+
constructor() {
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Read the next byte (range 0..255, or -1 at the end of the stream).
|
|
20
|
+
*/
|
|
21
|
+
read() {
|
|
22
|
+
/* Override in subclasses */
|
|
23
|
+
return -1;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Close the stream
|
|
27
|
+
*/
|
|
28
|
+
close() {
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
//# sourceMappingURL=InStream.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InStream.js","sourceRoot":"","sources":["../../../../src/system/io/InStream.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAUH;;GAEG;AACH,gBAAgB;AAChB,MAAM,OAAO,QAAQ;IACjB;;OAEG;IACH;IACA,CAAC;IAED;;OAEG;IACI,IAAI;QACP,4BAA4B;QAC5B,OAAO,CAAC,CAAC,CAAC;IACd,CAAC;IAED;;OAEG;IACI,KAAK;IACZ,CAAC;CACJ","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module OrbitGT\r\n */\r\n\r\n//package orbitgt.system.io;\r\n\r\ntype int8 = number;\r\ntype int16 = number;\r\ntype int32 = number;\r\ntype float32 = number;\r\ntype float64 = number;\r\n\r\n/**\r\n * Class InStream defines a stream of bytes to read from.\r\n */\r\n/** @internal */\r\nexport class InStream {\r\n /**\r\n * Create a new stream.\r\n */\r\n public constructor() {\r\n }\r\n\r\n /**\r\n * Read the next byte (range 0..255, or -1 at the end of the stream).\r\n */\r\n public read(): int32 {\r\n /* Override in subclasses */\r\n return -1;\r\n }\r\n\r\n /**\r\n * Close the stream\r\n */\r\n public close(): void {\r\n }\r\n}\r\n"]}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/** @packageDocumentation
|
|
2
|
+
* @module OrbitGT
|
|
3
|
+
*/
|
|
4
|
+
declare type int32 = number;
|
|
5
|
+
/**
|
|
6
|
+
* Class OutStream defines a stream of bytes to write to.
|
|
7
|
+
*/
|
|
8
|
+
/** @internal */
|
|
9
|
+
export declare class OutStream {
|
|
10
|
+
/**
|
|
11
|
+
* Create a new stream.
|
|
12
|
+
*/
|
|
13
|
+
constructor();
|
|
14
|
+
/**
|
|
15
|
+
* Write the next byte (0.255) (the stream should only look at the lowest 8 bits of the value and ignore all others).
|
|
16
|
+
*/
|
|
17
|
+
write(value: int32): void;
|
|
18
|
+
/**
|
|
19
|
+
* Close the stream
|
|
20
|
+
*/
|
|
21
|
+
close(): void;
|
|
22
|
+
}
|
|
23
|
+
export {};
|
|
24
|
+
//# sourceMappingURL=OutStream.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OutStream.d.ts","sourceRoot":"","sources":["../../../../src/system/io/OutStream.ts"],"names":[],"mappings":"AAIA;;GAEG;AAMH,aAAK,KAAK,GAAG,MAAM,CAAC;AAIpB;;GAEG;AACH,gBAAgB;AAChB,qBAAa,SAAS;IAClB;;OAEG;;IAIH;;OAEG;IACI,KAAK,CAAC,KAAK,EAAE,KAAK,GAAG,IAAI;IAIhC;;OAEG;IACI,KAAK,IAAI,IAAI;CAEvB"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/*---------------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
3
|
+
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
4
|
+
*--------------------------------------------------------------------------------------------*/
|
|
5
|
+
/** @packageDocumentation
|
|
6
|
+
* @module OrbitGT
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* Class OutStream defines a stream of bytes to write to.
|
|
10
|
+
*/
|
|
11
|
+
/** @internal */
|
|
12
|
+
export class OutStream {
|
|
13
|
+
/**
|
|
14
|
+
* Create a new stream.
|
|
15
|
+
*/
|
|
16
|
+
constructor() {
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Write the next byte (0.255) (the stream should only look at the lowest 8 bits of the value and ignore all others).
|
|
20
|
+
*/
|
|
21
|
+
write(value) {
|
|
22
|
+
/* Override in subclasses */
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Close the stream
|
|
26
|
+
*/
|
|
27
|
+
close() {
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
//# sourceMappingURL=OutStream.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OutStream.js","sourceRoot":"","sources":["../../../../src/system/io/OutStream.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAUH;;GAEG;AACH,gBAAgB;AAChB,MAAM,OAAO,SAAS;IAClB;;OAEG;IACH;IACA,CAAC;IAED;;OAEG;IACI,KAAK,CAAC,KAAY;QACrB,4BAA4B;IAChC,CAAC;IAED;;OAEG;IACI,KAAK;IACZ,CAAC;CACJ","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module OrbitGT\r\n */\r\n\r\n//package orbitgt.system.io;\r\n\r\ntype int8 = number;\r\ntype int16 = number;\r\ntype int32 = number;\r\ntype float32 = number;\r\ntype float64 = number;\r\n\r\n/**\r\n * Class OutStream defines a stream of bytes to write to.\r\n */\r\n/** @internal */\r\nexport class OutStream {\r\n /**\r\n * Create a new stream.\r\n */\r\n public constructor() {\r\n }\r\n\r\n /**\r\n * Write the next byte (0.255) (the stream should only look at the lowest 8 bits of the value and ignore all others).\r\n */\r\n public write(value: int32): void {\r\n /* Override in subclasses */\r\n }\r\n\r\n /**\r\n * Close the stream\r\n */\r\n public close(): void {\r\n }\r\n}\r\n"]}
|