@itwin/core-orbitgt 3.0.0-dev.77 → 3.0.0-dev.81
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/{core-orbitgt.d.ts → cjs/core-orbitgt.d.ts} +0 -0
- package/lib/cjs/core-orbitgt.d.ts.map +1 -0
- package/lib/{core-orbitgt.js → cjs/core-orbitgt.js} +0 -0
- package/lib/cjs/core-orbitgt.js.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/format/opc/AttributeMask.d.ts +0 -0
- package/lib/cjs/pointcloud/format/opc/AttributeMask.d.ts.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/format/opc/AttributeMask.js +0 -0
- package/lib/cjs/pointcloud/format/opc/AttributeMask.js.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/format/opc/AttributeReader.d.ts +0 -0
- package/lib/cjs/pointcloud/format/opc/AttributeReader.d.ts.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/format/opc/AttributeReader.js +0 -0
- package/lib/cjs/pointcloud/format/opc/AttributeReader.js.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/format/opc/BlockRecord.d.ts +0 -0
- package/lib/cjs/pointcloud/format/opc/BlockRecord.d.ts.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/format/opc/BlockRecord.js +0 -0
- package/lib/cjs/pointcloud/format/opc/BlockRecord.js.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/format/opc/ContainerFile.d.ts +0 -0
- package/lib/cjs/pointcloud/format/opc/ContainerFile.d.ts.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/format/opc/ContainerFile.js +0 -0
- package/lib/cjs/pointcloud/format/opc/ContainerFile.js.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/format/opc/ContainerFilePart.d.ts +0 -0
- package/lib/cjs/pointcloud/format/opc/ContainerFilePart.d.ts.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/format/opc/ContainerFilePart.js +0 -0
- package/lib/cjs/pointcloud/format/opc/ContainerFilePart.js.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/format/opc/DirectoryReader.d.ts +0 -0
- package/lib/cjs/pointcloud/format/opc/DirectoryReader.d.ts.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/format/opc/DirectoryReader.js +0 -0
- package/lib/cjs/pointcloud/format/opc/DirectoryReader.js.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/format/opc/DirectoryRecord.d.ts +0 -0
- package/lib/cjs/pointcloud/format/opc/DirectoryRecord.d.ts.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/format/opc/DirectoryRecord.js +0 -0
- package/lib/cjs/pointcloud/format/opc/DirectoryRecord.js.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/format/opc/EmbeddedAttributeReader.d.ts +0 -0
- package/lib/cjs/pointcloud/format/opc/EmbeddedAttributeReader.d.ts.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/format/opc/EmbeddedAttributeReader.js +0 -0
- package/lib/cjs/pointcloud/format/opc/EmbeddedAttributeReader.js.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/format/opc/FileAccess.d.ts +0 -0
- package/lib/cjs/pointcloud/format/opc/FileAccess.d.ts.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/format/opc/FileAccess.js +0 -0
- package/lib/cjs/pointcloud/format/opc/FileAccess.js.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/format/opc/FileReader.d.ts +0 -0
- package/lib/cjs/pointcloud/format/opc/FileReader.d.ts.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/format/opc/FileReader.js +0 -0
- package/lib/cjs/pointcloud/format/opc/FileReader.js.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/format/opc/FileRecord.d.ts +0 -0
- package/lib/cjs/pointcloud/format/opc/FileRecord.d.ts.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/format/opc/FileRecord.js +0 -0
- package/lib/cjs/pointcloud/format/opc/FileRecord.js.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/format/opc/GeometryReader.d.ts +0 -0
- package/lib/cjs/pointcloud/format/opc/GeometryReader.d.ts.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/format/opc/GeometryReader.js +0 -0
- package/lib/cjs/pointcloud/format/opc/GeometryReader.js.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/format/opc/GeometryRecord.d.ts +0 -0
- package/lib/cjs/pointcloud/format/opc/GeometryRecord.d.ts.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/format/opc/GeometryRecord.js +0 -0
- package/lib/cjs/pointcloud/format/opc/GeometryRecord.js.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/format/opc/OPCReader.d.ts +0 -0
- package/lib/cjs/pointcloud/format/opc/OPCReader.d.ts.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/format/opc/OPCReader.js +0 -0
- package/lib/cjs/pointcloud/format/opc/OPCReader.js.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/format/opc/PointReader.d.ts +0 -0
- package/lib/cjs/pointcloud/format/opc/PointReader.d.ts.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/format/opc/PointReader.js +0 -0
- package/lib/cjs/pointcloud/format/opc/PointReader.js.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/format/opc/TileReadBuffer.d.ts +0 -0
- package/lib/cjs/pointcloud/format/opc/TileReadBuffer.d.ts.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/format/opc/TileReadBuffer.js +0 -0
- package/lib/cjs/pointcloud/format/opc/TileReadBuffer.js.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/format/opc/TileRecord.d.ts +0 -0
- package/lib/cjs/pointcloud/format/opc/TileRecord.d.ts.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/format/opc/TileRecord.js +0 -0
- package/lib/cjs/pointcloud/format/opc/TileRecord.js.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/model/AttributeTypes.d.ts +0 -0
- package/lib/cjs/pointcloud/model/AttributeTypes.d.ts.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/model/AttributeTypes.js +0 -0
- package/lib/cjs/pointcloud/model/AttributeTypes.js.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/model/AttributeValue.d.ts +0 -0
- package/lib/cjs/pointcloud/model/AttributeValue.d.ts.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/model/AttributeValue.js +0 -0
- package/lib/cjs/pointcloud/model/AttributeValue.js.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/model/BlockIndex.d.ts +0 -0
- package/lib/cjs/pointcloud/model/BlockIndex.d.ts.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/model/BlockIndex.js +0 -0
- package/lib/cjs/pointcloud/model/BlockIndex.js.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/model/CloudPoint.d.ts +0 -0
- package/lib/cjs/pointcloud/model/CloudPoint.d.ts.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/model/CloudPoint.js +0 -0
- package/lib/cjs/pointcloud/model/CloudPoint.js.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/model/Grid.d.ts +0 -0
- package/lib/cjs/pointcloud/model/Grid.d.ts.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/model/Grid.js +0 -0
- package/lib/cjs/pointcloud/model/Grid.js.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/model/GridIndex.d.ts +0 -0
- package/lib/cjs/pointcloud/model/GridIndex.d.ts.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/model/GridIndex.js +0 -0
- package/lib/cjs/pointcloud/model/GridIndex.js.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/model/PointAttribute.d.ts +0 -0
- package/lib/cjs/pointcloud/model/PointAttribute.d.ts.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/model/PointAttribute.js +0 -0
- package/lib/cjs/pointcloud/model/PointAttribute.js.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/model/PointCloudReader.d.ts +0 -0
- package/lib/cjs/pointcloud/model/PointCloudReader.d.ts.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/model/PointCloudReader.js +0 -0
- package/lib/cjs/pointcloud/model/PointCloudReader.js.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/model/PointData.d.ts +0 -0
- package/lib/cjs/pointcloud/model/PointData.d.ts.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/model/PointData.js +0 -0
- package/lib/cjs/pointcloud/model/PointData.js.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/model/PointDataRaw.d.ts +0 -0
- package/lib/cjs/pointcloud/model/PointDataRaw.d.ts.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/model/PointDataRaw.js +0 -0
- package/lib/cjs/pointcloud/model/PointDataRaw.js.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/model/ReadRequest.d.ts +0 -0
- package/lib/cjs/pointcloud/model/ReadRequest.d.ts.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/model/ReadRequest.js +0 -0
- package/lib/cjs/pointcloud/model/ReadRequest.js.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/model/StandardAttributes.d.ts +0 -0
- package/lib/cjs/pointcloud/model/StandardAttributes.d.ts.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/model/StandardAttributes.js +0 -0
- package/lib/cjs/pointcloud/model/StandardAttributes.js.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/model/TileIndex.d.ts +0 -0
- package/lib/cjs/pointcloud/model/TileIndex.d.ts.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/model/TileIndex.js +0 -0
- package/lib/cjs/pointcloud/model/TileIndex.js.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/render/AViewRequest.d.ts +0 -0
- package/lib/cjs/pointcloud/render/AViewRequest.d.ts.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/render/AViewRequest.js +0 -0
- package/lib/cjs/pointcloud/render/AViewRequest.js.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/render/Block.d.ts +0 -0
- package/lib/cjs/pointcloud/render/Block.d.ts.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/render/Block.js +0 -0
- package/lib/cjs/pointcloud/render/Block.js.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/render/DataManager.d.ts +0 -0
- package/lib/cjs/pointcloud/render/DataManager.d.ts.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/render/DataManager.js +0 -0
- package/lib/cjs/pointcloud/render/DataManager.js.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/render/FrameData.d.ts +0 -0
- package/lib/cjs/pointcloud/render/FrameData.d.ts.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/render/FrameData.js +0 -0
- package/lib/cjs/pointcloud/render/FrameData.js.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/render/Level.d.ts +0 -0
- package/lib/cjs/pointcloud/render/Level.d.ts.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/render/Level.js +0 -0
- package/lib/cjs/pointcloud/render/Level.js.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/render/TileLoadSorter.d.ts +0 -0
- package/lib/cjs/pointcloud/render/TileLoadSorter.d.ts.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/render/TileLoadSorter.js +0 -0
- package/lib/cjs/pointcloud/render/TileLoadSorter.js.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/render/ViewTree.d.ts +0 -0
- package/lib/cjs/pointcloud/render/ViewTree.d.ts.map +1 -0
- package/lib/{pointcloud → cjs/pointcloud}/render/ViewTree.js +0 -0
- package/lib/cjs/pointcloud/render/ViewTree.js.map +1 -0
- package/lib/{spatial → cjs/spatial}/crs/CRSEngine.d.ts +0 -0
- package/lib/cjs/spatial/crs/CRSEngine.d.ts.map +1 -0
- package/lib/{spatial → cjs/spatial}/crs/CRSEngine.js +0 -0
- package/lib/cjs/spatial/crs/CRSEngine.js.map +1 -0
- package/lib/{spatial → cjs/spatial}/crs/CRSManager.d.ts +0 -0
- package/lib/cjs/spatial/crs/CRSManager.d.ts.map +1 -0
- package/lib/{spatial → cjs/spatial}/crs/CRSManager.js +0 -0
- package/lib/cjs/spatial/crs/CRSManager.js.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/Axis.d.ts +0 -0
- package/lib/cjs/spatial/ecrs/Axis.d.ts.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/Axis.js +0 -0
- package/lib/cjs/spatial/ecrs/Axis.js.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/CRS.d.ts +0 -0
- package/lib/cjs/spatial/ecrs/CRS.d.ts.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/CRS.js +0 -0
- package/lib/cjs/spatial/ecrs/CRS.js.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/CoordinateSystem.d.ts +0 -0
- package/lib/cjs/spatial/ecrs/CoordinateSystem.d.ts.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/CoordinateSystem.js +0 -0
- package/lib/cjs/spatial/ecrs/CoordinateSystem.js.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/DataFileUnit.d.ts +0 -0
- package/lib/cjs/spatial/ecrs/DataFileUnit.d.ts.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/DataFileUnit.js +0 -0
- package/lib/cjs/spatial/ecrs/DataFileUnit.js.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/Datum.d.ts +0 -0
- package/lib/cjs/spatial/ecrs/Datum.d.ts.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/Datum.js +0 -0
- package/lib/cjs/spatial/ecrs/Datum.js.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/Ellipsoid.d.ts +0 -0
- package/lib/cjs/spatial/ecrs/Ellipsoid.d.ts.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/Ellipsoid.js +0 -0
- package/lib/cjs/spatial/ecrs/Ellipsoid.js.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/OnlineEngine.d.ts +0 -0
- package/lib/cjs/spatial/ecrs/OnlineEngine.d.ts.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/OnlineEngine.js +0 -0
- package/lib/cjs/spatial/ecrs/OnlineEngine.js.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/OnlineRegistry.d.ts +0 -0
- package/lib/cjs/spatial/ecrs/OnlineRegistry.d.ts.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/OnlineRegistry.js +0 -0
- package/lib/cjs/spatial/ecrs/OnlineRegistry.js.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/Operation.d.ts +0 -0
- package/lib/cjs/spatial/ecrs/Operation.d.ts.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/Operation.js +0 -0
- package/lib/cjs/spatial/ecrs/Operation.js.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/OperationMethod.d.ts +0 -0
- package/lib/cjs/spatial/ecrs/OperationMethod.d.ts.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/OperationMethod.js +0 -0
- package/lib/cjs/spatial/ecrs/OperationMethod.js.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/ParameterValue.d.ts +0 -0
- package/lib/cjs/spatial/ecrs/ParameterValue.d.ts.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/ParameterValue.js +0 -0
- package/lib/cjs/spatial/ecrs/ParameterValue.js.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/ParameterValueList.d.ts +0 -0
- package/lib/cjs/spatial/ecrs/ParameterValueList.d.ts.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/ParameterValueList.js +0 -0
- package/lib/cjs/spatial/ecrs/ParameterValueList.js.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/PrimeMeridian.d.ts +0 -0
- package/lib/cjs/spatial/ecrs/PrimeMeridian.d.ts.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/PrimeMeridian.js +0 -0
- package/lib/cjs/spatial/ecrs/PrimeMeridian.js.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/Registry.d.ts +0 -0
- package/lib/cjs/spatial/ecrs/Registry.d.ts.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/Registry.js +0 -0
- package/lib/cjs/spatial/ecrs/Registry.js.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/Transform.d.ts +0 -0
- package/lib/cjs/spatial/ecrs/Transform.d.ts.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/Transform.js +0 -0
- package/lib/cjs/spatial/ecrs/Transform.js.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/Unit.d.ts +0 -0
- package/lib/cjs/spatial/ecrs/Unit.d.ts.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/Unit.js +0 -0
- package/lib/cjs/spatial/ecrs/Unit.js.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/VerticalModel.d.ts +0 -0
- package/lib/cjs/spatial/ecrs/VerticalModel.d.ts.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/VerticalModel.js +0 -0
- package/lib/cjs/spatial/ecrs/VerticalModel.js.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/WellKnownText.d.ts +0 -0
- package/lib/cjs/spatial/ecrs/WellKnownText.d.ts.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/WellKnownText.js +0 -0
- package/lib/cjs/spatial/ecrs/WellKnownText.js.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/WellKnownTextNode.d.ts +0 -0
- package/lib/cjs/spatial/ecrs/WellKnownTextNode.d.ts.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/WellKnownTextNode.js +0 -0
- package/lib/cjs/spatial/ecrs/WellKnownTextNode.js.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/projection/HotineObliqueMercator.d.ts +0 -0
- package/lib/cjs/spatial/ecrs/projection/HotineObliqueMercator.d.ts.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/projection/HotineObliqueMercator.js +0 -0
- package/lib/cjs/spatial/ecrs/projection/HotineObliqueMercator.js.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/projection/KrovakObliqueConformalConic.d.ts +0 -0
- package/lib/cjs/spatial/ecrs/projection/KrovakObliqueConformalConic.d.ts.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/projection/KrovakObliqueConformalConic.js +0 -0
- package/lib/cjs/spatial/ecrs/projection/KrovakObliqueConformalConic.js.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/projection/KrovakObliqueConformalConicEN.d.ts +0 -0
- package/lib/cjs/spatial/ecrs/projection/KrovakObliqueConformalConicEN.d.ts.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/projection/KrovakObliqueConformalConicEN.js +0 -0
- package/lib/cjs/spatial/ecrs/projection/KrovakObliqueConformalConicEN.js.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/projection/LambertConical1SP.d.ts +0 -0
- package/lib/cjs/spatial/ecrs/projection/LambertConical1SP.d.ts.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/projection/LambertConical1SP.js +0 -0
- package/lib/cjs/spatial/ecrs/projection/LambertConical1SP.js.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/projection/LambertConical2SP.d.ts +0 -0
- package/lib/cjs/spatial/ecrs/projection/LambertConical2SP.d.ts.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/projection/LambertConical2SP.js +0 -0
- package/lib/cjs/spatial/ecrs/projection/LambertConical2SP.js.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/projection/Mercator1SP.d.ts +0 -0
- package/lib/cjs/spatial/ecrs/projection/Mercator1SP.d.ts.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/projection/Mercator1SP.js +0 -0
- package/lib/cjs/spatial/ecrs/projection/Mercator1SP.js.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/projection/ObliqueMercator.d.ts +0 -0
- package/lib/cjs/spatial/ecrs/projection/ObliqueMercator.d.ts.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/projection/ObliqueMercator.js +0 -0
- package/lib/cjs/spatial/ecrs/projection/ObliqueMercator.js.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/projection/ObliqueStereographic.d.ts +0 -0
- package/lib/cjs/spatial/ecrs/projection/ObliqueStereographic.d.ts.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/projection/ObliqueStereographic.js +0 -0
- package/lib/cjs/spatial/ecrs/projection/ObliqueStereographic.js.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/projection/TransverseMercator.d.ts +0 -0
- package/lib/cjs/spatial/ecrs/projection/TransverseMercator.d.ts.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/projection/TransverseMercator.js +0 -0
- package/lib/cjs/spatial/ecrs/projection/TransverseMercator.js.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/transformation/PositionVector.d.ts +0 -0
- package/lib/cjs/spatial/ecrs/transformation/PositionVector.d.ts.map +1 -0
- package/lib/{spatial → cjs/spatial}/ecrs/transformation/PositionVector.js +0 -0
- package/lib/cjs/spatial/ecrs/transformation/PositionVector.js.map +1 -0
- package/lib/{spatial → cjs/spatial}/geom/Bounds.d.ts +0 -0
- package/lib/cjs/spatial/geom/Bounds.d.ts.map +1 -0
- package/lib/{spatial → cjs/spatial}/geom/Bounds.js +0 -0
- package/lib/cjs/spatial/geom/Bounds.js.map +1 -0
- package/lib/{spatial → cjs/spatial}/geom/Coordinate.d.ts +0 -0
- package/lib/cjs/spatial/geom/Coordinate.d.ts.map +1 -0
- package/lib/{spatial → cjs/spatial}/geom/Coordinate.js +0 -0
- package/lib/cjs/spatial/geom/Coordinate.js.map +1 -0
- package/lib/{spatial → cjs/spatial}/geom/Line.d.ts +0 -0
- package/lib/cjs/spatial/geom/Line.d.ts.map +1 -0
- package/lib/{spatial → cjs/spatial}/geom/Line.js +0 -0
- package/lib/cjs/spatial/geom/Line.js.map +1 -0
- package/lib/{spatial → cjs/spatial}/geom/Transform.d.ts +0 -0
- package/lib/cjs/spatial/geom/Transform.d.ts.map +1 -0
- package/lib/{spatial → cjs/spatial}/geom/Transform.js +0 -0
- package/lib/cjs/spatial/geom/Transform.js.map +1 -0
- package/lib/{system → cjs/system}/buffer/ABuffer.d.ts +0 -0
- package/lib/cjs/system/buffer/ABuffer.d.ts.map +1 -0
- package/lib/{system → cjs/system}/buffer/ABuffer.js +0 -0
- package/lib/cjs/system/buffer/ABuffer.js.map +1 -0
- package/lib/{system → cjs/system}/buffer/Float32Buffer.d.ts +0 -0
- package/lib/cjs/system/buffer/Float32Buffer.d.ts.map +1 -0
- package/lib/{system → cjs/system}/buffer/Float32Buffer.js +0 -0
- package/lib/cjs/system/buffer/Float32Buffer.js.map +1 -0
- package/lib/{system → cjs/system}/buffer/LittleEndian.d.ts +0 -0
- package/lib/cjs/system/buffer/LittleEndian.d.ts.map +1 -0
- package/lib/{system → cjs/system}/buffer/LittleEndian.js +0 -0
- package/lib/cjs/system/buffer/LittleEndian.js.map +1 -0
- package/lib/{system → cjs/system}/buffer/Uint16Buffer.d.ts +0 -0
- package/lib/cjs/system/buffer/Uint16Buffer.d.ts.map +1 -0
- package/lib/{system → cjs/system}/buffer/Uint16Buffer.js +0 -0
- package/lib/cjs/system/buffer/Uint16Buffer.js.map +1 -0
- package/lib/{system → cjs/system}/buffer/Uint8Buffer.d.ts +0 -0
- package/lib/cjs/system/buffer/Uint8Buffer.d.ts.map +1 -0
- package/lib/{system → cjs/system}/buffer/Uint8Buffer.js +0 -0
- package/lib/cjs/system/buffer/Uint8Buffer.js.map +1 -0
- package/lib/{system → cjs/system}/collection/AList.d.ts +0 -0
- package/lib/cjs/system/collection/AList.d.ts.map +1 -0
- package/lib/{system → cjs/system}/collection/AList.js +0 -0
- package/lib/cjs/system/collection/AList.js.map +1 -0
- package/lib/{system → cjs/system}/collection/IntMap.d.ts +0 -0
- package/lib/cjs/system/collection/IntMap.d.ts.map +1 -0
- package/lib/{system → cjs/system}/collection/IntMap.js +0 -0
- package/lib/cjs/system/collection/IntMap.js.map +1 -0
- package/lib/{system → cjs/system}/collection/StringMap.d.ts +0 -0
- package/lib/cjs/system/collection/StringMap.d.ts.map +1 -0
- package/lib/{system → cjs/system}/collection/StringMap.js +0 -0
- package/lib/cjs/system/collection/StringMap.js.map +1 -0
- package/lib/{system → cjs/system}/io/ABufferInStream.d.ts +0 -0
- package/lib/cjs/system/io/ABufferInStream.d.ts.map +1 -0
- package/lib/{system → cjs/system}/io/ABufferInStream.js +0 -0
- package/lib/cjs/system/io/ABufferInStream.js.map +1 -0
- package/lib/{system → cjs/system}/io/InStream.d.ts +0 -0
- package/lib/cjs/system/io/InStream.d.ts.map +1 -0
- package/lib/{system → cjs/system}/io/InStream.js +0 -0
- package/lib/cjs/system/io/InStream.js.map +1 -0
- package/lib/{system → cjs/system}/io/OutStream.d.ts +0 -0
- package/lib/cjs/system/io/OutStream.d.ts.map +1 -0
- package/lib/{system → cjs/system}/io/OutStream.js +0 -0
- package/lib/cjs/system/io/OutStream.js.map +1 -0
- package/lib/{system → cjs/system}/runtime/ALong.d.ts +0 -0
- package/lib/cjs/system/runtime/ALong.d.ts.map +1 -0
- package/lib/{system → cjs/system}/runtime/ALong.js +0 -0
- package/lib/cjs/system/runtime/ALong.js.map +1 -0
- package/lib/{system → cjs/system}/runtime/ASystem.d.ts +0 -0
- package/lib/cjs/system/runtime/ASystem.d.ts.map +1 -0
- package/lib/{system → cjs/system}/runtime/ASystem.js +0 -0
- package/lib/cjs/system/runtime/ASystem.js.map +1 -0
- package/lib/{system → cjs/system}/runtime/Downloader.d.ts +0 -0
- package/lib/cjs/system/runtime/Downloader.d.ts.map +1 -0
- package/lib/{system → cjs/system}/runtime/Downloader.js +0 -0
- package/lib/cjs/system/runtime/Downloader.js.map +1 -0
- package/lib/{system → cjs/system}/runtime/DownloaderNode.d.ts +0 -0
- package/lib/cjs/system/runtime/DownloaderNode.d.ts.map +1 -0
- package/lib/{system → cjs/system}/runtime/DownloaderNode.js +0 -0
- package/lib/cjs/system/runtime/DownloaderNode.js.map +1 -0
- package/lib/{system → cjs/system}/runtime/DownloaderXhr.d.ts +0 -0
- package/lib/cjs/system/runtime/DownloaderXhr.d.ts.map +1 -0
- package/lib/{system → cjs/system}/runtime/DownloaderXhr.js +0 -0
- package/lib/cjs/system/runtime/DownloaderXhr.js.map +1 -0
- package/lib/{system → cjs/system}/runtime/Message.d.ts +0 -0
- package/lib/cjs/system/runtime/Message.d.ts.map +1 -0
- package/lib/{system → cjs/system}/runtime/Message.js +0 -0
- package/lib/cjs/system/runtime/Message.js.map +1 -0
- package/lib/{system → cjs/system}/runtime/Numbers.d.ts +0 -0
- package/lib/cjs/system/runtime/Numbers.d.ts.map +1 -0
- package/lib/{system → cjs/system}/runtime/Numbers.js +0 -0
- package/lib/cjs/system/runtime/Numbers.js.map +1 -0
- package/lib/{system → cjs/system}/runtime/Strings.d.ts +0 -0
- package/lib/cjs/system/runtime/Strings.d.ts.map +1 -0
- package/lib/{system → cjs/system}/runtime/Strings.js +0 -0
- package/lib/cjs/system/runtime/Strings.js.map +1 -0
- package/lib/{system → cjs/system}/runtime/iComparator.d.ts +0 -0
- package/lib/cjs/system/runtime/iComparator.d.ts.map +1 -0
- package/lib/{system → cjs/system}/runtime/iComparator.js +0 -0
- package/lib/cjs/system/runtime/iComparator.js.map +1 -0
- package/lib/{system → cjs/system}/storage/CacheList.d.ts +0 -0
- package/lib/cjs/system/storage/CacheList.d.ts.map +1 -0
- package/lib/{system → cjs/system}/storage/CacheList.js +0 -0
- package/lib/cjs/system/storage/CacheList.js.map +1 -0
- package/lib/{system → cjs/system}/storage/CachedItem.d.ts +0 -0
- package/lib/cjs/system/storage/CachedItem.d.ts.map +1 -0
- package/lib/{system → cjs/system}/storage/CachedItem.js +0 -0
- package/lib/cjs/system/storage/CachedItem.js.map +1 -0
- package/lib/{system → cjs/system}/storage/ContentLoader.d.ts +0 -0
- package/lib/cjs/system/storage/ContentLoader.d.ts.map +1 -0
- package/lib/{system → cjs/system}/storage/ContentLoader.js +0 -0
- package/lib/cjs/system/storage/ContentLoader.js.map +1 -0
- package/lib/{system → cjs/system}/storage/FileContent.d.ts +0 -0
- package/lib/cjs/system/storage/FileContent.d.ts.map +1 -0
- package/lib/{system → cjs/system}/storage/FileContent.js +0 -0
- package/lib/cjs/system/storage/FileContent.js.map +1 -0
- package/lib/{system → cjs/system}/storage/FileRange.d.ts +0 -0
- package/lib/cjs/system/storage/FileRange.d.ts.map +1 -0
- package/lib/{system → cjs/system}/storage/FileRange.js +0 -0
- package/lib/cjs/system/storage/FileRange.js.map +1 -0
- package/lib/{system → cjs/system}/storage/FileStorage.d.ts +0 -0
- package/lib/cjs/system/storage/FileStorage.d.ts.map +1 -0
- package/lib/{system → cjs/system}/storage/FileStorage.js +0 -0
- package/lib/cjs/system/storage/FileStorage.js.map +1 -0
- package/lib/{system → cjs/system}/storage/NodeFS.d.ts +0 -0
- package/lib/cjs/system/storage/NodeFS.d.ts.map +1 -0
- package/lib/{system → cjs/system}/storage/NodeFS.js +0 -0
- package/lib/cjs/system/storage/NodeFS.js.map +1 -0
- package/lib/{system → cjs/system}/storage/PageCachedFile.d.ts +0 -0
- package/lib/cjs/system/storage/PageCachedFile.d.ts.map +1 -0
- package/lib/{system → cjs/system}/storage/PageCachedFile.js +0 -0
- package/lib/cjs/system/storage/PageCachedFile.js.map +1 -0
- package/lib/{system → cjs/system}/storage/UrlFS.d.ts +0 -0
- package/lib/cjs/system/storage/UrlFS.d.ts.map +1 -0
- package/lib/{system → cjs/system}/storage/UrlFS.js +0 -0
- package/lib/cjs/system/storage/UrlFS.js.map +1 -0
- package/lib/esm/core-orbitgt.d.ts +27 -0
- package/lib/esm/core-orbitgt.d.ts.map +1 -0
- package/lib/esm/core-orbitgt.js +32 -0
- package/lib/esm/core-orbitgt.js.map +1 -0
- package/lib/esm/pointcloud/format/opc/AttributeMask.d.ts +31 -0
- package/lib/esm/pointcloud/format/opc/AttributeMask.d.ts.map +1 -0
- package/lib/esm/pointcloud/format/opc/AttributeMask.js +44 -0
- package/lib/esm/pointcloud/format/opc/AttributeMask.js.map +1 -0
- package/lib/esm/pointcloud/format/opc/AttributeReader.d.ts +64 -0
- package/lib/esm/pointcloud/format/opc/AttributeReader.d.ts.map +1 -0
- package/lib/esm/pointcloud/format/opc/AttributeReader.js +21 -0
- package/lib/esm/pointcloud/format/opc/AttributeReader.js.map +1 -0
- package/lib/esm/pointcloud/format/opc/BlockRecord.d.ts +55 -0
- package/lib/esm/pointcloud/format/opc/BlockRecord.d.ts.map +1 -0
- package/lib/esm/pointcloud/format/opc/BlockRecord.js +81 -0
- package/lib/esm/pointcloud/format/opc/BlockRecord.js.map +1 -0
- package/lib/esm/pointcloud/format/opc/ContainerFile.d.ts +86 -0
- package/lib/esm/pointcloud/format/opc/ContainerFile.d.ts.map +1 -0
- package/lib/esm/pointcloud/format/opc/ContainerFile.js +196 -0
- package/lib/esm/pointcloud/format/opc/ContainerFile.js.map +1 -0
- package/lib/esm/pointcloud/format/opc/ContainerFilePart.d.ts +56 -0
- package/lib/esm/pointcloud/format/opc/ContainerFilePart.d.ts.map +1 -0
- package/lib/esm/pointcloud/format/opc/ContainerFilePart.js +72 -0
- package/lib/esm/pointcloud/format/opc/ContainerFilePart.js.map +1 -0
- package/lib/esm/pointcloud/format/opc/DirectoryReader.d.ts +76 -0
- package/lib/esm/pointcloud/format/opc/DirectoryReader.d.ts.map +1 -0
- package/lib/esm/pointcloud/format/opc/DirectoryReader.js +166 -0
- package/lib/esm/pointcloud/format/opc/DirectoryReader.js.map +1 -0
- package/lib/esm/pointcloud/format/opc/DirectoryRecord.d.ts +60 -0
- package/lib/esm/pointcloud/format/opc/DirectoryRecord.d.ts.map +1 -0
- package/lib/esm/pointcloud/format/opc/DirectoryRecord.js +86 -0
- package/lib/esm/pointcloud/format/opc/DirectoryRecord.js.map +1 -0
- package/lib/esm/pointcloud/format/opc/EmbeddedAttributeReader.d.ts +107 -0
- package/lib/esm/pointcloud/format/opc/EmbeddedAttributeReader.d.ts.map +1 -0
- package/lib/esm/pointcloud/format/opc/EmbeddedAttributeReader.js +194 -0
- package/lib/esm/pointcloud/format/opc/EmbeddedAttributeReader.js.map +1 -0
- package/lib/esm/pointcloud/format/opc/FileAccess.d.ts +40 -0
- package/lib/esm/pointcloud/format/opc/FileAccess.d.ts.map +1 -0
- package/lib/esm/pointcloud/format/opc/FileAccess.js +45 -0
- package/lib/esm/pointcloud/format/opc/FileAccess.js.map +1 -0
- package/lib/esm/pointcloud/format/opc/FileReader.d.ts +119 -0
- package/lib/esm/pointcloud/format/opc/FileReader.d.ts.map +1 -0
- package/lib/esm/pointcloud/format/opc/FileReader.js +245 -0
- package/lib/esm/pointcloud/format/opc/FileReader.js.map +1 -0
- package/lib/esm/pointcloud/format/opc/FileRecord.d.ts +90 -0
- package/lib/esm/pointcloud/format/opc/FileRecord.d.ts.map +1 -0
- package/lib/esm/pointcloud/format/opc/FileRecord.js +122 -0
- package/lib/esm/pointcloud/format/opc/FileRecord.js.map +1 -0
- package/lib/esm/pointcloud/format/opc/GeometryReader.d.ts +80 -0
- package/lib/esm/pointcloud/format/opc/GeometryReader.d.ts.map +1 -0
- package/lib/esm/pointcloud/format/opc/GeometryReader.js +160 -0
- package/lib/esm/pointcloud/format/opc/GeometryReader.js.map +1 -0
- package/lib/esm/pointcloud/format/opc/GeometryRecord.d.ts +54 -0
- package/lib/esm/pointcloud/format/opc/GeometryRecord.d.ts.map +1 -0
- package/lib/esm/pointcloud/format/opc/GeometryRecord.js +104 -0
- package/lib/esm/pointcloud/format/opc/GeometryRecord.js.map +1 -0
- package/lib/esm/pointcloud/format/opc/OPCReader.d.ts +158 -0
- package/lib/esm/pointcloud/format/opc/OPCReader.d.ts.map +1 -0
- package/lib/esm/pointcloud/format/opc/OPCReader.js +316 -0
- package/lib/esm/pointcloud/format/opc/OPCReader.js.map +1 -0
- package/lib/esm/pointcloud/format/opc/PointReader.d.ts +73 -0
- package/lib/esm/pointcloud/format/opc/PointReader.d.ts.map +1 -0
- package/lib/esm/pointcloud/format/opc/PointReader.js +149 -0
- package/lib/esm/pointcloud/format/opc/PointReader.js.map +1 -0
- package/lib/esm/pointcloud/format/opc/TileReadBuffer.d.ts +64 -0
- package/lib/esm/pointcloud/format/opc/TileReadBuffer.d.ts.map +1 -0
- package/lib/esm/pointcloud/format/opc/TileReadBuffer.js +89 -0
- package/lib/esm/pointcloud/format/opc/TileReadBuffer.js.map +1 -0
- package/lib/esm/pointcloud/format/opc/TileRecord.d.ts +89 -0
- package/lib/esm/pointcloud/format/opc/TileRecord.d.ts.map +1 -0
- package/lib/esm/pointcloud/format/opc/TileRecord.js +158 -0
- package/lib/esm/pointcloud/format/opc/TileRecord.js.map +1 -0
- package/lib/esm/pointcloud/model/AttributeTypes.d.ts +38 -0
- package/lib/esm/pointcloud/model/AttributeTypes.d.ts.map +1 -0
- package/lib/esm/pointcloud/model/AttributeTypes.js +61 -0
- package/lib/esm/pointcloud/model/AttributeTypes.js.map +1 -0
- package/lib/esm/pointcloud/model/AttributeValue.d.ts +248 -0
- package/lib/esm/pointcloud/model/AttributeValue.d.ts.map +1 -0
- package/lib/esm/pointcloud/model/AttributeValue.js +505 -0
- package/lib/esm/pointcloud/model/AttributeValue.js.map +1 -0
- package/lib/esm/pointcloud/model/BlockIndex.d.ts +50 -0
- package/lib/esm/pointcloud/model/BlockIndex.d.ts.map +1 -0
- package/lib/esm/pointcloud/model/BlockIndex.js +45 -0
- package/lib/esm/pointcloud/model/BlockIndex.js.map +1 -0
- package/lib/esm/pointcloud/model/CloudPoint.d.ts +211 -0
- package/lib/esm/pointcloud/model/CloudPoint.d.ts.map +1 -0
- package/lib/esm/pointcloud/model/CloudPoint.js +315 -0
- package/lib/esm/pointcloud/model/CloudPoint.js.map +1 -0
- package/lib/esm/pointcloud/model/Grid.d.ts +92 -0
- package/lib/esm/pointcloud/model/Grid.d.ts.map +1 -0
- package/lib/esm/pointcloud/model/Grid.js +126 -0
- package/lib/esm/pointcloud/model/Grid.js.map +1 -0
- package/lib/esm/pointcloud/model/GridIndex.d.ts +67 -0
- package/lib/esm/pointcloud/model/GridIndex.d.ts.map +1 -0
- package/lib/esm/pointcloud/model/GridIndex.js +90 -0
- package/lib/esm/pointcloud/model/GridIndex.js.map +1 -0
- package/lib/esm/pointcloud/model/PointAttribute.d.ts +209 -0
- package/lib/esm/pointcloud/model/PointAttribute.d.ts.map +1 -0
- package/lib/esm/pointcloud/model/PointAttribute.js +371 -0
- package/lib/esm/pointcloud/model/PointAttribute.js.map +1 -0
- package/lib/esm/pointcloud/model/PointCloudReader.d.ts +157 -0
- package/lib/esm/pointcloud/model/PointCloudReader.d.ts.map +1 -0
- package/lib/esm/pointcloud/model/PointCloudReader.js +186 -0
- package/lib/esm/pointcloud/model/PointCloudReader.js.map +1 -0
- package/lib/esm/pointcloud/model/PointData.d.ts +18 -0
- package/lib/esm/pointcloud/model/PointData.d.ts.map +1 -0
- package/lib/esm/pointcloud/model/PointData.js +21 -0
- package/lib/esm/pointcloud/model/PointData.js.map +1 -0
- package/lib/esm/pointcloud/model/PointDataRaw.d.ts +35 -0
- package/lib/esm/pointcloud/model/PointDataRaw.d.ts.map +1 -0
- package/lib/esm/pointcloud/model/PointDataRaw.js +66 -0
- package/lib/esm/pointcloud/model/PointDataRaw.js.map +1 -0
- package/lib/esm/pointcloud/model/ReadRequest.d.ts +176 -0
- package/lib/esm/pointcloud/model/ReadRequest.d.ts.map +1 -0
- package/lib/esm/pointcloud/model/ReadRequest.js +236 -0
- package/lib/esm/pointcloud/model/ReadRequest.js.map +1 -0
- package/lib/esm/pointcloud/model/StandardAttributes.d.ts +41 -0
- package/lib/esm/pointcloud/model/StandardAttributes.d.ts.map +1 -0
- package/lib/esm/pointcloud/model/StandardAttributes.js +44 -0
- package/lib/esm/pointcloud/model/StandardAttributes.js.map +1 -0
- package/lib/esm/pointcloud/model/TileIndex.d.ts +48 -0
- package/lib/esm/pointcloud/model/TileIndex.d.ts.map +1 -0
- package/lib/esm/pointcloud/model/TileIndex.js +44 -0
- package/lib/esm/pointcloud/model/TileIndex.js.map +1 -0
- package/lib/esm/pointcloud/render/AViewRequest.d.ts +39 -0
- package/lib/esm/pointcloud/render/AViewRequest.d.ts.map +1 -0
- package/lib/esm/pointcloud/render/AViewRequest.js +21 -0
- package/lib/esm/pointcloud/render/AViewRequest.js.map +1 -0
- package/lib/esm/pointcloud/render/Block.d.ts +68 -0
- package/lib/esm/pointcloud/render/Block.d.ts.map +1 -0
- package/lib/esm/pointcloud/render/Block.js +116 -0
- package/lib/esm/pointcloud/render/Block.js.map +1 -0
- package/lib/esm/pointcloud/render/DataManager.d.ts +137 -0
- package/lib/esm/pointcloud/render/DataManager.d.ts.map +1 -0
- package/lib/esm/pointcloud/render/DataManager.js +339 -0
- package/lib/esm/pointcloud/render/DataManager.js.map +1 -0
- package/lib/esm/pointcloud/render/FrameData.d.ts +31 -0
- package/lib/esm/pointcloud/render/FrameData.d.ts.map +1 -0
- package/lib/esm/pointcloud/render/FrameData.js +36 -0
- package/lib/esm/pointcloud/render/FrameData.js.map +1 -0
- package/lib/esm/pointcloud/render/Level.d.ts +91 -0
- package/lib/esm/pointcloud/render/Level.d.ts.map +1 -0
- package/lib/esm/pointcloud/render/Level.js +116 -0
- package/lib/esm/pointcloud/render/Level.js.map +1 -0
- package/lib/esm/pointcloud/render/TileLoadSorter.d.ts +61 -0
- package/lib/esm/pointcloud/render/TileLoadSorter.d.ts.map +1 -0
- package/lib/esm/pointcloud/render/TileLoadSorter.js +96 -0
- package/lib/esm/pointcloud/render/TileLoadSorter.js.map +1 -0
- package/lib/esm/pointcloud/render/ViewTree.d.ts +114 -0
- package/lib/esm/pointcloud/render/ViewTree.d.ts.map +1 -0
- package/lib/esm/pointcloud/render/ViewTree.js +360 -0
- package/lib/esm/pointcloud/render/ViewTree.js.map +1 -0
- package/lib/esm/spatial/crs/CRSEngine.d.ts +56 -0
- package/lib/esm/spatial/crs/CRSEngine.d.ts.map +1 -0
- package/lib/esm/spatial/crs/CRSEngine.js +90 -0
- package/lib/esm/spatial/crs/CRSEngine.js.map +1 -0
- package/lib/esm/spatial/crs/CRSManager.d.ts +50 -0
- package/lib/esm/spatial/crs/CRSManager.d.ts.map +1 -0
- package/lib/esm/spatial/crs/CRSManager.js +106 -0
- package/lib/esm/spatial/crs/CRSManager.js.map +1 -0
- package/lib/esm/spatial/ecrs/Axis.d.ts +78 -0
- package/lib/esm/spatial/ecrs/Axis.d.ts.map +1 -0
- package/lib/esm/spatial/ecrs/Axis.js +90 -0
- package/lib/esm/spatial/ecrs/Axis.js.map +1 -0
- package/lib/esm/spatial/ecrs/CRS.d.ts +448 -0
- package/lib/esm/spatial/ecrs/CRS.d.ts.map +1 -0
- package/lib/esm/spatial/ecrs/CRS.js +927 -0
- package/lib/esm/spatial/ecrs/CRS.js.map +1 -0
- package/lib/esm/spatial/ecrs/CoordinateSystem.d.ts +143 -0
- package/lib/esm/spatial/ecrs/CoordinateSystem.d.ts.map +1 -0
- package/lib/esm/spatial/ecrs/CoordinateSystem.js +323 -0
- package/lib/esm/spatial/ecrs/CoordinateSystem.js.map +1 -0
- package/lib/esm/spatial/ecrs/DataFileUnit.d.ts +11 -0
- package/lib/esm/spatial/ecrs/DataFileUnit.d.ts.map +1 -0
- package/lib/esm/spatial/ecrs/DataFileUnit.js +101 -0
- package/lib/esm/spatial/ecrs/DataFileUnit.js.map +1 -0
- package/lib/esm/spatial/ecrs/Datum.d.ts +112 -0
- package/lib/esm/spatial/ecrs/Datum.d.ts.map +1 -0
- package/lib/esm/spatial/ecrs/Datum.js +163 -0
- package/lib/esm/spatial/ecrs/Datum.js.map +1 -0
- package/lib/esm/spatial/ecrs/Ellipsoid.d.ts +189 -0
- package/lib/esm/spatial/ecrs/Ellipsoid.d.ts.map +1 -0
- package/lib/esm/spatial/ecrs/Ellipsoid.js +333 -0
- package/lib/esm/spatial/ecrs/Ellipsoid.js.map +1 -0
- package/lib/esm/spatial/ecrs/OnlineEngine.d.ts +49 -0
- package/lib/esm/spatial/ecrs/OnlineEngine.d.ts.map +1 -0
- package/lib/esm/spatial/ecrs/OnlineEngine.js +99 -0
- package/lib/esm/spatial/ecrs/OnlineEngine.js.map +1 -0
- package/lib/esm/spatial/ecrs/OnlineRegistry.d.ts +38 -0
- package/lib/esm/spatial/ecrs/OnlineRegistry.d.ts.map +1 -0
- package/lib/esm/spatial/ecrs/OnlineRegistry.js +73 -0
- package/lib/esm/spatial/ecrs/OnlineRegistry.js.map +1 -0
- package/lib/esm/spatial/ecrs/Operation.d.ts +192 -0
- package/lib/esm/spatial/ecrs/Operation.d.ts.map +1 -0
- package/lib/esm/spatial/ecrs/Operation.js +342 -0
- package/lib/esm/spatial/ecrs/Operation.js.map +1 -0
- package/lib/esm/spatial/ecrs/OperationMethod.d.ts +72 -0
- package/lib/esm/spatial/ecrs/OperationMethod.d.ts.map +1 -0
- package/lib/esm/spatial/ecrs/OperationMethod.js +72 -0
- package/lib/esm/spatial/ecrs/OperationMethod.js.map +1 -0
- package/lib/esm/spatial/ecrs/ParameterValue.d.ts +50 -0
- package/lib/esm/spatial/ecrs/ParameterValue.d.ts.map +1 -0
- package/lib/esm/spatial/ecrs/ParameterValue.js +62 -0
- package/lib/esm/spatial/ecrs/ParameterValue.js.map +1 -0
- package/lib/esm/spatial/ecrs/ParameterValueList.d.ts +73 -0
- package/lib/esm/spatial/ecrs/ParameterValueList.d.ts.map +1 -0
- package/lib/esm/spatial/ecrs/ParameterValueList.js +117 -0
- package/lib/esm/spatial/ecrs/ParameterValueList.js.map +1 -0
- package/lib/esm/spatial/ecrs/PrimeMeridian.d.ts +79 -0
- package/lib/esm/spatial/ecrs/PrimeMeridian.d.ts.map +1 -0
- package/lib/esm/spatial/ecrs/PrimeMeridian.js +105 -0
- package/lib/esm/spatial/ecrs/PrimeMeridian.js.map +1 -0
- package/lib/esm/spatial/ecrs/Registry.d.ts +110 -0
- package/lib/esm/spatial/ecrs/Registry.d.ts.map +1 -0
- package/lib/esm/spatial/ecrs/Registry.js +204 -0
- package/lib/esm/spatial/ecrs/Registry.js.map +1 -0
- package/lib/esm/spatial/ecrs/Transform.d.ts +78 -0
- package/lib/esm/spatial/ecrs/Transform.d.ts.map +1 -0
- package/lib/esm/spatial/ecrs/Transform.js +393 -0
- package/lib/esm/spatial/ecrs/Transform.js.map +1 -0
- package/lib/esm/spatial/ecrs/Unit.d.ts +171 -0
- package/lib/esm/spatial/ecrs/Unit.d.ts.map +1 -0
- package/lib/esm/spatial/ecrs/Unit.js +333 -0
- package/lib/esm/spatial/ecrs/Unit.js.map +1 -0
- package/lib/esm/spatial/ecrs/VerticalModel.d.ts +70 -0
- package/lib/esm/spatial/ecrs/VerticalModel.d.ts.map +1 -0
- package/lib/esm/spatial/ecrs/VerticalModel.js +85 -0
- package/lib/esm/spatial/ecrs/VerticalModel.js.map +1 -0
- package/lib/esm/spatial/ecrs/WellKnownText.d.ts +154 -0
- package/lib/esm/spatial/ecrs/WellKnownText.d.ts.map +1 -0
- package/lib/esm/spatial/ecrs/WellKnownText.js +491 -0
- package/lib/esm/spatial/ecrs/WellKnownText.js.map +1 -0
- package/lib/esm/spatial/ecrs/WellKnownTextNode.d.ts +70 -0
- package/lib/esm/spatial/ecrs/WellKnownTextNode.d.ts.map +1 -0
- package/lib/esm/spatial/ecrs/WellKnownTextNode.js +125 -0
- package/lib/esm/spatial/ecrs/WellKnownTextNode.js.map +1 -0
- package/lib/esm/spatial/ecrs/projection/HotineObliqueMercator.d.ts +102 -0
- package/lib/esm/spatial/ecrs/projection/HotineObliqueMercator.d.ts.map +1 -0
- package/lib/esm/spatial/ecrs/projection/HotineObliqueMercator.js +159 -0
- package/lib/esm/spatial/ecrs/projection/HotineObliqueMercator.js.map +1 -0
- package/lib/esm/spatial/ecrs/projection/KrovakObliqueConformalConic.d.ts +80 -0
- package/lib/esm/spatial/ecrs/projection/KrovakObliqueConformalConic.d.ts.map +1 -0
- package/lib/esm/spatial/ecrs/projection/KrovakObliqueConformalConic.js +122 -0
- package/lib/esm/spatial/ecrs/projection/KrovakObliqueConformalConic.js.map +1 -0
- package/lib/esm/spatial/ecrs/projection/KrovakObliqueConformalConicEN.d.ts +48 -0
- package/lib/esm/spatial/ecrs/projection/KrovakObliqueConformalConicEN.d.ts.map +1 -0
- package/lib/esm/spatial/ecrs/projection/KrovakObliqueConformalConicEN.js +70 -0
- package/lib/esm/spatial/ecrs/projection/KrovakObliqueConformalConicEN.js.map +1 -0
- package/lib/esm/spatial/ecrs/projection/LambertConical1SP.d.ts +73 -0
- package/lib/esm/spatial/ecrs/projection/LambertConical1SP.d.ts.map +1 -0
- package/lib/esm/spatial/ecrs/projection/LambertConical1SP.js +126 -0
- package/lib/esm/spatial/ecrs/projection/LambertConical1SP.js.map +1 -0
- package/lib/esm/spatial/ecrs/projection/LambertConical2SP.d.ts +121 -0
- package/lib/esm/spatial/ecrs/projection/LambertConical2SP.d.ts.map +1 -0
- package/lib/esm/spatial/ecrs/projection/LambertConical2SP.js +176 -0
- package/lib/esm/spatial/ecrs/projection/LambertConical2SP.js.map +1 -0
- package/lib/esm/spatial/ecrs/projection/Mercator1SP.d.ts +74 -0
- package/lib/esm/spatial/ecrs/projection/Mercator1SP.d.ts.map +1 -0
- package/lib/esm/spatial/ecrs/projection/Mercator1SP.js +109 -0
- package/lib/esm/spatial/ecrs/projection/Mercator1SP.js.map +1 -0
- package/lib/esm/spatial/ecrs/projection/ObliqueMercator.d.ts +97 -0
- package/lib/esm/spatial/ecrs/projection/ObliqueMercator.d.ts.map +1 -0
- package/lib/esm/spatial/ecrs/projection/ObliqueMercator.js +170 -0
- package/lib/esm/spatial/ecrs/projection/ObliqueMercator.js.map +1 -0
- package/lib/esm/spatial/ecrs/projection/ObliqueStereographic.d.ts +124 -0
- package/lib/esm/spatial/ecrs/projection/ObliqueStereographic.d.ts.map +1 -0
- package/lib/esm/spatial/ecrs/projection/ObliqueStereographic.js +205 -0
- package/lib/esm/spatial/ecrs/projection/ObliqueStereographic.js.map +1 -0
- package/lib/esm/spatial/ecrs/projection/TransverseMercator.d.ts +109 -0
- package/lib/esm/spatial/ecrs/projection/TransverseMercator.d.ts.map +1 -0
- package/lib/esm/spatial/ecrs/projection/TransverseMercator.js +180 -0
- package/lib/esm/spatial/ecrs/projection/TransverseMercator.js.map +1 -0
- package/lib/esm/spatial/ecrs/transformation/PositionVector.d.ts +91 -0
- package/lib/esm/spatial/ecrs/transformation/PositionVector.d.ts.map +1 -0
- package/lib/esm/spatial/ecrs/transformation/PositionVector.js +127 -0
- package/lib/esm/spatial/ecrs/transformation/PositionVector.js.map +1 -0
- package/lib/esm/spatial/geom/Bounds.d.ts +34 -0
- package/lib/esm/spatial/geom/Bounds.d.ts.map +1 -0
- package/lib/esm/spatial/geom/Bounds.js +153 -0
- package/lib/esm/spatial/geom/Bounds.js.map +1 -0
- package/lib/esm/spatial/geom/Coordinate.d.ts +62 -0
- package/lib/esm/spatial/geom/Coordinate.d.ts.map +1 -0
- package/lib/esm/spatial/geom/Coordinate.js +183 -0
- package/lib/esm/spatial/geom/Coordinate.js.map +1 -0
- package/lib/esm/spatial/geom/Line.d.ts +226 -0
- package/lib/esm/spatial/geom/Line.d.ts.map +1 -0
- package/lib/esm/spatial/geom/Line.js +429 -0
- package/lib/esm/spatial/geom/Line.js.map +1 -0
- package/lib/esm/spatial/geom/Transform.d.ts +341 -0
- package/lib/esm/spatial/geom/Transform.d.ts.map +1 -0
- package/lib/esm/spatial/geom/Transform.js +745 -0
- package/lib/esm/spatial/geom/Transform.js.map +1 -0
- package/lib/esm/system/buffer/ABuffer.d.ts +52 -0
- package/lib/esm/system/buffer/ABuffer.d.ts.map +1 -0
- package/lib/esm/system/buffer/ABuffer.js +87 -0
- package/lib/esm/system/buffer/ABuffer.js.map +1 -0
- package/lib/esm/system/buffer/Float32Buffer.d.ts +47 -0
- package/lib/esm/system/buffer/Float32Buffer.d.ts.map +1 -0
- package/lib/esm/system/buffer/Float32Buffer.js +57 -0
- package/lib/esm/system/buffer/Float32Buffer.js.map +1 -0
- package/lib/esm/system/buffer/LittleEndian.d.ts +150 -0
- package/lib/esm/system/buffer/LittleEndian.d.ts.map +1 -0
- package/lib/esm/system/buffer/LittleEndian.js +300 -0
- package/lib/esm/system/buffer/LittleEndian.js.map +1 -0
- package/lib/esm/system/buffer/Uint16Buffer.d.ts +50 -0
- package/lib/esm/system/buffer/Uint16Buffer.d.ts.map +1 -0
- package/lib/esm/system/buffer/Uint16Buffer.js +62 -0
- package/lib/esm/system/buffer/Uint16Buffer.js.map +1 -0
- package/lib/esm/system/buffer/Uint8Buffer.d.ts +50 -0
- package/lib/esm/system/buffer/Uint8Buffer.d.ts.map +1 -0
- package/lib/esm/system/buffer/Uint8Buffer.js +62 -0
- package/lib/esm/system/buffer/Uint8Buffer.js.map +1 -0
- package/lib/esm/system/collection/AList.d.ts +31 -0
- package/lib/esm/system/collection/AList.d.ts.map +1 -0
- package/lib/esm/system/collection/AList.js +67 -0
- package/lib/esm/system/collection/AList.js.map +1 -0
- package/lib/esm/system/collection/IntMap.d.ts +19 -0
- package/lib/esm/system/collection/IntMap.d.ts.map +1 -0
- package/lib/esm/system/collection/IntMap.js +32 -0
- package/lib/esm/system/collection/IntMap.js.map +1 -0
- package/lib/esm/system/collection/StringMap.d.ts +27 -0
- package/lib/esm/system/collection/StringMap.d.ts.map +1 -0
- package/lib/esm/system/collection/StringMap.js +60 -0
- package/lib/esm/system/collection/StringMap.js.map +1 -0
- package/lib/esm/system/io/ABufferInStream.d.ts +30 -0
- package/lib/esm/system/io/ABufferInStream.d.ts.map +1 -0
- package/lib/esm/system/io/ABufferInStream.js +43 -0
- package/lib/esm/system/io/ABufferInStream.js.map +1 -0
- package/lib/esm/system/io/InStream.d.ts +24 -0
- package/lib/esm/system/io/InStream.d.ts.map +1 -0
- package/lib/esm/system/io/InStream.js +31 -0
- package/lib/esm/system/io/InStream.js.map +1 -0
- package/lib/esm/system/io/OutStream.d.ts +24 -0
- package/lib/esm/system/io/OutStream.d.ts.map +1 -0
- package/lib/esm/system/io/OutStream.js +30 -0
- package/lib/esm/system/io/OutStream.js.map +1 -0
- package/lib/esm/system/runtime/ALong.d.ts +330 -0
- package/lib/esm/system/runtime/ALong.d.ts.map +1 -0
- package/lib/esm/system/runtime/ALong.js +684 -0
- package/lib/esm/system/runtime/ALong.js.map +1 -0
- package/lib/esm/system/runtime/ASystem.d.ts +15 -0
- package/lib/esm/system/runtime/ASystem.d.ts.map +1 -0
- package/lib/esm/system/runtime/ASystem.js +28 -0
- package/lib/esm/system/runtime/ASystem.js.map +1 -0
- package/lib/esm/system/runtime/Downloader.d.ts +18 -0
- package/lib/esm/system/runtime/Downloader.d.ts.map +1 -0
- package/lib/esm/system/runtime/Downloader.js +35 -0
- package/lib/esm/system/runtime/Downloader.js.map +1 -0
- package/lib/esm/system/runtime/DownloaderNode.d.ts +19 -0
- package/lib/esm/system/runtime/DownloaderNode.d.ts.map +1 -0
- package/lib/esm/system/runtime/DownloaderNode.js +126 -0
- package/lib/esm/system/runtime/DownloaderNode.js.map +1 -0
- package/lib/esm/system/runtime/DownloaderXhr.d.ts +19 -0
- package/lib/esm/system/runtime/DownloaderXhr.d.ts.map +1 -0
- package/lib/esm/system/runtime/DownloaderXhr.js +128 -0
- package/lib/esm/system/runtime/DownloaderXhr.js.map +1 -0
- package/lib/esm/system/runtime/Message.d.ts +17 -0
- package/lib/esm/system/runtime/Message.d.ts.map +1 -0
- package/lib/esm/system/runtime/Message.js +36 -0
- package/lib/esm/system/runtime/Message.js.map +1 -0
- package/lib/esm/system/runtime/Numbers.d.ts +35 -0
- package/lib/esm/system/runtime/Numbers.d.ts.map +1 -0
- package/lib/esm/system/runtime/Numbers.js +84 -0
- package/lib/esm/system/runtime/Numbers.js.map +1 -0
- package/lib/esm/system/runtime/Strings.d.ts +50 -0
- package/lib/esm/system/runtime/Strings.d.ts.map +1 -0
- package/lib/esm/system/runtime/Strings.js +185 -0
- package/lib/esm/system/runtime/Strings.js.map +1 -0
- package/lib/esm/system/runtime/iComparator.d.ts +13 -0
- package/lib/esm/system/runtime/iComparator.d.ts.map +1 -0
- package/lib/esm/system/runtime/iComparator.js +9 -0
- package/lib/esm/system/runtime/iComparator.js.map +1 -0
- package/lib/esm/system/storage/CacheList.d.ts +40 -0
- package/lib/esm/system/storage/CacheList.d.ts.map +1 -0
- package/lib/esm/system/storage/CacheList.js +77 -0
- package/lib/esm/system/storage/CacheList.js.map +1 -0
- package/lib/esm/system/storage/CachedItem.d.ts +22 -0
- package/lib/esm/system/storage/CachedItem.d.ts.map +1 -0
- package/lib/esm/system/storage/CachedItem.js +22 -0
- package/lib/esm/system/storage/CachedItem.js.map +1 -0
- package/lib/esm/system/storage/ContentLoader.d.ts +65 -0
- package/lib/esm/system/storage/ContentLoader.d.ts.map +1 -0
- package/lib/esm/system/storage/ContentLoader.js +92 -0
- package/lib/esm/system/storage/ContentLoader.js.map +1 -0
- package/lib/esm/system/storage/FileContent.d.ts +20 -0
- package/lib/esm/system/storage/FileContent.d.ts.map +1 -0
- package/lib/esm/system/storage/FileContent.js +21 -0
- package/lib/esm/system/storage/FileContent.js.map +1 -0
- package/lib/esm/system/storage/FileRange.d.ts +21 -0
- package/lib/esm/system/storage/FileRange.d.ts.map +1 -0
- package/lib/esm/system/storage/FileRange.js +21 -0
- package/lib/esm/system/storage/FileRange.js.map +1 -0
- package/lib/esm/system/storage/FileStorage.d.ts +45 -0
- package/lib/esm/system/storage/FileStorage.d.ts.map +1 -0
- package/lib/esm/system/storage/FileStorage.js +59 -0
- package/lib/esm/system/storage/FileStorage.js.map +1 -0
- package/lib/esm/system/storage/NodeFS.d.ts +42 -0
- package/lib/esm/system/storage/NodeFS.d.ts.map +1 -0
- package/lib/esm/system/storage/NodeFS.js +76 -0
- package/lib/esm/system/storage/NodeFS.js.map +1 -0
- package/lib/esm/system/storage/PageCachedFile.d.ts +55 -0
- package/lib/esm/system/storage/PageCachedFile.d.ts.map +1 -0
- package/lib/esm/system/storage/PageCachedFile.js +162 -0
- package/lib/esm/system/storage/PageCachedFile.js.map +1 -0
- package/lib/esm/system/storage/UrlFS.d.ts +54 -0
- package/lib/esm/system/storage/UrlFS.d.ts.map +1 -0
- package/lib/esm/system/storage/UrlFS.js +111 -0
- package/lib/esm/system/storage/UrlFS.js.map +1 -0
- package/package.json +11 -8
- package/lib/core-orbitgt.d.ts.map +0 -1
- package/lib/core-orbitgt.js.map +0 -1
- package/lib/pointcloud/format/opc/AttributeMask.d.ts.map +0 -1
- package/lib/pointcloud/format/opc/AttributeMask.js.map +0 -1
- package/lib/pointcloud/format/opc/AttributeReader.d.ts.map +0 -1
- package/lib/pointcloud/format/opc/AttributeReader.js.map +0 -1
- package/lib/pointcloud/format/opc/BlockRecord.d.ts.map +0 -1
- package/lib/pointcloud/format/opc/BlockRecord.js.map +0 -1
- package/lib/pointcloud/format/opc/ContainerFile.d.ts.map +0 -1
- package/lib/pointcloud/format/opc/ContainerFile.js.map +0 -1
- package/lib/pointcloud/format/opc/ContainerFilePart.d.ts.map +0 -1
- package/lib/pointcloud/format/opc/ContainerFilePart.js.map +0 -1
- package/lib/pointcloud/format/opc/DirectoryReader.d.ts.map +0 -1
- package/lib/pointcloud/format/opc/DirectoryReader.js.map +0 -1
- package/lib/pointcloud/format/opc/DirectoryRecord.d.ts.map +0 -1
- package/lib/pointcloud/format/opc/DirectoryRecord.js.map +0 -1
- package/lib/pointcloud/format/opc/EmbeddedAttributeReader.d.ts.map +0 -1
- package/lib/pointcloud/format/opc/EmbeddedAttributeReader.js.map +0 -1
- package/lib/pointcloud/format/opc/FileAccess.d.ts.map +0 -1
- package/lib/pointcloud/format/opc/FileAccess.js.map +0 -1
- package/lib/pointcloud/format/opc/FileReader.d.ts.map +0 -1
- package/lib/pointcloud/format/opc/FileReader.js.map +0 -1
- package/lib/pointcloud/format/opc/FileRecord.d.ts.map +0 -1
- package/lib/pointcloud/format/opc/FileRecord.js.map +0 -1
- package/lib/pointcloud/format/opc/GeometryReader.d.ts.map +0 -1
- package/lib/pointcloud/format/opc/GeometryReader.js.map +0 -1
- package/lib/pointcloud/format/opc/GeometryRecord.d.ts.map +0 -1
- package/lib/pointcloud/format/opc/GeometryRecord.js.map +0 -1
- package/lib/pointcloud/format/opc/OPCReader.d.ts.map +0 -1
- package/lib/pointcloud/format/opc/OPCReader.js.map +0 -1
- package/lib/pointcloud/format/opc/PointReader.d.ts.map +0 -1
- package/lib/pointcloud/format/opc/PointReader.js.map +0 -1
- package/lib/pointcloud/format/opc/TileReadBuffer.d.ts.map +0 -1
- package/lib/pointcloud/format/opc/TileReadBuffer.js.map +0 -1
- package/lib/pointcloud/format/opc/TileRecord.d.ts.map +0 -1
- package/lib/pointcloud/format/opc/TileRecord.js.map +0 -1
- package/lib/pointcloud/model/AttributeTypes.d.ts.map +0 -1
- package/lib/pointcloud/model/AttributeTypes.js.map +0 -1
- package/lib/pointcloud/model/AttributeValue.d.ts.map +0 -1
- package/lib/pointcloud/model/AttributeValue.js.map +0 -1
- package/lib/pointcloud/model/BlockIndex.d.ts.map +0 -1
- package/lib/pointcloud/model/BlockIndex.js.map +0 -1
- package/lib/pointcloud/model/CloudPoint.d.ts.map +0 -1
- package/lib/pointcloud/model/CloudPoint.js.map +0 -1
- package/lib/pointcloud/model/Grid.d.ts.map +0 -1
- package/lib/pointcloud/model/Grid.js.map +0 -1
- package/lib/pointcloud/model/GridIndex.d.ts.map +0 -1
- package/lib/pointcloud/model/GridIndex.js.map +0 -1
- package/lib/pointcloud/model/PointAttribute.d.ts.map +0 -1
- package/lib/pointcloud/model/PointAttribute.js.map +0 -1
- package/lib/pointcloud/model/PointCloudReader.d.ts.map +0 -1
- package/lib/pointcloud/model/PointCloudReader.js.map +0 -1
- package/lib/pointcloud/model/PointData.d.ts.map +0 -1
- package/lib/pointcloud/model/PointData.js.map +0 -1
- package/lib/pointcloud/model/PointDataRaw.d.ts.map +0 -1
- package/lib/pointcloud/model/PointDataRaw.js.map +0 -1
- package/lib/pointcloud/model/ReadRequest.d.ts.map +0 -1
- package/lib/pointcloud/model/ReadRequest.js.map +0 -1
- package/lib/pointcloud/model/StandardAttributes.d.ts.map +0 -1
- package/lib/pointcloud/model/StandardAttributes.js.map +0 -1
- package/lib/pointcloud/model/TileIndex.d.ts.map +0 -1
- package/lib/pointcloud/model/TileIndex.js.map +0 -1
- package/lib/pointcloud/render/AViewRequest.d.ts.map +0 -1
- package/lib/pointcloud/render/AViewRequest.js.map +0 -1
- package/lib/pointcloud/render/Block.d.ts.map +0 -1
- package/lib/pointcloud/render/Block.js.map +0 -1
- package/lib/pointcloud/render/DataManager.d.ts.map +0 -1
- package/lib/pointcloud/render/DataManager.js.map +0 -1
- package/lib/pointcloud/render/FrameData.d.ts.map +0 -1
- package/lib/pointcloud/render/FrameData.js.map +0 -1
- package/lib/pointcloud/render/Level.d.ts.map +0 -1
- package/lib/pointcloud/render/Level.js.map +0 -1
- package/lib/pointcloud/render/TileLoadSorter.d.ts.map +0 -1
- package/lib/pointcloud/render/TileLoadSorter.js.map +0 -1
- package/lib/pointcloud/render/ViewTree.d.ts.map +0 -1
- package/lib/pointcloud/render/ViewTree.js.map +0 -1
- package/lib/spatial/crs/CRSEngine.d.ts.map +0 -1
- package/lib/spatial/crs/CRSEngine.js.map +0 -1
- package/lib/spatial/crs/CRSManager.d.ts.map +0 -1
- package/lib/spatial/crs/CRSManager.js.map +0 -1
- package/lib/spatial/ecrs/Axis.d.ts.map +0 -1
- package/lib/spatial/ecrs/Axis.js.map +0 -1
- package/lib/spatial/ecrs/CRS.d.ts.map +0 -1
- package/lib/spatial/ecrs/CRS.js.map +0 -1
- package/lib/spatial/ecrs/CoordinateSystem.d.ts.map +0 -1
- package/lib/spatial/ecrs/CoordinateSystem.js.map +0 -1
- package/lib/spatial/ecrs/DataFileUnit.d.ts.map +0 -1
- package/lib/spatial/ecrs/DataFileUnit.js.map +0 -1
- package/lib/spatial/ecrs/Datum.d.ts.map +0 -1
- package/lib/spatial/ecrs/Datum.js.map +0 -1
- package/lib/spatial/ecrs/Ellipsoid.d.ts.map +0 -1
- package/lib/spatial/ecrs/Ellipsoid.js.map +0 -1
- package/lib/spatial/ecrs/OnlineEngine.d.ts.map +0 -1
- package/lib/spatial/ecrs/OnlineEngine.js.map +0 -1
- package/lib/spatial/ecrs/OnlineRegistry.d.ts.map +0 -1
- package/lib/spatial/ecrs/OnlineRegistry.js.map +0 -1
- package/lib/spatial/ecrs/Operation.d.ts.map +0 -1
- package/lib/spatial/ecrs/Operation.js.map +0 -1
- package/lib/spatial/ecrs/OperationMethod.d.ts.map +0 -1
- package/lib/spatial/ecrs/OperationMethod.js.map +0 -1
- package/lib/spatial/ecrs/ParameterValue.d.ts.map +0 -1
- package/lib/spatial/ecrs/ParameterValue.js.map +0 -1
- package/lib/spatial/ecrs/ParameterValueList.d.ts.map +0 -1
- package/lib/spatial/ecrs/ParameterValueList.js.map +0 -1
- package/lib/spatial/ecrs/PrimeMeridian.d.ts.map +0 -1
- package/lib/spatial/ecrs/PrimeMeridian.js.map +0 -1
- package/lib/spatial/ecrs/Registry.d.ts.map +0 -1
- package/lib/spatial/ecrs/Registry.js.map +0 -1
- package/lib/spatial/ecrs/Transform.d.ts.map +0 -1
- package/lib/spatial/ecrs/Transform.js.map +0 -1
- package/lib/spatial/ecrs/Unit.d.ts.map +0 -1
- package/lib/spatial/ecrs/Unit.js.map +0 -1
- package/lib/spatial/ecrs/VerticalModel.d.ts.map +0 -1
- package/lib/spatial/ecrs/VerticalModel.js.map +0 -1
- package/lib/spatial/ecrs/WellKnownText.d.ts.map +0 -1
- package/lib/spatial/ecrs/WellKnownText.js.map +0 -1
- package/lib/spatial/ecrs/WellKnownTextNode.d.ts.map +0 -1
- package/lib/spatial/ecrs/WellKnownTextNode.js.map +0 -1
- package/lib/spatial/ecrs/projection/HotineObliqueMercator.d.ts.map +0 -1
- package/lib/spatial/ecrs/projection/HotineObliqueMercator.js.map +0 -1
- package/lib/spatial/ecrs/projection/KrovakObliqueConformalConic.d.ts.map +0 -1
- package/lib/spatial/ecrs/projection/KrovakObliqueConformalConic.js.map +0 -1
- package/lib/spatial/ecrs/projection/KrovakObliqueConformalConicEN.d.ts.map +0 -1
- package/lib/spatial/ecrs/projection/KrovakObliqueConformalConicEN.js.map +0 -1
- package/lib/spatial/ecrs/projection/LambertConical1SP.d.ts.map +0 -1
- package/lib/spatial/ecrs/projection/LambertConical1SP.js.map +0 -1
- package/lib/spatial/ecrs/projection/LambertConical2SP.d.ts.map +0 -1
- package/lib/spatial/ecrs/projection/LambertConical2SP.js.map +0 -1
- package/lib/spatial/ecrs/projection/Mercator1SP.d.ts.map +0 -1
- package/lib/spatial/ecrs/projection/Mercator1SP.js.map +0 -1
- package/lib/spatial/ecrs/projection/ObliqueMercator.d.ts.map +0 -1
- package/lib/spatial/ecrs/projection/ObliqueMercator.js.map +0 -1
- package/lib/spatial/ecrs/projection/ObliqueStereographic.d.ts.map +0 -1
- package/lib/spatial/ecrs/projection/ObliqueStereographic.js.map +0 -1
- package/lib/spatial/ecrs/projection/TransverseMercator.d.ts.map +0 -1
- package/lib/spatial/ecrs/projection/TransverseMercator.js.map +0 -1
- package/lib/spatial/ecrs/transformation/PositionVector.d.ts.map +0 -1
- package/lib/spatial/ecrs/transformation/PositionVector.js.map +0 -1
- package/lib/spatial/geom/Bounds.d.ts.map +0 -1
- package/lib/spatial/geom/Bounds.js.map +0 -1
- package/lib/spatial/geom/Coordinate.d.ts.map +0 -1
- package/lib/spatial/geom/Coordinate.js.map +0 -1
- package/lib/spatial/geom/Line.d.ts.map +0 -1
- package/lib/spatial/geom/Line.js.map +0 -1
- package/lib/spatial/geom/Transform.d.ts.map +0 -1
- package/lib/spatial/geom/Transform.js.map +0 -1
- package/lib/system/buffer/ABuffer.d.ts.map +0 -1
- package/lib/system/buffer/ABuffer.js.map +0 -1
- package/lib/system/buffer/Float32Buffer.d.ts.map +0 -1
- package/lib/system/buffer/Float32Buffer.js.map +0 -1
- package/lib/system/buffer/LittleEndian.d.ts.map +0 -1
- package/lib/system/buffer/LittleEndian.js.map +0 -1
- package/lib/system/buffer/Uint16Buffer.d.ts.map +0 -1
- package/lib/system/buffer/Uint16Buffer.js.map +0 -1
- package/lib/system/buffer/Uint8Buffer.d.ts.map +0 -1
- package/lib/system/buffer/Uint8Buffer.js.map +0 -1
- package/lib/system/collection/AList.d.ts.map +0 -1
- package/lib/system/collection/AList.js.map +0 -1
- package/lib/system/collection/IntMap.d.ts.map +0 -1
- package/lib/system/collection/IntMap.js.map +0 -1
- package/lib/system/collection/StringMap.d.ts.map +0 -1
- package/lib/system/collection/StringMap.js.map +0 -1
- package/lib/system/io/ABufferInStream.d.ts.map +0 -1
- package/lib/system/io/ABufferInStream.js.map +0 -1
- package/lib/system/io/InStream.d.ts.map +0 -1
- package/lib/system/io/InStream.js.map +0 -1
- package/lib/system/io/OutStream.d.ts.map +0 -1
- package/lib/system/io/OutStream.js.map +0 -1
- package/lib/system/runtime/ALong.d.ts.map +0 -1
- package/lib/system/runtime/ALong.js.map +0 -1
- package/lib/system/runtime/ASystem.d.ts.map +0 -1
- package/lib/system/runtime/ASystem.js.map +0 -1
- package/lib/system/runtime/Downloader.d.ts.map +0 -1
- package/lib/system/runtime/Downloader.js.map +0 -1
- package/lib/system/runtime/DownloaderNode.d.ts.map +0 -1
- package/lib/system/runtime/DownloaderNode.js.map +0 -1
- package/lib/system/runtime/DownloaderXhr.d.ts.map +0 -1
- package/lib/system/runtime/DownloaderXhr.js.map +0 -1
- package/lib/system/runtime/Message.d.ts.map +0 -1
- package/lib/system/runtime/Message.js.map +0 -1
- package/lib/system/runtime/Numbers.d.ts.map +0 -1
- package/lib/system/runtime/Numbers.js.map +0 -1
- package/lib/system/runtime/Strings.d.ts.map +0 -1
- package/lib/system/runtime/Strings.js.map +0 -1
- package/lib/system/runtime/iComparator.d.ts.map +0 -1
- package/lib/system/runtime/iComparator.js.map +0 -1
- package/lib/system/storage/CacheList.d.ts.map +0 -1
- package/lib/system/storage/CacheList.js.map +0 -1
- package/lib/system/storage/CachedItem.d.ts.map +0 -1
- package/lib/system/storage/CachedItem.js.map +0 -1
- package/lib/system/storage/ContentLoader.d.ts.map +0 -1
- package/lib/system/storage/ContentLoader.js.map +0 -1
- package/lib/system/storage/FileContent.d.ts.map +0 -1
- package/lib/system/storage/FileContent.js.map +0 -1
- package/lib/system/storage/FileRange.d.ts.map +0 -1
- package/lib/system/storage/FileRange.js.map +0 -1
- package/lib/system/storage/FileStorage.d.ts.map +0 -1
- package/lib/system/storage/FileStorage.js.map +0 -1
- package/lib/system/storage/NodeFS.d.ts.map +0 -1
- package/lib/system/storage/NodeFS.js.map +0 -1
- package/lib/system/storage/PageCachedFile.d.ts.map +0 -1
- package/lib/system/storage/PageCachedFile.js.map +0 -1
- package/lib/system/storage/UrlFS.d.ts.map +0 -1
- package/lib/system/storage/UrlFS.js.map +0 -1
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
/** @packageDocumentation
|
|
2
|
+
* @module OrbitGT
|
|
3
|
+
*/
|
|
4
|
+
declare type int32 = number;
|
|
5
|
+
import { Coordinate } from "../../geom/Coordinate";
|
|
6
|
+
import { CRS } from "../CRS";
|
|
7
|
+
import { Operation } from "../Operation";
|
|
8
|
+
import { OperationMethod } from "../OperationMethod";
|
|
9
|
+
import { ParameterValueList } from "../ParameterValueList";
|
|
10
|
+
/**
|
|
11
|
+
* Class ObliqueMercator defines an Oblique Mercator projection (Hotine Variant B).
|
|
12
|
+
*
|
|
13
|
+
* The 'source' CRS is the geographic CRS.
|
|
14
|
+
* The 'target' CRS is the projected CRS.
|
|
15
|
+
*
|
|
16
|
+
* Based on the following document:
|
|
17
|
+
*
|
|
18
|
+
* Coordinate Conversions and Transformations including Formulas
|
|
19
|
+
* Guidance Note Number 7, part 2
|
|
20
|
+
* Revised August 2006
|
|
21
|
+
* Available at: http://www.epsg.org/
|
|
22
|
+
*
|
|
23
|
+
* Formulas: see 1.4.6 (spec v6.13): Oblique Mercator and Hotine Oblique Mercator
|
|
24
|
+
*
|
|
25
|
+
* @version 1.0 May 2008
|
|
26
|
+
*/
|
|
27
|
+
/** @internal */
|
|
28
|
+
export declare class ObliqueMercator extends OperationMethod {
|
|
29
|
+
/** The code of this method */
|
|
30
|
+
static readonly METHOD_CODE: int32;
|
|
31
|
+
/** The value of PI */
|
|
32
|
+
private static readonly PI;
|
|
33
|
+
/** Latitude of the projection center */
|
|
34
|
+
private _latC;
|
|
35
|
+
/** Longitude of the projection center */
|
|
36
|
+
private _lonC;
|
|
37
|
+
/** Azimuth of the initial line passing through the projection center */
|
|
38
|
+
private _aziC;
|
|
39
|
+
/** Angle from the recified grid to the skew (oblique) grid */
|
|
40
|
+
private _gamC;
|
|
41
|
+
/** Scale factor on the initial line of projection */
|
|
42
|
+
private _kC;
|
|
43
|
+
/** False easting at the center of projection */
|
|
44
|
+
private _eC;
|
|
45
|
+
/** False northing at the center of projection */
|
|
46
|
+
private _nC;
|
|
47
|
+
/** Forward calculation parameters */
|
|
48
|
+
private _a;
|
|
49
|
+
private _e;
|
|
50
|
+
private _e2;
|
|
51
|
+
private _B;
|
|
52
|
+
private _A;
|
|
53
|
+
private _tO;
|
|
54
|
+
private _D;
|
|
55
|
+
private _F;
|
|
56
|
+
private _H;
|
|
57
|
+
private _G;
|
|
58
|
+
private _gamO;
|
|
59
|
+
private _lonO;
|
|
60
|
+
private _vC;
|
|
61
|
+
private _uC;
|
|
62
|
+
/** Reverse calculation parameters */
|
|
63
|
+
private _rev1;
|
|
64
|
+
private _rev2;
|
|
65
|
+
private _rev3;
|
|
66
|
+
private _rev4;
|
|
67
|
+
/**
|
|
68
|
+
* Create a new projection.
|
|
69
|
+
* @param parameters the values of the parameters.
|
|
70
|
+
*/
|
|
71
|
+
constructor(parameters: ParameterValueList);
|
|
72
|
+
/**
|
|
73
|
+
* Get the sign of a number.
|
|
74
|
+
*/
|
|
75
|
+
private static sign;
|
|
76
|
+
/**
|
|
77
|
+
* Get the power of a number (must be able to handle negative 'n' values).
|
|
78
|
+
*/
|
|
79
|
+
private static pow;
|
|
80
|
+
/**
|
|
81
|
+
* OperationMethod method.
|
|
82
|
+
* @see OperationMethod#initialize
|
|
83
|
+
*/
|
|
84
|
+
initialize(operation: Operation): void;
|
|
85
|
+
/**
|
|
86
|
+
* OperationMethod interface method.
|
|
87
|
+
* @see OperationMethod#forward
|
|
88
|
+
*/
|
|
89
|
+
forward(sourceCRS: CRS, source: Coordinate, targetCRS: CRS, target: Coordinate): void;
|
|
90
|
+
/**
|
|
91
|
+
* OperationMethod interface method.
|
|
92
|
+
* @see OperationMethod#reverse
|
|
93
|
+
*/
|
|
94
|
+
reverse(sourceCRS: CRS, source: Coordinate, targetCRS: CRS, target: Coordinate): void;
|
|
95
|
+
}
|
|
96
|
+
export {};
|
|
97
|
+
//# sourceMappingURL=ObliqueMercator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ObliqueMercator.d.ts","sourceRoot":"","sources":["../../../../../src/spatial/ecrs/projection/ObliqueMercator.ts"],"names":[],"mappings":"AAIA;;GAEG;AAMH,aAAK,KAAK,GAAG,MAAM,CAAC;AAIpB,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACnD,OAAO,EAAE,GAAG,EAAE,MAAM,QAAQ,CAAC;AAC7B,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAE3D;;;;;;;;;;;;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AAU,CAAC,SAAS,EAAE,SAAS,GAAG,IAAI;IAoCtD;;;SAGK;IACE,OAAO,CAAC,SAAS,EAAE,GAAG,EAAE,MAAM,EAAE,UAAU,EAAE,SAAS,EAAE,GAAG,EAAE,MAAM,EAAE,UAAU,GAAG,IAAI;IA+B5F;;;SAGK;IACE,OAAO,CAAC,SAAS,EAAE,GAAG,EAAE,MAAM,EAAE,UAAU,EAAE,SAAS,EAAE,GAAG,EAAE,MAAM,EAAE,UAAU,GAAG,IAAI;CAwB/F"}
|
|
@@ -0,0 +1,170 @@
|
|
|
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 { OperationMethod } from "../OperationMethod";
|
|
9
|
+
/**
|
|
10
|
+
* Class ObliqueMercator defines an Oblique Mercator projection (Hotine Variant B).
|
|
11
|
+
*
|
|
12
|
+
* The 'source' CRS is the geographic CRS.
|
|
13
|
+
* The 'target' CRS is the projected CRS.
|
|
14
|
+
*
|
|
15
|
+
* Based on the following document:
|
|
16
|
+
*
|
|
17
|
+
* Coordinate Conversions and Transformations including Formulas
|
|
18
|
+
* Guidance Note Number 7, part 2
|
|
19
|
+
* Revised August 2006
|
|
20
|
+
* Available at: http://www.epsg.org/
|
|
21
|
+
*
|
|
22
|
+
* Formulas: see 1.4.6 (spec v6.13): Oblique Mercator and Hotine Oblique Mercator
|
|
23
|
+
*
|
|
24
|
+
* @version 1.0 May 2008
|
|
25
|
+
*/
|
|
26
|
+
/** @internal */
|
|
27
|
+
export class ObliqueMercator extends OperationMethod {
|
|
28
|
+
/**
|
|
29
|
+
* Create a new projection.
|
|
30
|
+
* @param parameters the values of the parameters.
|
|
31
|
+
*/
|
|
32
|
+
constructor(parameters) {
|
|
33
|
+
super(ObliqueMercator.METHOD_CODE, "Oblique Mercator", parameters);
|
|
34
|
+
/* Store the parameters */
|
|
35
|
+
this._latC = parameters.getValue(8811);
|
|
36
|
+
this._lonC = parameters.getValue(8812);
|
|
37
|
+
this._aziC = parameters.getValue(8813);
|
|
38
|
+
this._gamC = parameters.getValue(8814);
|
|
39
|
+
this._kC = parameters.getValue(8815);
|
|
40
|
+
this._eC = parameters.getValue(8816);
|
|
41
|
+
this._nC = parameters.getValue(8817);
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Get the sign of a number.
|
|
45
|
+
*/
|
|
46
|
+
static sign(v) {
|
|
47
|
+
return (v < 0.0) ? (-1.0) : (1.0);
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Get the power of a number (must be able to handle negative 'n' values).
|
|
51
|
+
*/
|
|
52
|
+
static pow(n, e) {
|
|
53
|
+
let p = 1.0;
|
|
54
|
+
for (let i = 0; i < e; i++)
|
|
55
|
+
p *= n;
|
|
56
|
+
return p;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* OperationMethod method.
|
|
60
|
+
* @see OperationMethod#initialize
|
|
61
|
+
*/
|
|
62
|
+
initialize(operation) {
|
|
63
|
+
/* Get the ellipsoid */
|
|
64
|
+
const sourceCRS = operation.getSourceCRS();
|
|
65
|
+
/* Prepare the forward parameters */
|
|
66
|
+
this._a = sourceCRS.getEllipsoid().getA();
|
|
67
|
+
this._e = sourceCRS.getEllipsoid().getE();
|
|
68
|
+
this._e2 = this._e * this._e;
|
|
69
|
+
this._B = Math.sqrt(1.0 + (this._e2 * ObliqueMercator.pow(Math.cos(this._latC), 4) / (1.0 - this._e2)));
|
|
70
|
+
const esinLatC = this._e * Math.sin(this._latC);
|
|
71
|
+
this._A = this._a * this._B * this._kC * Math.sqrt(1.0 - this._e2) / (1.0 - ObliqueMercator.pow(esinLatC, 2));
|
|
72
|
+
this._tO = Math.tan(ObliqueMercator.PI / 4.0 - this._latC / 2.0) / Math.pow((1.0 - esinLatC) / (1.0 + esinLatC), this._e / 2.0);
|
|
73
|
+
this._D = this._B * Math.sqrt(1.0 - this._e2) / (Math.cos(this._latC) * Math.sqrt(1.0 - ObliqueMercator.pow(esinLatC, 2)));
|
|
74
|
+
const D2 = (this._D < 1.0) ? (1.0) : (this._D * this._D);
|
|
75
|
+
this._F = this._D + Math.sqrt(D2 - 1.0) * ObliqueMercator.sign(this._latC);
|
|
76
|
+
this._H = this._F * Math.pow(this._tO, this._B);
|
|
77
|
+
this._G = (this._F - 1.0 / this._F) / 2.0;
|
|
78
|
+
this._gamO = Math.asin(Math.sin(this._aziC) / this._D);
|
|
79
|
+
// fix for Switzerland CRS 2056 projection error. LER, 19/06/2018
|
|
80
|
+
let w = this._G * Math.tan(this._gamO);
|
|
81
|
+
if (Math.abs(1.0 - w) < 1.0e-13)
|
|
82
|
+
w = 1.0; // Math.asin(0.9999999999999999) gives a 1.49e-8 difference from the asin(1.0) value, which leads to a 19 cm projection error
|
|
83
|
+
// this._lonO = lonC-Math.asin(G*Math.tan(gamO))/B;
|
|
84
|
+
this._lonO = this._lonC - Math.asin(w) / this._B;
|
|
85
|
+
// end of fix
|
|
86
|
+
this._vC = 0.0;
|
|
87
|
+
if (Math.abs(this._aziC - 0.5 * ObliqueMercator.PI) < 1.0e-12)
|
|
88
|
+
this._uC = this._A * (this._lonC - this._lonO); // special case aziC==90 (Hungary, Switzerland)
|
|
89
|
+
else
|
|
90
|
+
this._uC = (this._A / this._B) * Math.atan(Math.sqrt(D2 - 1.0) / Math.cos(this._aziC)) * ObliqueMercator.sign(this._latC);
|
|
91
|
+
/* Prepare the reverse parameters */
|
|
92
|
+
const e4 = this._e2 * this._e2;
|
|
93
|
+
const e6 = e4 * this._e2;
|
|
94
|
+
const e8 = e4 * e4;
|
|
95
|
+
this._rev1 = (this._e2 / 2.0 + 5.0 * e4 / 24.0 + e6 / 12.0 + 13.0 * e8 / 360.0);
|
|
96
|
+
this._rev2 = (7.0 * e4 / 48.0 + 29.0 * e6 / 240.0 + 811.0 * e8 / 11520.0);
|
|
97
|
+
this._rev3 = (7.0 * e6 / 120.0 + 81.0 * e8 / 1120.0);
|
|
98
|
+
this._rev4 = (4279.0 * e8 / 161280.0);
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* OperationMethod interface method.
|
|
102
|
+
* @see OperationMethod#forward
|
|
103
|
+
*/
|
|
104
|
+
forward(sourceCRS, source, targetCRS, target) {
|
|
105
|
+
/* Get the parameters (radians) */
|
|
106
|
+
const lon = source.getX();
|
|
107
|
+
const lat = source.getY();
|
|
108
|
+
/* Make the calculation */
|
|
109
|
+
const esinLat = this._e * Math.sin(lat);
|
|
110
|
+
const t = Math.tan(ObliqueMercator.PI / 4.0 - lat / 2.0) / Math.pow((1.0 - esinLat) / (1.0 + esinLat), this._e / 2.0);
|
|
111
|
+
const Q = this._H / Math.pow(t, this._B);
|
|
112
|
+
const S = (Q - 1.0 / Q) / 2.0;
|
|
113
|
+
const T = (Q + 1.0 / Q) / 2.0;
|
|
114
|
+
const V = Math.sin(this._B * (lon - this._lonO));
|
|
115
|
+
const U = (-V * Math.cos(this._gamO) + S * Math.sin(this._gamO)) / T;
|
|
116
|
+
const v = this._A * Math.log((1.0 - U) / (1.0 + U)) / (2.0 * this._B);
|
|
117
|
+
let u;
|
|
118
|
+
if (Math.abs(this._aziC - 0.5 * ObliqueMercator.PI) < 1.0e-12) // aziC==90? new in guidance note 2 version 8.5. LER, 21/09/2016
|
|
119
|
+
{
|
|
120
|
+
if (lon == this._lonC)
|
|
121
|
+
u = 0.0;
|
|
122
|
+
else
|
|
123
|
+
u = (this._A * Math.atan((S * Math.cos(this._gamO) + V * Math.sin(this._gamO)) / Math.cos(this._B * (lon - this._lonO))) / this._B) - (Math.abs(this._uC) * ObliqueMercator.sign(this._latC) * ObliqueMercator.sign(this._lonC - lon));
|
|
124
|
+
}
|
|
125
|
+
else {
|
|
126
|
+
u = (this._A * Math.atan((S * Math.cos(this._gamO) + V * Math.sin(this._gamO)) / Math.cos(this._B * (lon - this._lonO))) / this._B) - (Math.abs(this._uC) * ObliqueMercator.sign(this._latC));
|
|
127
|
+
}
|
|
128
|
+
const sinGamC = Math.sin(this._gamC);
|
|
129
|
+
const cosGamC = Math.cos(this._gamC);
|
|
130
|
+
const E = v * cosGamC + u * sinGamC + this._eC;
|
|
131
|
+
const N = u * cosGamC - v * sinGamC + this._nC;
|
|
132
|
+
/* Save the position */
|
|
133
|
+
target.setX(E);
|
|
134
|
+
target.setY(N);
|
|
135
|
+
target.setZ(source.getZ()); // Keep the Z value
|
|
136
|
+
}
|
|
137
|
+
/**
|
|
138
|
+
* OperationMethod interface method.
|
|
139
|
+
* @see OperationMethod#reverse
|
|
140
|
+
*/
|
|
141
|
+
reverse(sourceCRS, source, targetCRS, target) {
|
|
142
|
+
/* Get the parameters */
|
|
143
|
+
const E = target.getX();
|
|
144
|
+
const N = target.getY();
|
|
145
|
+
/* Make the calculation */
|
|
146
|
+
const sinGamC = Math.sin(this._gamC);
|
|
147
|
+
const cosGamC = Math.cos(this._gamC);
|
|
148
|
+
const v = (E - this._eC) * cosGamC - (N - this._nC) * sinGamC;
|
|
149
|
+
const u = (N - this._nC) * cosGamC + (E - this._eC) * sinGamC + (Math.abs(this._uC) * ObliqueMercator.sign(this._latC));
|
|
150
|
+
const Q = Math.exp(-this._B * v / this._A);
|
|
151
|
+
const S = (Q - 1.0 / Q) / 2.0;
|
|
152
|
+
const T = (Q + 1.0 / Q) / 2.0;
|
|
153
|
+
const V = Math.sin(this._B * u / this._A);
|
|
154
|
+
const U = (V * Math.cos(this._gamO) + S * Math.sin(this._gamO)) / T;
|
|
155
|
+
const t = Math.pow(this._H / Math.sqrt((1.0 + U) / (1.0 - U)), 1.0 / this._B);
|
|
156
|
+
const chi = ObliqueMercator.PI / 2.0 - 2.0 * Math.atan(t);
|
|
157
|
+
const lat = chi + Math.sin(2.0 * chi) * this._rev1 + Math.sin(4.0 * chi) * this._rev2 + Math.sin(6.0 * chi) * this._rev3 + Math.sin(8.0 * chi) * this._rev4;
|
|
158
|
+
// double lon = lonO-Math.atan((S*Math.cos(gamO)-V*Math.sin(gamO))/Math.cos(B*u/A))/B;
|
|
159
|
+
const lon = this._lonO - Math.atan2((S * Math.cos(this._gamO) - V * Math.sin(this._gamO)), Math.cos(this._B * u / this._A)) / this._B; // replaced atan(y/x) by atan2(y,x). LER, 23/05/2017
|
|
160
|
+
/* Save the position */
|
|
161
|
+
source.setX(lon);
|
|
162
|
+
source.setY(lat);
|
|
163
|
+
source.setZ(target.getZ()); // Keep the Z value
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
/** The code of this method */
|
|
167
|
+
ObliqueMercator.METHOD_CODE = 9815; // Hotine Variant B
|
|
168
|
+
/** The value of PI */
|
|
169
|
+
ObliqueMercator.PI = Math.PI;
|
|
170
|
+
//# sourceMappingURL=ObliqueMercator.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ObliqueMercator.js","sourceRoot":"","sources":["../../../../../src/spatial/ecrs/projection/ObliqueMercator.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAaH,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAGrD;;;;;;;;;;;;;;;;GAgBG;AACH,gBAAgB;AAChB,MAAM,OAAO,eAAgB,SAAQ,eAAe;IA2ChD;;;SAGK;IACL,YAAmB,UAA8B;QAC7C,KAAK,CAAC,eAAe,CAAC,WAAW,EAAE,kBAAkB,EAAE,UAAU,CAAC,CAAC;QACnE,0BAA0B;QAC1B,IAAI,CAAC,KAAK,GAAG,UAAU,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;QACvC,IAAI,CAAC,KAAK,GAAG,UAAU,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;QACvC,IAAI,CAAC,KAAK,GAAG,UAAU,CAAC,QAAQ,CAAC,IAAI,CAAC,CA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AAI,CAAC,KAAK,CAAC;QACrK,6FAA6F;QAC7F,MAAM,GAAG,GAAY,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,GAAG,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC,CAAC,oDAAoD;QACpM,uBAAuB;QACvB,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QACjB,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QACjB,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,mBAAmB;IACnD,CAAC;;AAhLD,8BAA8B;AACP,2BAAW,GAAU,IAAI,CAAC,CAAC,mBAAmB;AAErE,sBAAsB;AACE,kBAAE,GAAY,IAAI,CAAC,EAAE,CAAC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module OrbitGT\n */\n\n// package orbitgt.spatial.ecrs.projection;\n\ntype int8 = number;\ntype int16 = number;\ntype int32 = number;\ntype float32 = number;\ntype float64 = number;\n\nimport { Coordinate } from \"../../geom/Coordinate\";\nimport { CRS } from \"../CRS\";\nimport { Operation } from \"../Operation\";\nimport { OperationMethod } from \"../OperationMethod\";\nimport { ParameterValueList } from \"../ParameterValueList\";\n\n/**\n * Class ObliqueMercator defines an Oblique Mercator projection (Hotine Variant B).\n *\n * The 'source' CRS is the geographic CRS.\n * The 'target' CRS is the projected CRS.\n *\n * Based on the following document:\n *\n * Coordinate Conversions and Transformations including Formulas\n * Guidance Note Number 7, part 2\n * Revised August 2006\n * Available at: http://www.epsg.org/\n *\n * Formulas: see 1.4.6 (spec v6.13): Oblique Mercator and Hotine Oblique Mercator\n *\n * @version 1.0 May 2008\n */\n/** @internal */\nexport class ObliqueMercator extends OperationMethod {\n /** The code of this method */\n public static readonly METHOD_CODE: int32 = 9815; // Hotine Variant B\n\n /** The value of PI */\n private static readonly PI: float64 = Math.PI;\n\n /** Latitude of the projection center */\n private _latC: float64;\n /** Longitude of the projection center */\n private _lonC: float64;\n /** Azimuth of the initial line passing through the projection center */\n private _aziC: float64;\n /** Angle from the recified grid to the skew (oblique) grid */\n private _gamC: float64;\n /** Scale factor on the initial line of projection */\n private _kC: float64;\n /** False easting at the center of projection */\n private _eC: float64;\n /** False northing at the center of projection */\n private _nC: float64;\n\n /** Forward calculation parameters */\n private _a: float64;\n private _e: float64;\n private _e2: float64;\n private _B: float64;\n private _A: float64;\n private _tO: float64;\n private _D: float64;\n private _F: float64;\n private _H: float64;\n private _G: float64;\n private _gamO: float64;\n private _lonO: float64;\n private _vC: float64;\n private _uC: float64;\n /** Reverse calculation parameters */\n private _rev1: float64;\n private _rev2: float64;\n private _rev3: float64;\n private _rev4: float64;\n\n /**\n * Create a new projection.\n * @param parameters the values of the parameters.\n */\n public constructor(parameters: ParameterValueList) {\n super(ObliqueMercator.METHOD_CODE, \"Oblique Mercator\", parameters);\n /* Store the parameters */\n this._latC = parameters.getValue(8811);\n this._lonC = parameters.getValue(8812);\n this._aziC = parameters.getValue(8813);\n this._gamC = parameters.getValue(8814);\n this._kC = parameters.getValue(8815);\n this._eC = parameters.getValue(8816);\n this._nC = parameters.getValue(8817);\n }\n\n /**\n * Get the sign of a number.\n */\n private static sign(v: float64): float64 {\n return (v < 0.0) ? (-1.0) : (1.0);\n }\n\n /**\n * Get the power of a number (must be able to handle negative 'n' values).\n */\n private static pow(n: float64, e: int32): float64 {\n let p: float64 = 1.0;\n for (let i: number = 0; i < e; i++) p *= n;\n return p;\n }\n\n /**\n * OperationMethod method.\n * @see OperationMethod#initialize\n */\n public override initialize(operation: Operation): void {\n /* Get the ellipsoid */\n const sourceCRS: CRS = operation.getSourceCRS();\n /* Prepare the forward parameters */\n this._a = sourceCRS.getEllipsoid().getA();\n this._e = sourceCRS.getEllipsoid().getE();\n this._e2 = this._e * this._e;\n this._B = Math.sqrt(1.0 + (this._e2 * ObliqueMercator.pow(Math.cos(this._latC), 4) / (1.0 - this._e2)));\n const esinLatC: float64 = this._e * Math.sin(this._latC);\n this._A = this._a * this._B * this._kC * Math.sqrt(1.0 - this._e2) / (1.0 - ObliqueMercator.pow(esinLatC, 2));\n this._tO = Math.tan(ObliqueMercator.PI / 4.0 - this._latC / 2.0) / Math.pow((1.0 - esinLatC) / (1.0 + esinLatC), this._e / 2.0);\n this._D = this._B * Math.sqrt(1.0 - this._e2) / (Math.cos(this._latC) * Math.sqrt(1.0 - ObliqueMercator.pow(esinLatC, 2)));\n const D2: float64 = (this._D < 1.0) ? (1.0) : (this._D * this._D);\n this._F = this._D + Math.sqrt(D2 - 1.0) * ObliqueMercator.sign(this._latC);\n this._H = this._F * Math.pow(this._tO, this._B);\n this._G = (this._F - 1.0 / this._F) / 2.0;\n this._gamO = Math.asin(Math.sin(this._aziC) / this._D);\n // fix for Switzerland CRS 2056 projection error. LER, 19/06/2018\n let w: float64 = this._G * Math.tan(this._gamO);\n if (Math.abs(1.0 - w) < 1.0e-13) w = 1.0; // Math.asin(0.9999999999999999) gives a 1.49e-8 difference from the asin(1.0) value, which leads to a 19 cm projection error\n // this._lonO = lonC-Math.asin(G*Math.tan(gamO))/B;\n this._lonO = this._lonC - Math.asin(w) / this._B;\n // end of fix\n this._vC = 0.0;\n if (Math.abs(this._aziC - 0.5 * ObliqueMercator.PI) < 1.0e-12) this._uC = this._A * (this._lonC - this._lonO); // special case aziC==90 (Hungary, Switzerland)\n else this._uC = (this._A / this._B) * Math.atan(Math.sqrt(D2 - 1.0) / Math.cos(this._aziC)) * ObliqueMercator.sign(this._latC);\n /* Prepare the reverse parameters */\n const e4: float64 = this._e2 * this._e2;\n const e6: float64 = e4 * this._e2;\n const e8: float64 = e4 * e4;\n this._rev1 = (this._e2 / 2.0 + 5.0 * e4 / 24.0 + e6 / 12.0 + 13.0 * e8 / 360.0);\n this._rev2 = (7.0 * e4 / 48.0 + 29.0 * e6 / 240.0 + 811.0 * e8 / 11520.0);\n this._rev3 = (7.0 * e6 / 120.0 + 81.0 * e8 / 1120.0);\n this._rev4 = (4279.0 * e8 / 161280.0);\n }\n\n /**\n * OperationMethod interface method.\n * @see OperationMethod#forward\n */\n public forward(sourceCRS: CRS, source: Coordinate, targetCRS: CRS, target: Coordinate): void {\n /* Get the parameters (radians) */\n const lon: float64 = source.getX();\n const lat: float64 = source.getY();\n /* Make the calculation */\n const esinLat: float64 = this._e * Math.sin(lat);\n const t: float64 = Math.tan(ObliqueMercator.PI / 4.0 - lat / 2.0) / Math.pow((1.0 - esinLat) / (1.0 + esinLat), this._e / 2.0);\n const Q: float64 = this._H / Math.pow(t, this._B);\n const S: float64 = (Q - 1.0 / Q) / 2.0;\n const T: float64 = (Q + 1.0 / Q) / 2.0;\n const V: float64 = Math.sin(this._B * (lon - this._lonO));\n const U: float64 = (-V * Math.cos(this._gamO) + S * Math.sin(this._gamO)) / T;\n const v: float64 = this._A * Math.log((1.0 - U) / (1.0 + U)) / (2.0 * this._B);\n let u: float64;\n if (Math.abs(this._aziC - 0.5 * ObliqueMercator.PI) < 1.0e-12) // aziC==90? new in guidance note 2 version 8.5. LER, 21/09/2016\n {\n if (lon == this._lonC) u = 0.0;\n else u = (this._A * Math.atan((S * Math.cos(this._gamO) + V * Math.sin(this._gamO)) / Math.cos(this._B * (lon - this._lonO))) / this._B) - (Math.abs(this._uC) * ObliqueMercator.sign(this._latC) * ObliqueMercator.sign(this._lonC - lon));\n } else {\n u = (this._A * Math.atan((S * Math.cos(this._gamO) + V * Math.sin(this._gamO)) / Math.cos(this._B * (lon - this._lonO))) / this._B) - (Math.abs(this._uC) * ObliqueMercator.sign(this._latC));\n }\n const sinGamC: float64 = Math.sin(this._gamC);\n const cosGamC: float64 = Math.cos(this._gamC);\n const E: float64 = v * cosGamC + u * sinGamC + this._eC;\n const N: float64 = u * cosGamC - v * sinGamC + this._nC;\n /* Save the position */\n target.setX(E);\n target.setY(N);\n target.setZ(source.getZ()); // Keep the Z value\n }\n\n /**\n * OperationMethod interface method.\n * @see OperationMethod#reverse\n */\n public reverse(sourceCRS: CRS, source: Coordinate, targetCRS: CRS, target: Coordinate): void {\n /* Get the parameters */\n const E: float64 = target.getX();\n const N: float64 = target.getY();\n /* Make the calculation */\n const sinGamC: float64 = Math.sin(this._gamC);\n const cosGamC: float64 = Math.cos(this._gamC);\n const v: float64 = (E - this._eC) * cosGamC - (N - this._nC) * sinGamC;\n const u: float64 = (N - this._nC) * cosGamC + (E - this._eC) * sinGamC + (Math.abs(this._uC) * ObliqueMercator.sign(this._latC));\n const Q: float64 = Math.exp(-this._B * v / this._A);\n const S: float64 = (Q - 1.0 / Q) / 2.0;\n const T: float64 = (Q + 1.0 / Q) / 2.0;\n const V: float64 = Math.sin(this._B * u / this._A);\n const U: float64 = (V * Math.cos(this._gamO) + S * Math.sin(this._gamO)) / T;\n const t: float64 = Math.pow(this._H / Math.sqrt((1.0 + U) / (1.0 - U)), 1.0 / this._B);\n const chi: float64 = ObliqueMercator.PI / 2.0 - 2.0 * Math.atan(t);\n const lat: float64 = chi + Math.sin(2.0 * chi) * this._rev1 + Math.sin(4.0 * chi) * this._rev2 + Math.sin(6.0 * chi) * this._rev3 + Math.sin(8.0 * chi) * this._rev4;\n // double lon = lonO-Math.atan((S*Math.cos(gamO)-V*Math.sin(gamO))/Math.cos(B*u/A))/B;\n const lon: float64 = this._lonO - Math.atan2((S * Math.cos(this._gamO) - V * Math.sin(this._gamO)), Math.cos(this._B * u / this._A)) / this._B; // replaced atan(y/x) by atan2(y,x). LER, 23/05/2017\n /* Save the position */\n source.setX(lon);\n source.setY(lat);\n source.setZ(target.getZ()); // Keep the Z value\n }\n}\n"]}
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
/** @packageDocumentation
|
|
2
|
+
* @module OrbitGT
|
|
3
|
+
*/
|
|
4
|
+
declare type int32 = number;
|
|
5
|
+
declare type float64 = number;
|
|
6
|
+
import { Coordinate } from "../../geom/Coordinate";
|
|
7
|
+
import { CRS } from "../CRS";
|
|
8
|
+
import { Ellipsoid } from "../Ellipsoid";
|
|
9
|
+
import { Operation } from "../Operation";
|
|
10
|
+
import { OperationMethod } from "../OperationMethod";
|
|
11
|
+
import { ParameterValueList } from "../ParameterValueList";
|
|
12
|
+
/**
|
|
13
|
+
* Class ObliqueStereographic defines an Oblique Stereographic projection.
|
|
14
|
+
*
|
|
15
|
+
* The 'source' CRS is the geodetic CRS.
|
|
16
|
+
* The 'target' CRS is the projected CRS.
|
|
17
|
+
*
|
|
18
|
+
* Based on the following document:
|
|
19
|
+
*
|
|
20
|
+
* Coordinate Conversions and Transformations including Formulas
|
|
21
|
+
* Guidance Note Number 7, part 2
|
|
22
|
+
* Revised August 2006
|
|
23
|
+
* Available at: http://www.epsg.org/
|
|
24
|
+
*
|
|
25
|
+
* Formulas: see 1.4.7.1 'Oblique and Equatorial Stereographic cases'
|
|
26
|
+
*
|
|
27
|
+
* @version 1.0 December 2006
|
|
28
|
+
*/
|
|
29
|
+
/** @internal */
|
|
30
|
+
export declare class ObliqueStereographic extends OperationMethod {
|
|
31
|
+
/** The code of this method */
|
|
32
|
+
static readonly METHOD_CODE: int32;
|
|
33
|
+
/** The value of PI */
|
|
34
|
+
private static readonly PI;
|
|
35
|
+
/** Latitude of false origin */
|
|
36
|
+
private _lat0;
|
|
37
|
+
/** Longitude of false origin */
|
|
38
|
+
private _lon0;
|
|
39
|
+
/** Scale factor at natural origin */
|
|
40
|
+
private _k0;
|
|
41
|
+
/** False easting */
|
|
42
|
+
private _fe;
|
|
43
|
+
/** False northing */
|
|
44
|
+
private _fn;
|
|
45
|
+
/** The parameters for the conformal sphere */
|
|
46
|
+
private _e;
|
|
47
|
+
private _e2;
|
|
48
|
+
private _R;
|
|
49
|
+
private _n;
|
|
50
|
+
private _c;
|
|
51
|
+
private _chi0;
|
|
52
|
+
private _lambda0;
|
|
53
|
+
private _g;
|
|
54
|
+
private _h;
|
|
55
|
+
/**
|
|
56
|
+
* Create a new projection.
|
|
57
|
+
* @param parameters the values of the parameters.
|
|
58
|
+
*/
|
|
59
|
+
constructor(parameters: ParameterValueList);
|
|
60
|
+
/**
|
|
61
|
+
* Create a new projection.
|
|
62
|
+
* @param lat0 latitude of natural origin (radians).
|
|
63
|
+
* @param lon0 longitude of natural origin (radians).
|
|
64
|
+
* @param k0 scale factor at natural origin.
|
|
65
|
+
* @param fe false easting.
|
|
66
|
+
* @param fn false northing.
|
|
67
|
+
*/
|
|
68
|
+
static create(lat0: float64, lon0: float64, k0: float64, fe: float64, fn: float64): ObliqueStereographic;
|
|
69
|
+
/**
|
|
70
|
+
* Get the power of a number.
|
|
71
|
+
*/
|
|
72
|
+
private static pow;
|
|
73
|
+
/**
|
|
74
|
+
* Calculate sinus.
|
|
75
|
+
*/
|
|
76
|
+
private static sin;
|
|
77
|
+
/**
|
|
78
|
+
* Calculate cosinus.
|
|
79
|
+
*/
|
|
80
|
+
private static cos;
|
|
81
|
+
/**
|
|
82
|
+
* Calculate tangent.
|
|
83
|
+
*/
|
|
84
|
+
private static tan;
|
|
85
|
+
/**
|
|
86
|
+
* Calculate arcsinus.
|
|
87
|
+
*/
|
|
88
|
+
private static asin;
|
|
89
|
+
/**
|
|
90
|
+
* Calculate arctangent.
|
|
91
|
+
*/
|
|
92
|
+
private static atan;
|
|
93
|
+
/**
|
|
94
|
+
* Calculate log.
|
|
95
|
+
*/
|
|
96
|
+
private static log;
|
|
97
|
+
/**
|
|
98
|
+
* Calculate exp.
|
|
99
|
+
*/
|
|
100
|
+
private static exp;
|
|
101
|
+
/**
|
|
102
|
+
* Initialize the projection.
|
|
103
|
+
* @param ellipsoid the ellipsoid to use.
|
|
104
|
+
* @return this projection (for convenience).
|
|
105
|
+
*/
|
|
106
|
+
initializeProjection(ellipsoid: Ellipsoid): ObliqueStereographic;
|
|
107
|
+
/**
|
|
108
|
+
* OperationMethod method.
|
|
109
|
+
* @see OperationMethod#initialize
|
|
110
|
+
*/
|
|
111
|
+
initialize(operation: Operation): void;
|
|
112
|
+
/**
|
|
113
|
+
* OperationMethod interface method.
|
|
114
|
+
* @see OperationMethod#forward
|
|
115
|
+
*/
|
|
116
|
+
forward(sourceCRS: CRS, source: Coordinate, targetCRS: CRS, target: Coordinate): void;
|
|
117
|
+
/**
|
|
118
|
+
* OperationMethod interface method.
|
|
119
|
+
* @see OperationMethod#reverse
|
|
120
|
+
*/
|
|
121
|
+
reverse(sourceCRS: CRS, source: Coordinate, targetCRS: CRS, target: Coordinate): void;
|
|
122
|
+
}
|
|
123
|
+
export {};
|
|
124
|
+
//# sourceMappingURL=ObliqueStereographic.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ObliqueStereographic.d.ts","sourceRoot":"","sources":["../../../../../src/spatial/ecrs/projection/ObliqueStereographic.ts"],"names":[],"mappings":"AAIA;;GAEG;AAMH,aAAK,KAAK,GAAG,MAAM,CAAC;AAEpB,aAAK,OAAO,GAAG,MAAM,CAAC;AAEtB,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACnD,OAAO,EAAE,GAAG,EAAE,MAAM,QAAQ,CAAC;AAC7B,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAE3D;;;;;;;;;;;;;;;;GAgBG;AACH,gBAAgB;AAChB,qBAAa,oBAAqB,SAAQ,eAAe;IACrD,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AG;IAIlB;;;;SAIK;IACE,oBAAoB,CAAC,SAAS,EAAE,SAAS,GAAG,oBAAoB;IA2BvE;;;SAGK;IACW,UAAU,CAAC,SAAS,EAAE,SAAS,GAAG,IAAI;IAItD;;;SAGK;IACE,OAAO,CAAC,SAAS,EAAE,GAAG,EAAE,MAAM,EAAE,UAAU,EAAE,SAAS,EAAE,GAAG,EAAE,MAAM,EAAE,UAAU,GAAG,IAAI;IAqB5F;;;SAGK;IACE,OAAO,CAAC,SAAS,EAAE,GAAG,EAAE,MAAM,EAAE,UAAU,EAAE,SAAS,EAAE,GAAG,EAAE,MAAM,EAAE,UAAU,GAAG,IAAI;CA2B/F"}
|
|
@@ -0,0 +1,205 @@
|
|
|
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 { OperationMethod } from "../OperationMethod";
|
|
9
|
+
/**
|
|
10
|
+
* Class ObliqueStereographic defines an Oblique Stereographic projection.
|
|
11
|
+
*
|
|
12
|
+
* The 'source' CRS is the geodetic CRS.
|
|
13
|
+
* The 'target' CRS is the projected CRS.
|
|
14
|
+
*
|
|
15
|
+
* Based on the following document:
|
|
16
|
+
*
|
|
17
|
+
* Coordinate Conversions and Transformations including Formulas
|
|
18
|
+
* Guidance Note Number 7, part 2
|
|
19
|
+
* Revised August 2006
|
|
20
|
+
* Available at: http://www.epsg.org/
|
|
21
|
+
*
|
|
22
|
+
* Formulas: see 1.4.7.1 'Oblique and Equatorial Stereographic cases'
|
|
23
|
+
*
|
|
24
|
+
* @version 1.0 December 2006
|
|
25
|
+
*/
|
|
26
|
+
/** @internal */
|
|
27
|
+
export class ObliqueStereographic extends OperationMethod {
|
|
28
|
+
/**
|
|
29
|
+
* Create a new projection.
|
|
30
|
+
* @param parameters the values of the parameters.
|
|
31
|
+
*/
|
|
32
|
+
constructor(parameters) {
|
|
33
|
+
super(ObliqueStereographic.METHOD_CODE, "Oblique Stereographic", parameters);
|
|
34
|
+
/* Store the parameters */
|
|
35
|
+
this._lat0 = (parameters != null) ? parameters.getValue(8801) : 0.0;
|
|
36
|
+
this._lon0 = (parameters != null) ? parameters.getValue(8802) : 0.0;
|
|
37
|
+
this._k0 = (parameters != null) ? parameters.getValue(8805) : 0.0;
|
|
38
|
+
this._fe = (parameters != null) ? parameters.getValue(8806) : 0.0;
|
|
39
|
+
this._fn = (parameters != null) ? parameters.getValue(8807) : 0.0;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* Create a new projection.
|
|
43
|
+
* @param lat0 latitude of natural origin (radians).
|
|
44
|
+
* @param lon0 longitude of natural origin (radians).
|
|
45
|
+
* @param k0 scale factor at natural origin.
|
|
46
|
+
* @param fe false easting.
|
|
47
|
+
* @param fn false northing.
|
|
48
|
+
*/
|
|
49
|
+
static create(lat0, lon0, k0, fe, fn) {
|
|
50
|
+
const projection = new ObliqueStereographic(null);
|
|
51
|
+
projection._lat0 = lat0;
|
|
52
|
+
projection._lon0 = lon0;
|
|
53
|
+
projection._k0 = k0;
|
|
54
|
+
projection._fe = fe;
|
|
55
|
+
projection._fn = fn;
|
|
56
|
+
return projection;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Get the power of a number.
|
|
60
|
+
*/
|
|
61
|
+
static pow(n, e) {
|
|
62
|
+
return Math.exp(e * Math.log(n));
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Calculate sinus.
|
|
66
|
+
*/
|
|
67
|
+
static sin(a) {
|
|
68
|
+
return Math.sin(a);
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* Calculate cosinus.
|
|
72
|
+
*/
|
|
73
|
+
static cos(a) {
|
|
74
|
+
return Math.cos(a);
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* Calculate tangent.
|
|
78
|
+
*/
|
|
79
|
+
static tan(a) {
|
|
80
|
+
return Math.tan(a);
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* Calculate arcsinus.
|
|
84
|
+
*/
|
|
85
|
+
static asin(v) {
|
|
86
|
+
return Math.asin(v);
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* Calculate arctangent.
|
|
90
|
+
*/
|
|
91
|
+
static atan(v) {
|
|
92
|
+
return Math.atan(v);
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* Calculate log.
|
|
96
|
+
*/
|
|
97
|
+
static log(v) {
|
|
98
|
+
return Math.log(v);
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* Calculate exp.
|
|
102
|
+
*/
|
|
103
|
+
static exp(v) {
|
|
104
|
+
return Math.exp(v);
|
|
105
|
+
}
|
|
106
|
+
/**
|
|
107
|
+
* Initialize the projection.
|
|
108
|
+
* @param ellipsoid the ellipsoid to use.
|
|
109
|
+
* @return this projection (for convenience).
|
|
110
|
+
*/
|
|
111
|
+
initializeProjection(ellipsoid) {
|
|
112
|
+
/* Get the ellipsoid parameters */
|
|
113
|
+
const a = ellipsoid.getA();
|
|
114
|
+
this._e = ellipsoid.getE();
|
|
115
|
+
/* Calculate conformat latitude (chi0) and longitude (lambda0) */
|
|
116
|
+
this._e2 = this._e * this._e;
|
|
117
|
+
const sinLat0 = ObliqueStereographic.sin(this._lat0);
|
|
118
|
+
const t0 = 1.0 - this._e2 * sinLat0 * sinLat0;
|
|
119
|
+
const rho0 = a * (1 - this._e2) / ObliqueStereographic.pow(t0, 1.5);
|
|
120
|
+
const nu0 = a / ObliqueStereographic.pow(t0, 0.5);
|
|
121
|
+
this._R = ObliqueStereographic.pow(rho0 * nu0, 0.5);
|
|
122
|
+
this._n = ObliqueStereographic.pow(1.0 + (this._e2 * ObliqueStereographic.pow(ObliqueStereographic.cos(this._lat0), 4)) / (1.0 - this._e2), 0.5);
|
|
123
|
+
const S1 = (1.0 + sinLat0) / (1.0 - sinLat0);
|
|
124
|
+
const S2 = (1.0 - this._e * sinLat0) / (1.0 + this._e * sinLat0);
|
|
125
|
+
const w1 = ObliqueStereographic.pow(S1 * ObliqueStereographic.pow(S2, this._e), this._n);
|
|
126
|
+
const sinChi0 = (w1 - 1.0) / (w1 + 1.0);
|
|
127
|
+
this._c = (this._n + sinLat0) * (1.0 - sinChi0) / ((this._n - sinLat0) * (1.0 + sinChi0));
|
|
128
|
+
const w2 = this._c * w1;
|
|
129
|
+
this._chi0 = ObliqueStereographic.asin((w2 - 1.0) / (w2 + 1.0));
|
|
130
|
+
this._lambda0 = this._lon0;
|
|
131
|
+
/* For reverse calculation */
|
|
132
|
+
this._g = 2.0 * this._R * this._k0 * ObliqueStereographic.tan(ObliqueStereographic.PI / 4.0 - this._chi0 / 2.0);
|
|
133
|
+
this._h = 4.0 * this._R * this._k0 * ObliqueStereographic.tan(this._chi0) + this._g;
|
|
134
|
+
/* Return the projection */
|
|
135
|
+
return this;
|
|
136
|
+
}
|
|
137
|
+
/**
|
|
138
|
+
* OperationMethod method.
|
|
139
|
+
* @see OperationMethod#initialize
|
|
140
|
+
*/
|
|
141
|
+
initialize(operation) {
|
|
142
|
+
this.initializeProjection(operation.getSourceCRS().getEllipsoid());
|
|
143
|
+
}
|
|
144
|
+
/**
|
|
145
|
+
* OperationMethod interface method.
|
|
146
|
+
* @see OperationMethod#forward
|
|
147
|
+
*/
|
|
148
|
+
forward(sourceCRS, source, targetCRS, target) {
|
|
149
|
+
/* Get the parameters */
|
|
150
|
+
const lon = source.getX();
|
|
151
|
+
const lat = source.getY();
|
|
152
|
+
const sinLat = ObliqueStereographic.sin(lat);
|
|
153
|
+
/* Calculate conformal latitude and longitude */
|
|
154
|
+
const lambda = this._n * (lon - this._lambda0) + this._lambda0;
|
|
155
|
+
const Sa = (1.0 + sinLat) / (1.0 - sinLat);
|
|
156
|
+
const Sb = (1.0 - this._e * sinLat) / (1.0 + this._e * sinLat);
|
|
157
|
+
const w = this._c * ObliqueStereographic.pow(Sa * ObliqueStereographic.pow(Sb, this._e), this._n);
|
|
158
|
+
const chi = ObliqueStereographic.asin((w - 1.0) / (w + 1.0));
|
|
159
|
+
/* Calculate easting and northing */
|
|
160
|
+
const B = 1.0 + ObliqueStereographic.sin(chi) * ObliqueStereographic.sin(this._chi0) + ObliqueStereographic.cos(chi) * ObliqueStereographic.cos(this._chi0) * ObliqueStereographic.cos(lambda - this._lambda0);
|
|
161
|
+
const E = this._fe + 2.0 * this._R * this._k0 * ObliqueStereographic.cos(chi) * ObliqueStereographic.sin(lambda - this._lambda0) / B;
|
|
162
|
+
const N = this._fn + 2.0 * this._R * this._k0 * (ObliqueStereographic.sin(chi) * ObliqueStereographic.cos(this._chi0) - ObliqueStereographic.cos(chi) * ObliqueStereographic.sin(this._chi0) * ObliqueStereographic.cos(lambda - this._lambda0)) / B;
|
|
163
|
+
/* Save the position */
|
|
164
|
+
target.setX(E);
|
|
165
|
+
target.setY(N);
|
|
166
|
+
target.setZ(source.getZ()); // Keep the Z value
|
|
167
|
+
}
|
|
168
|
+
/**
|
|
169
|
+
* OperationMethod interface method.
|
|
170
|
+
* @see OperationMethod#reverse
|
|
171
|
+
*/
|
|
172
|
+
reverse(sourceCRS, source, targetCRS, target) {
|
|
173
|
+
/* Get the parameters */
|
|
174
|
+
const E = target.getX() - this._fe;
|
|
175
|
+
const N = target.getY() - this._fn;
|
|
176
|
+
/* Calculate conformal latitude and longitude */
|
|
177
|
+
const i = ObliqueStereographic.atan(E / (this._h + N));
|
|
178
|
+
const j = ObliqueStereographic.atan(E / (this._g - N)) - i;
|
|
179
|
+
const chi = this._chi0 + 2.0 * ObliqueStereographic.atan((N - E * ObliqueStereographic.tan(j / 2.0)) / (2.0 * this._R * this._k0));
|
|
180
|
+
const lambda = j + 2.0 * i + this._lambda0;
|
|
181
|
+
const lon = (lambda - this._lambda0) / this._n + this._lambda0;
|
|
182
|
+
/* Iterate to get isometric (psi) and geodetic (phi) latitude */
|
|
183
|
+
const sinChi = ObliqueStereographic.sin(chi);
|
|
184
|
+
const psi = 0.5 * ObliqueStereographic.log((1.0 + sinChi) / (this._c * (1.0 - sinChi))) / this._n;
|
|
185
|
+
let phiK = 2.0 * ObliqueStereographic.atan(ObliqueStereographic.exp(psi)) - ObliqueStereographic.PI / 2.0;
|
|
186
|
+
for (let k = 1; k < 8; k++) {
|
|
187
|
+
const esinPhi = this._e * ObliqueStereographic.sin(phiK);
|
|
188
|
+
const psiK = ObliqueStereographic.log(ObliqueStereographic.tan(phiK / 2.0 + ObliqueStereographic.PI / 4.0) * ObliqueStereographic.pow((1.0 - esinPhi) / (1.0 + esinPhi), this._e / 2.0));
|
|
189
|
+
const phiNextK = phiK - (psiK - psi) * ObliqueStereographic.cos(phiK) * (1.0 - esinPhi * esinPhi) / (1.0 - this._e2);
|
|
190
|
+
const change = Math.abs(phiNextK - phiK);
|
|
191
|
+
phiK = phiNextK;
|
|
192
|
+
if (change < 1.0e-12)
|
|
193
|
+
break; // normally after 4 iterations
|
|
194
|
+
}
|
|
195
|
+
/* Save the position */
|
|
196
|
+
source.setX(lon);
|
|
197
|
+
source.setY(phiK);
|
|
198
|
+
source.setZ(target.getZ()); // Keep the Z value
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
/** The code of this method */
|
|
202
|
+
ObliqueStereographic.METHOD_CODE = 9809;
|
|
203
|
+
/** The value of PI */
|
|
204
|
+
ObliqueStereographic.PI = Math.PI;
|
|
205
|
+
//# sourceMappingURL=ObliqueStereographic.js.map
|