@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.
Files changed (1021) hide show
  1. package/lib/{core-orbitgt.d.ts → cjs/core-orbitgt.d.ts} +0 -0
  2. package/lib/cjs/core-orbitgt.d.ts.map +1 -0
  3. package/lib/{core-orbitgt.js → cjs/core-orbitgt.js} +0 -0
  4. package/lib/cjs/core-orbitgt.js.map +1 -0
  5. package/lib/{pointcloud → cjs/pointcloud}/format/opc/AttributeMask.d.ts +0 -0
  6. package/lib/cjs/pointcloud/format/opc/AttributeMask.d.ts.map +1 -0
  7. package/lib/{pointcloud → cjs/pointcloud}/format/opc/AttributeMask.js +0 -0
  8. package/lib/cjs/pointcloud/format/opc/AttributeMask.js.map +1 -0
  9. package/lib/{pointcloud → cjs/pointcloud}/format/opc/AttributeReader.d.ts +0 -0
  10. package/lib/cjs/pointcloud/format/opc/AttributeReader.d.ts.map +1 -0
  11. package/lib/{pointcloud → cjs/pointcloud}/format/opc/AttributeReader.js +0 -0
  12. package/lib/cjs/pointcloud/format/opc/AttributeReader.js.map +1 -0
  13. package/lib/{pointcloud → cjs/pointcloud}/format/opc/BlockRecord.d.ts +0 -0
  14. package/lib/cjs/pointcloud/format/opc/BlockRecord.d.ts.map +1 -0
  15. package/lib/{pointcloud → cjs/pointcloud}/format/opc/BlockRecord.js +0 -0
  16. package/lib/cjs/pointcloud/format/opc/BlockRecord.js.map +1 -0
  17. package/lib/{pointcloud → cjs/pointcloud}/format/opc/ContainerFile.d.ts +0 -0
  18. package/lib/cjs/pointcloud/format/opc/ContainerFile.d.ts.map +1 -0
  19. package/lib/{pointcloud → cjs/pointcloud}/format/opc/ContainerFile.js +0 -0
  20. package/lib/cjs/pointcloud/format/opc/ContainerFile.js.map +1 -0
  21. package/lib/{pointcloud → cjs/pointcloud}/format/opc/ContainerFilePart.d.ts +0 -0
  22. package/lib/cjs/pointcloud/format/opc/ContainerFilePart.d.ts.map +1 -0
  23. package/lib/{pointcloud → cjs/pointcloud}/format/opc/ContainerFilePart.js +0 -0
  24. package/lib/cjs/pointcloud/format/opc/ContainerFilePart.js.map +1 -0
  25. package/lib/{pointcloud → cjs/pointcloud}/format/opc/DirectoryReader.d.ts +0 -0
  26. package/lib/cjs/pointcloud/format/opc/DirectoryReader.d.ts.map +1 -0
  27. package/lib/{pointcloud → cjs/pointcloud}/format/opc/DirectoryReader.js +0 -0
  28. package/lib/cjs/pointcloud/format/opc/DirectoryReader.js.map +1 -0
  29. package/lib/{pointcloud → cjs/pointcloud}/format/opc/DirectoryRecord.d.ts +0 -0
  30. package/lib/cjs/pointcloud/format/opc/DirectoryRecord.d.ts.map +1 -0
  31. package/lib/{pointcloud → cjs/pointcloud}/format/opc/DirectoryRecord.js +0 -0
  32. package/lib/cjs/pointcloud/format/opc/DirectoryRecord.js.map +1 -0
  33. package/lib/{pointcloud → cjs/pointcloud}/format/opc/EmbeddedAttributeReader.d.ts +0 -0
  34. package/lib/cjs/pointcloud/format/opc/EmbeddedAttributeReader.d.ts.map +1 -0
  35. package/lib/{pointcloud → cjs/pointcloud}/format/opc/EmbeddedAttributeReader.js +0 -0
  36. package/lib/cjs/pointcloud/format/opc/EmbeddedAttributeReader.js.map +1 -0
  37. package/lib/{pointcloud → cjs/pointcloud}/format/opc/FileAccess.d.ts +0 -0
  38. package/lib/cjs/pointcloud/format/opc/FileAccess.d.ts.map +1 -0
  39. package/lib/{pointcloud → cjs/pointcloud}/format/opc/FileAccess.js +0 -0
  40. package/lib/cjs/pointcloud/format/opc/FileAccess.js.map +1 -0
  41. package/lib/{pointcloud → cjs/pointcloud}/format/opc/FileReader.d.ts +0 -0
  42. package/lib/cjs/pointcloud/format/opc/FileReader.d.ts.map +1 -0
  43. package/lib/{pointcloud → cjs/pointcloud}/format/opc/FileReader.js +0 -0
  44. package/lib/cjs/pointcloud/format/opc/FileReader.js.map +1 -0
  45. package/lib/{pointcloud → cjs/pointcloud}/format/opc/FileRecord.d.ts +0 -0
  46. package/lib/cjs/pointcloud/format/opc/FileRecord.d.ts.map +1 -0
  47. package/lib/{pointcloud → cjs/pointcloud}/format/opc/FileRecord.js +0 -0
  48. package/lib/cjs/pointcloud/format/opc/FileRecord.js.map +1 -0
  49. package/lib/{pointcloud → cjs/pointcloud}/format/opc/GeometryReader.d.ts +0 -0
  50. package/lib/cjs/pointcloud/format/opc/GeometryReader.d.ts.map +1 -0
  51. package/lib/{pointcloud → cjs/pointcloud}/format/opc/GeometryReader.js +0 -0
  52. package/lib/cjs/pointcloud/format/opc/GeometryReader.js.map +1 -0
  53. package/lib/{pointcloud → cjs/pointcloud}/format/opc/GeometryRecord.d.ts +0 -0
  54. package/lib/cjs/pointcloud/format/opc/GeometryRecord.d.ts.map +1 -0
  55. package/lib/{pointcloud → cjs/pointcloud}/format/opc/GeometryRecord.js +0 -0
  56. package/lib/cjs/pointcloud/format/opc/GeometryRecord.js.map +1 -0
  57. package/lib/{pointcloud → cjs/pointcloud}/format/opc/OPCReader.d.ts +0 -0
  58. package/lib/cjs/pointcloud/format/opc/OPCReader.d.ts.map +1 -0
  59. package/lib/{pointcloud → cjs/pointcloud}/format/opc/OPCReader.js +0 -0
  60. package/lib/cjs/pointcloud/format/opc/OPCReader.js.map +1 -0
  61. package/lib/{pointcloud → cjs/pointcloud}/format/opc/PointReader.d.ts +0 -0
  62. package/lib/cjs/pointcloud/format/opc/PointReader.d.ts.map +1 -0
  63. package/lib/{pointcloud → cjs/pointcloud}/format/opc/PointReader.js +0 -0
  64. package/lib/cjs/pointcloud/format/opc/PointReader.js.map +1 -0
  65. package/lib/{pointcloud → cjs/pointcloud}/format/opc/TileReadBuffer.d.ts +0 -0
  66. package/lib/cjs/pointcloud/format/opc/TileReadBuffer.d.ts.map +1 -0
  67. package/lib/{pointcloud → cjs/pointcloud}/format/opc/TileReadBuffer.js +0 -0
  68. package/lib/cjs/pointcloud/format/opc/TileReadBuffer.js.map +1 -0
  69. package/lib/{pointcloud → cjs/pointcloud}/format/opc/TileRecord.d.ts +0 -0
  70. package/lib/cjs/pointcloud/format/opc/TileRecord.d.ts.map +1 -0
  71. package/lib/{pointcloud → cjs/pointcloud}/format/opc/TileRecord.js +0 -0
  72. package/lib/cjs/pointcloud/format/opc/TileRecord.js.map +1 -0
  73. package/lib/{pointcloud → cjs/pointcloud}/model/AttributeTypes.d.ts +0 -0
  74. package/lib/cjs/pointcloud/model/AttributeTypes.d.ts.map +1 -0
  75. package/lib/{pointcloud → cjs/pointcloud}/model/AttributeTypes.js +0 -0
  76. package/lib/cjs/pointcloud/model/AttributeTypes.js.map +1 -0
  77. package/lib/{pointcloud → cjs/pointcloud}/model/AttributeValue.d.ts +0 -0
  78. package/lib/cjs/pointcloud/model/AttributeValue.d.ts.map +1 -0
  79. package/lib/{pointcloud → cjs/pointcloud}/model/AttributeValue.js +0 -0
  80. package/lib/cjs/pointcloud/model/AttributeValue.js.map +1 -0
  81. package/lib/{pointcloud → cjs/pointcloud}/model/BlockIndex.d.ts +0 -0
  82. package/lib/cjs/pointcloud/model/BlockIndex.d.ts.map +1 -0
  83. package/lib/{pointcloud → cjs/pointcloud}/model/BlockIndex.js +0 -0
  84. package/lib/cjs/pointcloud/model/BlockIndex.js.map +1 -0
  85. package/lib/{pointcloud → cjs/pointcloud}/model/CloudPoint.d.ts +0 -0
  86. package/lib/cjs/pointcloud/model/CloudPoint.d.ts.map +1 -0
  87. package/lib/{pointcloud → cjs/pointcloud}/model/CloudPoint.js +0 -0
  88. package/lib/cjs/pointcloud/model/CloudPoint.js.map +1 -0
  89. package/lib/{pointcloud → cjs/pointcloud}/model/Grid.d.ts +0 -0
  90. package/lib/cjs/pointcloud/model/Grid.d.ts.map +1 -0
  91. package/lib/{pointcloud → cjs/pointcloud}/model/Grid.js +0 -0
  92. package/lib/cjs/pointcloud/model/Grid.js.map +1 -0
  93. package/lib/{pointcloud → cjs/pointcloud}/model/GridIndex.d.ts +0 -0
  94. package/lib/cjs/pointcloud/model/GridIndex.d.ts.map +1 -0
  95. package/lib/{pointcloud → cjs/pointcloud}/model/GridIndex.js +0 -0
  96. package/lib/cjs/pointcloud/model/GridIndex.js.map +1 -0
  97. package/lib/{pointcloud → cjs/pointcloud}/model/PointAttribute.d.ts +0 -0
  98. package/lib/cjs/pointcloud/model/PointAttribute.d.ts.map +1 -0
  99. package/lib/{pointcloud → cjs/pointcloud}/model/PointAttribute.js +0 -0
  100. package/lib/cjs/pointcloud/model/PointAttribute.js.map +1 -0
  101. package/lib/{pointcloud → cjs/pointcloud}/model/PointCloudReader.d.ts +0 -0
  102. package/lib/cjs/pointcloud/model/PointCloudReader.d.ts.map +1 -0
  103. package/lib/{pointcloud → cjs/pointcloud}/model/PointCloudReader.js +0 -0
  104. package/lib/cjs/pointcloud/model/PointCloudReader.js.map +1 -0
  105. package/lib/{pointcloud → cjs/pointcloud}/model/PointData.d.ts +0 -0
  106. package/lib/cjs/pointcloud/model/PointData.d.ts.map +1 -0
  107. package/lib/{pointcloud → cjs/pointcloud}/model/PointData.js +0 -0
  108. package/lib/cjs/pointcloud/model/PointData.js.map +1 -0
  109. package/lib/{pointcloud → cjs/pointcloud}/model/PointDataRaw.d.ts +0 -0
  110. package/lib/cjs/pointcloud/model/PointDataRaw.d.ts.map +1 -0
  111. package/lib/{pointcloud → cjs/pointcloud}/model/PointDataRaw.js +0 -0
  112. package/lib/cjs/pointcloud/model/PointDataRaw.js.map +1 -0
  113. package/lib/{pointcloud → cjs/pointcloud}/model/ReadRequest.d.ts +0 -0
  114. package/lib/cjs/pointcloud/model/ReadRequest.d.ts.map +1 -0
  115. package/lib/{pointcloud → cjs/pointcloud}/model/ReadRequest.js +0 -0
  116. package/lib/cjs/pointcloud/model/ReadRequest.js.map +1 -0
  117. package/lib/{pointcloud → cjs/pointcloud}/model/StandardAttributes.d.ts +0 -0
  118. package/lib/cjs/pointcloud/model/StandardAttributes.d.ts.map +1 -0
  119. package/lib/{pointcloud → cjs/pointcloud}/model/StandardAttributes.js +0 -0
  120. package/lib/cjs/pointcloud/model/StandardAttributes.js.map +1 -0
  121. package/lib/{pointcloud → cjs/pointcloud}/model/TileIndex.d.ts +0 -0
  122. package/lib/cjs/pointcloud/model/TileIndex.d.ts.map +1 -0
  123. package/lib/{pointcloud → cjs/pointcloud}/model/TileIndex.js +0 -0
  124. package/lib/cjs/pointcloud/model/TileIndex.js.map +1 -0
  125. package/lib/{pointcloud → cjs/pointcloud}/render/AViewRequest.d.ts +0 -0
  126. package/lib/cjs/pointcloud/render/AViewRequest.d.ts.map +1 -0
  127. package/lib/{pointcloud → cjs/pointcloud}/render/AViewRequest.js +0 -0
  128. package/lib/cjs/pointcloud/render/AViewRequest.js.map +1 -0
  129. package/lib/{pointcloud → cjs/pointcloud}/render/Block.d.ts +0 -0
  130. package/lib/cjs/pointcloud/render/Block.d.ts.map +1 -0
  131. package/lib/{pointcloud → cjs/pointcloud}/render/Block.js +0 -0
  132. package/lib/cjs/pointcloud/render/Block.js.map +1 -0
  133. package/lib/{pointcloud → cjs/pointcloud}/render/DataManager.d.ts +0 -0
  134. package/lib/cjs/pointcloud/render/DataManager.d.ts.map +1 -0
  135. package/lib/{pointcloud → cjs/pointcloud}/render/DataManager.js +0 -0
  136. package/lib/cjs/pointcloud/render/DataManager.js.map +1 -0
  137. package/lib/{pointcloud → cjs/pointcloud}/render/FrameData.d.ts +0 -0
  138. package/lib/cjs/pointcloud/render/FrameData.d.ts.map +1 -0
  139. package/lib/{pointcloud → cjs/pointcloud}/render/FrameData.js +0 -0
  140. package/lib/cjs/pointcloud/render/FrameData.js.map +1 -0
  141. package/lib/{pointcloud → cjs/pointcloud}/render/Level.d.ts +0 -0
  142. package/lib/cjs/pointcloud/render/Level.d.ts.map +1 -0
  143. package/lib/{pointcloud → cjs/pointcloud}/render/Level.js +0 -0
  144. package/lib/cjs/pointcloud/render/Level.js.map +1 -0
  145. package/lib/{pointcloud → cjs/pointcloud}/render/TileLoadSorter.d.ts +0 -0
  146. package/lib/cjs/pointcloud/render/TileLoadSorter.d.ts.map +1 -0
  147. package/lib/{pointcloud → cjs/pointcloud}/render/TileLoadSorter.js +0 -0
  148. package/lib/cjs/pointcloud/render/TileLoadSorter.js.map +1 -0
  149. package/lib/{pointcloud → cjs/pointcloud}/render/ViewTree.d.ts +0 -0
  150. package/lib/cjs/pointcloud/render/ViewTree.d.ts.map +1 -0
  151. package/lib/{pointcloud → cjs/pointcloud}/render/ViewTree.js +0 -0
  152. package/lib/cjs/pointcloud/render/ViewTree.js.map +1 -0
  153. package/lib/{spatial → cjs/spatial}/crs/CRSEngine.d.ts +0 -0
  154. package/lib/cjs/spatial/crs/CRSEngine.d.ts.map +1 -0
  155. package/lib/{spatial → cjs/spatial}/crs/CRSEngine.js +0 -0
  156. package/lib/cjs/spatial/crs/CRSEngine.js.map +1 -0
  157. package/lib/{spatial → cjs/spatial}/crs/CRSManager.d.ts +0 -0
  158. package/lib/cjs/spatial/crs/CRSManager.d.ts.map +1 -0
  159. package/lib/{spatial → cjs/spatial}/crs/CRSManager.js +0 -0
  160. package/lib/cjs/spatial/crs/CRSManager.js.map +1 -0
  161. package/lib/{spatial → cjs/spatial}/ecrs/Axis.d.ts +0 -0
  162. package/lib/cjs/spatial/ecrs/Axis.d.ts.map +1 -0
  163. package/lib/{spatial → cjs/spatial}/ecrs/Axis.js +0 -0
  164. package/lib/cjs/spatial/ecrs/Axis.js.map +1 -0
  165. package/lib/{spatial → cjs/spatial}/ecrs/CRS.d.ts +0 -0
  166. package/lib/cjs/spatial/ecrs/CRS.d.ts.map +1 -0
  167. package/lib/{spatial → cjs/spatial}/ecrs/CRS.js +0 -0
  168. package/lib/cjs/spatial/ecrs/CRS.js.map +1 -0
  169. package/lib/{spatial → cjs/spatial}/ecrs/CoordinateSystem.d.ts +0 -0
  170. package/lib/cjs/spatial/ecrs/CoordinateSystem.d.ts.map +1 -0
  171. package/lib/{spatial → cjs/spatial}/ecrs/CoordinateSystem.js +0 -0
  172. package/lib/cjs/spatial/ecrs/CoordinateSystem.js.map +1 -0
  173. package/lib/{spatial → cjs/spatial}/ecrs/DataFileUnit.d.ts +0 -0
  174. package/lib/cjs/spatial/ecrs/DataFileUnit.d.ts.map +1 -0
  175. package/lib/{spatial → cjs/spatial}/ecrs/DataFileUnit.js +0 -0
  176. package/lib/cjs/spatial/ecrs/DataFileUnit.js.map +1 -0
  177. package/lib/{spatial → cjs/spatial}/ecrs/Datum.d.ts +0 -0
  178. package/lib/cjs/spatial/ecrs/Datum.d.ts.map +1 -0
  179. package/lib/{spatial → cjs/spatial}/ecrs/Datum.js +0 -0
  180. package/lib/cjs/spatial/ecrs/Datum.js.map +1 -0
  181. package/lib/{spatial → cjs/spatial}/ecrs/Ellipsoid.d.ts +0 -0
  182. package/lib/cjs/spatial/ecrs/Ellipsoid.d.ts.map +1 -0
  183. package/lib/{spatial → cjs/spatial}/ecrs/Ellipsoid.js +0 -0
  184. package/lib/cjs/spatial/ecrs/Ellipsoid.js.map +1 -0
  185. package/lib/{spatial → cjs/spatial}/ecrs/OnlineEngine.d.ts +0 -0
  186. package/lib/cjs/spatial/ecrs/OnlineEngine.d.ts.map +1 -0
  187. package/lib/{spatial → cjs/spatial}/ecrs/OnlineEngine.js +0 -0
  188. package/lib/cjs/spatial/ecrs/OnlineEngine.js.map +1 -0
  189. package/lib/{spatial → cjs/spatial}/ecrs/OnlineRegistry.d.ts +0 -0
  190. package/lib/cjs/spatial/ecrs/OnlineRegistry.d.ts.map +1 -0
  191. package/lib/{spatial → cjs/spatial}/ecrs/OnlineRegistry.js +0 -0
  192. package/lib/cjs/spatial/ecrs/OnlineRegistry.js.map +1 -0
  193. package/lib/{spatial → cjs/spatial}/ecrs/Operation.d.ts +0 -0
  194. package/lib/cjs/spatial/ecrs/Operation.d.ts.map +1 -0
  195. package/lib/{spatial → cjs/spatial}/ecrs/Operation.js +0 -0
  196. package/lib/cjs/spatial/ecrs/Operation.js.map +1 -0
  197. package/lib/{spatial → cjs/spatial}/ecrs/OperationMethod.d.ts +0 -0
  198. package/lib/cjs/spatial/ecrs/OperationMethod.d.ts.map +1 -0
  199. package/lib/{spatial → cjs/spatial}/ecrs/OperationMethod.js +0 -0
  200. package/lib/cjs/spatial/ecrs/OperationMethod.js.map +1 -0
  201. package/lib/{spatial → cjs/spatial}/ecrs/ParameterValue.d.ts +0 -0
  202. package/lib/cjs/spatial/ecrs/ParameterValue.d.ts.map +1 -0
  203. package/lib/{spatial → cjs/spatial}/ecrs/ParameterValue.js +0 -0
  204. package/lib/cjs/spatial/ecrs/ParameterValue.js.map +1 -0
  205. package/lib/{spatial → cjs/spatial}/ecrs/ParameterValueList.d.ts +0 -0
  206. package/lib/cjs/spatial/ecrs/ParameterValueList.d.ts.map +1 -0
  207. package/lib/{spatial → cjs/spatial}/ecrs/ParameterValueList.js +0 -0
  208. package/lib/cjs/spatial/ecrs/ParameterValueList.js.map +1 -0
  209. package/lib/{spatial → cjs/spatial}/ecrs/PrimeMeridian.d.ts +0 -0
  210. package/lib/cjs/spatial/ecrs/PrimeMeridian.d.ts.map +1 -0
  211. package/lib/{spatial → cjs/spatial}/ecrs/PrimeMeridian.js +0 -0
  212. package/lib/cjs/spatial/ecrs/PrimeMeridian.js.map +1 -0
  213. package/lib/{spatial → cjs/spatial}/ecrs/Registry.d.ts +0 -0
  214. package/lib/cjs/spatial/ecrs/Registry.d.ts.map +1 -0
  215. package/lib/{spatial → cjs/spatial}/ecrs/Registry.js +0 -0
  216. package/lib/cjs/spatial/ecrs/Registry.js.map +1 -0
  217. package/lib/{spatial → cjs/spatial}/ecrs/Transform.d.ts +0 -0
  218. package/lib/cjs/spatial/ecrs/Transform.d.ts.map +1 -0
  219. package/lib/{spatial → cjs/spatial}/ecrs/Transform.js +0 -0
  220. package/lib/cjs/spatial/ecrs/Transform.js.map +1 -0
  221. package/lib/{spatial → cjs/spatial}/ecrs/Unit.d.ts +0 -0
  222. package/lib/cjs/spatial/ecrs/Unit.d.ts.map +1 -0
  223. package/lib/{spatial → cjs/spatial}/ecrs/Unit.js +0 -0
  224. package/lib/cjs/spatial/ecrs/Unit.js.map +1 -0
  225. package/lib/{spatial → cjs/spatial}/ecrs/VerticalModel.d.ts +0 -0
  226. package/lib/cjs/spatial/ecrs/VerticalModel.d.ts.map +1 -0
  227. package/lib/{spatial → cjs/spatial}/ecrs/VerticalModel.js +0 -0
  228. package/lib/cjs/spatial/ecrs/VerticalModel.js.map +1 -0
  229. package/lib/{spatial → cjs/spatial}/ecrs/WellKnownText.d.ts +0 -0
  230. package/lib/cjs/spatial/ecrs/WellKnownText.d.ts.map +1 -0
  231. package/lib/{spatial → cjs/spatial}/ecrs/WellKnownText.js +0 -0
  232. package/lib/cjs/spatial/ecrs/WellKnownText.js.map +1 -0
  233. package/lib/{spatial → cjs/spatial}/ecrs/WellKnownTextNode.d.ts +0 -0
  234. package/lib/cjs/spatial/ecrs/WellKnownTextNode.d.ts.map +1 -0
  235. package/lib/{spatial → cjs/spatial}/ecrs/WellKnownTextNode.js +0 -0
  236. package/lib/cjs/spatial/ecrs/WellKnownTextNode.js.map +1 -0
  237. package/lib/{spatial → cjs/spatial}/ecrs/projection/HotineObliqueMercator.d.ts +0 -0
  238. package/lib/cjs/spatial/ecrs/projection/HotineObliqueMercator.d.ts.map +1 -0
  239. package/lib/{spatial → cjs/spatial}/ecrs/projection/HotineObliqueMercator.js +0 -0
  240. package/lib/cjs/spatial/ecrs/projection/HotineObliqueMercator.js.map +1 -0
  241. package/lib/{spatial → cjs/spatial}/ecrs/projection/KrovakObliqueConformalConic.d.ts +0 -0
  242. package/lib/cjs/spatial/ecrs/projection/KrovakObliqueConformalConic.d.ts.map +1 -0
  243. package/lib/{spatial → cjs/spatial}/ecrs/projection/KrovakObliqueConformalConic.js +0 -0
  244. package/lib/cjs/spatial/ecrs/projection/KrovakObliqueConformalConic.js.map +1 -0
  245. package/lib/{spatial → cjs/spatial}/ecrs/projection/KrovakObliqueConformalConicEN.d.ts +0 -0
  246. package/lib/cjs/spatial/ecrs/projection/KrovakObliqueConformalConicEN.d.ts.map +1 -0
  247. package/lib/{spatial → cjs/spatial}/ecrs/projection/KrovakObliqueConformalConicEN.js +0 -0
  248. package/lib/cjs/spatial/ecrs/projection/KrovakObliqueConformalConicEN.js.map +1 -0
  249. package/lib/{spatial → cjs/spatial}/ecrs/projection/LambertConical1SP.d.ts +0 -0
  250. package/lib/cjs/spatial/ecrs/projection/LambertConical1SP.d.ts.map +1 -0
  251. package/lib/{spatial → cjs/spatial}/ecrs/projection/LambertConical1SP.js +0 -0
  252. package/lib/cjs/spatial/ecrs/projection/LambertConical1SP.js.map +1 -0
  253. package/lib/{spatial → cjs/spatial}/ecrs/projection/LambertConical2SP.d.ts +0 -0
  254. package/lib/cjs/spatial/ecrs/projection/LambertConical2SP.d.ts.map +1 -0
  255. package/lib/{spatial → cjs/spatial}/ecrs/projection/LambertConical2SP.js +0 -0
  256. package/lib/cjs/spatial/ecrs/projection/LambertConical2SP.js.map +1 -0
  257. package/lib/{spatial → cjs/spatial}/ecrs/projection/Mercator1SP.d.ts +0 -0
  258. package/lib/cjs/spatial/ecrs/projection/Mercator1SP.d.ts.map +1 -0
  259. package/lib/{spatial → cjs/spatial}/ecrs/projection/Mercator1SP.js +0 -0
  260. package/lib/cjs/spatial/ecrs/projection/Mercator1SP.js.map +1 -0
  261. package/lib/{spatial → cjs/spatial}/ecrs/projection/ObliqueMercator.d.ts +0 -0
  262. package/lib/cjs/spatial/ecrs/projection/ObliqueMercator.d.ts.map +1 -0
  263. package/lib/{spatial → cjs/spatial}/ecrs/projection/ObliqueMercator.js +0 -0
  264. package/lib/cjs/spatial/ecrs/projection/ObliqueMercator.js.map +1 -0
  265. package/lib/{spatial → cjs/spatial}/ecrs/projection/ObliqueStereographic.d.ts +0 -0
  266. package/lib/cjs/spatial/ecrs/projection/ObliqueStereographic.d.ts.map +1 -0
  267. package/lib/{spatial → cjs/spatial}/ecrs/projection/ObliqueStereographic.js +0 -0
  268. package/lib/cjs/spatial/ecrs/projection/ObliqueStereographic.js.map +1 -0
  269. package/lib/{spatial → cjs/spatial}/ecrs/projection/TransverseMercator.d.ts +0 -0
  270. package/lib/cjs/spatial/ecrs/projection/TransverseMercator.d.ts.map +1 -0
  271. package/lib/{spatial → cjs/spatial}/ecrs/projection/TransverseMercator.js +0 -0
  272. package/lib/cjs/spatial/ecrs/projection/TransverseMercator.js.map +1 -0
  273. package/lib/{spatial → cjs/spatial}/ecrs/transformation/PositionVector.d.ts +0 -0
  274. package/lib/cjs/spatial/ecrs/transformation/PositionVector.d.ts.map +1 -0
  275. package/lib/{spatial → cjs/spatial}/ecrs/transformation/PositionVector.js +0 -0
  276. package/lib/cjs/spatial/ecrs/transformation/PositionVector.js.map +1 -0
  277. package/lib/{spatial → cjs/spatial}/geom/Bounds.d.ts +0 -0
  278. package/lib/cjs/spatial/geom/Bounds.d.ts.map +1 -0
  279. package/lib/{spatial → cjs/spatial}/geom/Bounds.js +0 -0
  280. package/lib/cjs/spatial/geom/Bounds.js.map +1 -0
  281. package/lib/{spatial → cjs/spatial}/geom/Coordinate.d.ts +0 -0
  282. package/lib/cjs/spatial/geom/Coordinate.d.ts.map +1 -0
  283. package/lib/{spatial → cjs/spatial}/geom/Coordinate.js +0 -0
  284. package/lib/cjs/spatial/geom/Coordinate.js.map +1 -0
  285. package/lib/{spatial → cjs/spatial}/geom/Line.d.ts +0 -0
  286. package/lib/cjs/spatial/geom/Line.d.ts.map +1 -0
  287. package/lib/{spatial → cjs/spatial}/geom/Line.js +0 -0
  288. package/lib/cjs/spatial/geom/Line.js.map +1 -0
  289. package/lib/{spatial → cjs/spatial}/geom/Transform.d.ts +0 -0
  290. package/lib/cjs/spatial/geom/Transform.d.ts.map +1 -0
  291. package/lib/{spatial → cjs/spatial}/geom/Transform.js +0 -0
  292. package/lib/cjs/spatial/geom/Transform.js.map +1 -0
  293. package/lib/{system → cjs/system}/buffer/ABuffer.d.ts +0 -0
  294. package/lib/cjs/system/buffer/ABuffer.d.ts.map +1 -0
  295. package/lib/{system → cjs/system}/buffer/ABuffer.js +0 -0
  296. package/lib/cjs/system/buffer/ABuffer.js.map +1 -0
  297. package/lib/{system → cjs/system}/buffer/Float32Buffer.d.ts +0 -0
  298. package/lib/cjs/system/buffer/Float32Buffer.d.ts.map +1 -0
  299. package/lib/{system → cjs/system}/buffer/Float32Buffer.js +0 -0
  300. package/lib/cjs/system/buffer/Float32Buffer.js.map +1 -0
  301. package/lib/{system → cjs/system}/buffer/LittleEndian.d.ts +0 -0
  302. package/lib/cjs/system/buffer/LittleEndian.d.ts.map +1 -0
  303. package/lib/{system → cjs/system}/buffer/LittleEndian.js +0 -0
  304. package/lib/cjs/system/buffer/LittleEndian.js.map +1 -0
  305. package/lib/{system → cjs/system}/buffer/Uint16Buffer.d.ts +0 -0
  306. package/lib/cjs/system/buffer/Uint16Buffer.d.ts.map +1 -0
  307. package/lib/{system → cjs/system}/buffer/Uint16Buffer.js +0 -0
  308. package/lib/cjs/system/buffer/Uint16Buffer.js.map +1 -0
  309. package/lib/{system → cjs/system}/buffer/Uint8Buffer.d.ts +0 -0
  310. package/lib/cjs/system/buffer/Uint8Buffer.d.ts.map +1 -0
  311. package/lib/{system → cjs/system}/buffer/Uint8Buffer.js +0 -0
  312. package/lib/cjs/system/buffer/Uint8Buffer.js.map +1 -0
  313. package/lib/{system → cjs/system}/collection/AList.d.ts +0 -0
  314. package/lib/cjs/system/collection/AList.d.ts.map +1 -0
  315. package/lib/{system → cjs/system}/collection/AList.js +0 -0
  316. package/lib/cjs/system/collection/AList.js.map +1 -0
  317. package/lib/{system → cjs/system}/collection/IntMap.d.ts +0 -0
  318. package/lib/cjs/system/collection/IntMap.d.ts.map +1 -0
  319. package/lib/{system → cjs/system}/collection/IntMap.js +0 -0
  320. package/lib/cjs/system/collection/IntMap.js.map +1 -0
  321. package/lib/{system → cjs/system}/collection/StringMap.d.ts +0 -0
  322. package/lib/cjs/system/collection/StringMap.d.ts.map +1 -0
  323. package/lib/{system → cjs/system}/collection/StringMap.js +0 -0
  324. package/lib/cjs/system/collection/StringMap.js.map +1 -0
  325. package/lib/{system → cjs/system}/io/ABufferInStream.d.ts +0 -0
  326. package/lib/cjs/system/io/ABufferInStream.d.ts.map +1 -0
  327. package/lib/{system → cjs/system}/io/ABufferInStream.js +0 -0
  328. package/lib/cjs/system/io/ABufferInStream.js.map +1 -0
  329. package/lib/{system → cjs/system}/io/InStream.d.ts +0 -0
  330. package/lib/cjs/system/io/InStream.d.ts.map +1 -0
  331. package/lib/{system → cjs/system}/io/InStream.js +0 -0
  332. package/lib/cjs/system/io/InStream.js.map +1 -0
  333. package/lib/{system → cjs/system}/io/OutStream.d.ts +0 -0
  334. package/lib/cjs/system/io/OutStream.d.ts.map +1 -0
  335. package/lib/{system → cjs/system}/io/OutStream.js +0 -0
  336. package/lib/cjs/system/io/OutStream.js.map +1 -0
  337. package/lib/{system → cjs/system}/runtime/ALong.d.ts +0 -0
  338. package/lib/cjs/system/runtime/ALong.d.ts.map +1 -0
  339. package/lib/{system → cjs/system}/runtime/ALong.js +0 -0
  340. package/lib/cjs/system/runtime/ALong.js.map +1 -0
  341. package/lib/{system → cjs/system}/runtime/ASystem.d.ts +0 -0
  342. package/lib/cjs/system/runtime/ASystem.d.ts.map +1 -0
  343. package/lib/{system → cjs/system}/runtime/ASystem.js +0 -0
  344. package/lib/cjs/system/runtime/ASystem.js.map +1 -0
  345. package/lib/{system → cjs/system}/runtime/Downloader.d.ts +0 -0
  346. package/lib/cjs/system/runtime/Downloader.d.ts.map +1 -0
  347. package/lib/{system → cjs/system}/runtime/Downloader.js +0 -0
  348. package/lib/cjs/system/runtime/Downloader.js.map +1 -0
  349. package/lib/{system → cjs/system}/runtime/DownloaderNode.d.ts +0 -0
  350. package/lib/cjs/system/runtime/DownloaderNode.d.ts.map +1 -0
  351. package/lib/{system → cjs/system}/runtime/DownloaderNode.js +0 -0
  352. package/lib/cjs/system/runtime/DownloaderNode.js.map +1 -0
  353. package/lib/{system → cjs/system}/runtime/DownloaderXhr.d.ts +0 -0
  354. package/lib/cjs/system/runtime/DownloaderXhr.d.ts.map +1 -0
  355. package/lib/{system → cjs/system}/runtime/DownloaderXhr.js +0 -0
  356. package/lib/cjs/system/runtime/DownloaderXhr.js.map +1 -0
  357. package/lib/{system → cjs/system}/runtime/Message.d.ts +0 -0
  358. package/lib/cjs/system/runtime/Message.d.ts.map +1 -0
  359. package/lib/{system → cjs/system}/runtime/Message.js +0 -0
  360. package/lib/cjs/system/runtime/Message.js.map +1 -0
  361. package/lib/{system → cjs/system}/runtime/Numbers.d.ts +0 -0
  362. package/lib/cjs/system/runtime/Numbers.d.ts.map +1 -0
  363. package/lib/{system → cjs/system}/runtime/Numbers.js +0 -0
  364. package/lib/cjs/system/runtime/Numbers.js.map +1 -0
  365. package/lib/{system → cjs/system}/runtime/Strings.d.ts +0 -0
  366. package/lib/cjs/system/runtime/Strings.d.ts.map +1 -0
  367. package/lib/{system → cjs/system}/runtime/Strings.js +0 -0
  368. package/lib/cjs/system/runtime/Strings.js.map +1 -0
  369. package/lib/{system → cjs/system}/runtime/iComparator.d.ts +0 -0
  370. package/lib/cjs/system/runtime/iComparator.d.ts.map +1 -0
  371. package/lib/{system → cjs/system}/runtime/iComparator.js +0 -0
  372. package/lib/cjs/system/runtime/iComparator.js.map +1 -0
  373. package/lib/{system → cjs/system}/storage/CacheList.d.ts +0 -0
  374. package/lib/cjs/system/storage/CacheList.d.ts.map +1 -0
  375. package/lib/{system → cjs/system}/storage/CacheList.js +0 -0
  376. package/lib/cjs/system/storage/CacheList.js.map +1 -0
  377. package/lib/{system → cjs/system}/storage/CachedItem.d.ts +0 -0
  378. package/lib/cjs/system/storage/CachedItem.d.ts.map +1 -0
  379. package/lib/{system → cjs/system}/storage/CachedItem.js +0 -0
  380. package/lib/cjs/system/storage/CachedItem.js.map +1 -0
  381. package/lib/{system → cjs/system}/storage/ContentLoader.d.ts +0 -0
  382. package/lib/cjs/system/storage/ContentLoader.d.ts.map +1 -0
  383. package/lib/{system → cjs/system}/storage/ContentLoader.js +0 -0
  384. package/lib/cjs/system/storage/ContentLoader.js.map +1 -0
  385. package/lib/{system → cjs/system}/storage/FileContent.d.ts +0 -0
  386. package/lib/cjs/system/storage/FileContent.d.ts.map +1 -0
  387. package/lib/{system → cjs/system}/storage/FileContent.js +0 -0
  388. package/lib/cjs/system/storage/FileContent.js.map +1 -0
  389. package/lib/{system → cjs/system}/storage/FileRange.d.ts +0 -0
  390. package/lib/cjs/system/storage/FileRange.d.ts.map +1 -0
  391. package/lib/{system → cjs/system}/storage/FileRange.js +0 -0
  392. package/lib/cjs/system/storage/FileRange.js.map +1 -0
  393. package/lib/{system → cjs/system}/storage/FileStorage.d.ts +0 -0
  394. package/lib/cjs/system/storage/FileStorage.d.ts.map +1 -0
  395. package/lib/{system → cjs/system}/storage/FileStorage.js +0 -0
  396. package/lib/cjs/system/storage/FileStorage.js.map +1 -0
  397. package/lib/{system → cjs/system}/storage/NodeFS.d.ts +0 -0
  398. package/lib/cjs/system/storage/NodeFS.d.ts.map +1 -0
  399. package/lib/{system → cjs/system}/storage/NodeFS.js +0 -0
  400. package/lib/cjs/system/storage/NodeFS.js.map +1 -0
  401. package/lib/{system → cjs/system}/storage/PageCachedFile.d.ts +0 -0
  402. package/lib/cjs/system/storage/PageCachedFile.d.ts.map +1 -0
  403. package/lib/{system → cjs/system}/storage/PageCachedFile.js +0 -0
  404. package/lib/cjs/system/storage/PageCachedFile.js.map +1 -0
  405. package/lib/{system → cjs/system}/storage/UrlFS.d.ts +0 -0
  406. package/lib/cjs/system/storage/UrlFS.d.ts.map +1 -0
  407. package/lib/{system → cjs/system}/storage/UrlFS.js +0 -0
  408. package/lib/cjs/system/storage/UrlFS.js.map +1 -0
  409. package/lib/esm/core-orbitgt.d.ts +27 -0
  410. package/lib/esm/core-orbitgt.d.ts.map +1 -0
  411. package/lib/esm/core-orbitgt.js +32 -0
  412. package/lib/esm/core-orbitgt.js.map +1 -0
  413. package/lib/esm/pointcloud/format/opc/AttributeMask.d.ts +31 -0
  414. package/lib/esm/pointcloud/format/opc/AttributeMask.d.ts.map +1 -0
  415. package/lib/esm/pointcloud/format/opc/AttributeMask.js +44 -0
  416. package/lib/esm/pointcloud/format/opc/AttributeMask.js.map +1 -0
  417. package/lib/esm/pointcloud/format/opc/AttributeReader.d.ts +64 -0
  418. package/lib/esm/pointcloud/format/opc/AttributeReader.d.ts.map +1 -0
  419. package/lib/esm/pointcloud/format/opc/AttributeReader.js +21 -0
  420. package/lib/esm/pointcloud/format/opc/AttributeReader.js.map +1 -0
  421. package/lib/esm/pointcloud/format/opc/BlockRecord.d.ts +55 -0
  422. package/lib/esm/pointcloud/format/opc/BlockRecord.d.ts.map +1 -0
  423. package/lib/esm/pointcloud/format/opc/BlockRecord.js +81 -0
  424. package/lib/esm/pointcloud/format/opc/BlockRecord.js.map +1 -0
  425. package/lib/esm/pointcloud/format/opc/ContainerFile.d.ts +86 -0
  426. package/lib/esm/pointcloud/format/opc/ContainerFile.d.ts.map +1 -0
  427. package/lib/esm/pointcloud/format/opc/ContainerFile.js +196 -0
  428. package/lib/esm/pointcloud/format/opc/ContainerFile.js.map +1 -0
  429. package/lib/esm/pointcloud/format/opc/ContainerFilePart.d.ts +56 -0
  430. package/lib/esm/pointcloud/format/opc/ContainerFilePart.d.ts.map +1 -0
  431. package/lib/esm/pointcloud/format/opc/ContainerFilePart.js +72 -0
  432. package/lib/esm/pointcloud/format/opc/ContainerFilePart.js.map +1 -0
  433. package/lib/esm/pointcloud/format/opc/DirectoryReader.d.ts +76 -0
  434. package/lib/esm/pointcloud/format/opc/DirectoryReader.d.ts.map +1 -0
  435. package/lib/esm/pointcloud/format/opc/DirectoryReader.js +166 -0
  436. package/lib/esm/pointcloud/format/opc/DirectoryReader.js.map +1 -0
  437. package/lib/esm/pointcloud/format/opc/DirectoryRecord.d.ts +60 -0
  438. package/lib/esm/pointcloud/format/opc/DirectoryRecord.d.ts.map +1 -0
  439. package/lib/esm/pointcloud/format/opc/DirectoryRecord.js +86 -0
  440. package/lib/esm/pointcloud/format/opc/DirectoryRecord.js.map +1 -0
  441. package/lib/esm/pointcloud/format/opc/EmbeddedAttributeReader.d.ts +107 -0
  442. package/lib/esm/pointcloud/format/opc/EmbeddedAttributeReader.d.ts.map +1 -0
  443. package/lib/esm/pointcloud/format/opc/EmbeddedAttributeReader.js +194 -0
  444. package/lib/esm/pointcloud/format/opc/EmbeddedAttributeReader.js.map +1 -0
  445. package/lib/esm/pointcloud/format/opc/FileAccess.d.ts +40 -0
  446. package/lib/esm/pointcloud/format/opc/FileAccess.d.ts.map +1 -0
  447. package/lib/esm/pointcloud/format/opc/FileAccess.js +45 -0
  448. package/lib/esm/pointcloud/format/opc/FileAccess.js.map +1 -0
  449. package/lib/esm/pointcloud/format/opc/FileReader.d.ts +119 -0
  450. package/lib/esm/pointcloud/format/opc/FileReader.d.ts.map +1 -0
  451. package/lib/esm/pointcloud/format/opc/FileReader.js +245 -0
  452. package/lib/esm/pointcloud/format/opc/FileReader.js.map +1 -0
  453. package/lib/esm/pointcloud/format/opc/FileRecord.d.ts +90 -0
  454. package/lib/esm/pointcloud/format/opc/FileRecord.d.ts.map +1 -0
  455. package/lib/esm/pointcloud/format/opc/FileRecord.js +122 -0
  456. package/lib/esm/pointcloud/format/opc/FileRecord.js.map +1 -0
  457. package/lib/esm/pointcloud/format/opc/GeometryReader.d.ts +80 -0
  458. package/lib/esm/pointcloud/format/opc/GeometryReader.d.ts.map +1 -0
  459. package/lib/esm/pointcloud/format/opc/GeometryReader.js +160 -0
  460. package/lib/esm/pointcloud/format/opc/GeometryReader.js.map +1 -0
  461. package/lib/esm/pointcloud/format/opc/GeometryRecord.d.ts +54 -0
  462. package/lib/esm/pointcloud/format/opc/GeometryRecord.d.ts.map +1 -0
  463. package/lib/esm/pointcloud/format/opc/GeometryRecord.js +104 -0
  464. package/lib/esm/pointcloud/format/opc/GeometryRecord.js.map +1 -0
  465. package/lib/esm/pointcloud/format/opc/OPCReader.d.ts +158 -0
  466. package/lib/esm/pointcloud/format/opc/OPCReader.d.ts.map +1 -0
  467. package/lib/esm/pointcloud/format/opc/OPCReader.js +316 -0
  468. package/lib/esm/pointcloud/format/opc/OPCReader.js.map +1 -0
  469. package/lib/esm/pointcloud/format/opc/PointReader.d.ts +73 -0
  470. package/lib/esm/pointcloud/format/opc/PointReader.d.ts.map +1 -0
  471. package/lib/esm/pointcloud/format/opc/PointReader.js +149 -0
  472. package/lib/esm/pointcloud/format/opc/PointReader.js.map +1 -0
  473. package/lib/esm/pointcloud/format/opc/TileReadBuffer.d.ts +64 -0
  474. package/lib/esm/pointcloud/format/opc/TileReadBuffer.d.ts.map +1 -0
  475. package/lib/esm/pointcloud/format/opc/TileReadBuffer.js +89 -0
  476. package/lib/esm/pointcloud/format/opc/TileReadBuffer.js.map +1 -0
  477. package/lib/esm/pointcloud/format/opc/TileRecord.d.ts +89 -0
  478. package/lib/esm/pointcloud/format/opc/TileRecord.d.ts.map +1 -0
  479. package/lib/esm/pointcloud/format/opc/TileRecord.js +158 -0
  480. package/lib/esm/pointcloud/format/opc/TileRecord.js.map +1 -0
  481. package/lib/esm/pointcloud/model/AttributeTypes.d.ts +38 -0
  482. package/lib/esm/pointcloud/model/AttributeTypes.d.ts.map +1 -0
  483. package/lib/esm/pointcloud/model/AttributeTypes.js +61 -0
  484. package/lib/esm/pointcloud/model/AttributeTypes.js.map +1 -0
  485. package/lib/esm/pointcloud/model/AttributeValue.d.ts +248 -0
  486. package/lib/esm/pointcloud/model/AttributeValue.d.ts.map +1 -0
  487. package/lib/esm/pointcloud/model/AttributeValue.js +505 -0
  488. package/lib/esm/pointcloud/model/AttributeValue.js.map +1 -0
  489. package/lib/esm/pointcloud/model/BlockIndex.d.ts +50 -0
  490. package/lib/esm/pointcloud/model/BlockIndex.d.ts.map +1 -0
  491. package/lib/esm/pointcloud/model/BlockIndex.js +45 -0
  492. package/lib/esm/pointcloud/model/BlockIndex.js.map +1 -0
  493. package/lib/esm/pointcloud/model/CloudPoint.d.ts +211 -0
  494. package/lib/esm/pointcloud/model/CloudPoint.d.ts.map +1 -0
  495. package/lib/esm/pointcloud/model/CloudPoint.js +315 -0
  496. package/lib/esm/pointcloud/model/CloudPoint.js.map +1 -0
  497. package/lib/esm/pointcloud/model/Grid.d.ts +92 -0
  498. package/lib/esm/pointcloud/model/Grid.d.ts.map +1 -0
  499. package/lib/esm/pointcloud/model/Grid.js +126 -0
  500. package/lib/esm/pointcloud/model/Grid.js.map +1 -0
  501. package/lib/esm/pointcloud/model/GridIndex.d.ts +67 -0
  502. package/lib/esm/pointcloud/model/GridIndex.d.ts.map +1 -0
  503. package/lib/esm/pointcloud/model/GridIndex.js +90 -0
  504. package/lib/esm/pointcloud/model/GridIndex.js.map +1 -0
  505. package/lib/esm/pointcloud/model/PointAttribute.d.ts +209 -0
  506. package/lib/esm/pointcloud/model/PointAttribute.d.ts.map +1 -0
  507. package/lib/esm/pointcloud/model/PointAttribute.js +371 -0
  508. package/lib/esm/pointcloud/model/PointAttribute.js.map +1 -0
  509. package/lib/esm/pointcloud/model/PointCloudReader.d.ts +157 -0
  510. package/lib/esm/pointcloud/model/PointCloudReader.d.ts.map +1 -0
  511. package/lib/esm/pointcloud/model/PointCloudReader.js +186 -0
  512. package/lib/esm/pointcloud/model/PointCloudReader.js.map +1 -0
  513. package/lib/esm/pointcloud/model/PointData.d.ts +18 -0
  514. package/lib/esm/pointcloud/model/PointData.d.ts.map +1 -0
  515. package/lib/esm/pointcloud/model/PointData.js +21 -0
  516. package/lib/esm/pointcloud/model/PointData.js.map +1 -0
  517. package/lib/esm/pointcloud/model/PointDataRaw.d.ts +35 -0
  518. package/lib/esm/pointcloud/model/PointDataRaw.d.ts.map +1 -0
  519. package/lib/esm/pointcloud/model/PointDataRaw.js +66 -0
  520. package/lib/esm/pointcloud/model/PointDataRaw.js.map +1 -0
  521. package/lib/esm/pointcloud/model/ReadRequest.d.ts +176 -0
  522. package/lib/esm/pointcloud/model/ReadRequest.d.ts.map +1 -0
  523. package/lib/esm/pointcloud/model/ReadRequest.js +236 -0
  524. package/lib/esm/pointcloud/model/ReadRequest.js.map +1 -0
  525. package/lib/esm/pointcloud/model/StandardAttributes.d.ts +41 -0
  526. package/lib/esm/pointcloud/model/StandardAttributes.d.ts.map +1 -0
  527. package/lib/esm/pointcloud/model/StandardAttributes.js +44 -0
  528. package/lib/esm/pointcloud/model/StandardAttributes.js.map +1 -0
  529. package/lib/esm/pointcloud/model/TileIndex.d.ts +48 -0
  530. package/lib/esm/pointcloud/model/TileIndex.d.ts.map +1 -0
  531. package/lib/esm/pointcloud/model/TileIndex.js +44 -0
  532. package/lib/esm/pointcloud/model/TileIndex.js.map +1 -0
  533. package/lib/esm/pointcloud/render/AViewRequest.d.ts +39 -0
  534. package/lib/esm/pointcloud/render/AViewRequest.d.ts.map +1 -0
  535. package/lib/esm/pointcloud/render/AViewRequest.js +21 -0
  536. package/lib/esm/pointcloud/render/AViewRequest.js.map +1 -0
  537. package/lib/esm/pointcloud/render/Block.d.ts +68 -0
  538. package/lib/esm/pointcloud/render/Block.d.ts.map +1 -0
  539. package/lib/esm/pointcloud/render/Block.js +116 -0
  540. package/lib/esm/pointcloud/render/Block.js.map +1 -0
  541. package/lib/esm/pointcloud/render/DataManager.d.ts +137 -0
  542. package/lib/esm/pointcloud/render/DataManager.d.ts.map +1 -0
  543. package/lib/esm/pointcloud/render/DataManager.js +339 -0
  544. package/lib/esm/pointcloud/render/DataManager.js.map +1 -0
  545. package/lib/esm/pointcloud/render/FrameData.d.ts +31 -0
  546. package/lib/esm/pointcloud/render/FrameData.d.ts.map +1 -0
  547. package/lib/esm/pointcloud/render/FrameData.js +36 -0
  548. package/lib/esm/pointcloud/render/FrameData.js.map +1 -0
  549. package/lib/esm/pointcloud/render/Level.d.ts +91 -0
  550. package/lib/esm/pointcloud/render/Level.d.ts.map +1 -0
  551. package/lib/esm/pointcloud/render/Level.js +116 -0
  552. package/lib/esm/pointcloud/render/Level.js.map +1 -0
  553. package/lib/esm/pointcloud/render/TileLoadSorter.d.ts +61 -0
  554. package/lib/esm/pointcloud/render/TileLoadSorter.d.ts.map +1 -0
  555. package/lib/esm/pointcloud/render/TileLoadSorter.js +96 -0
  556. package/lib/esm/pointcloud/render/TileLoadSorter.js.map +1 -0
  557. package/lib/esm/pointcloud/render/ViewTree.d.ts +114 -0
  558. package/lib/esm/pointcloud/render/ViewTree.d.ts.map +1 -0
  559. package/lib/esm/pointcloud/render/ViewTree.js +360 -0
  560. package/lib/esm/pointcloud/render/ViewTree.js.map +1 -0
  561. package/lib/esm/spatial/crs/CRSEngine.d.ts +56 -0
  562. package/lib/esm/spatial/crs/CRSEngine.d.ts.map +1 -0
  563. package/lib/esm/spatial/crs/CRSEngine.js +90 -0
  564. package/lib/esm/spatial/crs/CRSEngine.js.map +1 -0
  565. package/lib/esm/spatial/crs/CRSManager.d.ts +50 -0
  566. package/lib/esm/spatial/crs/CRSManager.d.ts.map +1 -0
  567. package/lib/esm/spatial/crs/CRSManager.js +106 -0
  568. package/lib/esm/spatial/crs/CRSManager.js.map +1 -0
  569. package/lib/esm/spatial/ecrs/Axis.d.ts +78 -0
  570. package/lib/esm/spatial/ecrs/Axis.d.ts.map +1 -0
  571. package/lib/esm/spatial/ecrs/Axis.js +90 -0
  572. package/lib/esm/spatial/ecrs/Axis.js.map +1 -0
  573. package/lib/esm/spatial/ecrs/CRS.d.ts +448 -0
  574. package/lib/esm/spatial/ecrs/CRS.d.ts.map +1 -0
  575. package/lib/esm/spatial/ecrs/CRS.js +927 -0
  576. package/lib/esm/spatial/ecrs/CRS.js.map +1 -0
  577. package/lib/esm/spatial/ecrs/CoordinateSystem.d.ts +143 -0
  578. package/lib/esm/spatial/ecrs/CoordinateSystem.d.ts.map +1 -0
  579. package/lib/esm/spatial/ecrs/CoordinateSystem.js +323 -0
  580. package/lib/esm/spatial/ecrs/CoordinateSystem.js.map +1 -0
  581. package/lib/esm/spatial/ecrs/DataFileUnit.d.ts +11 -0
  582. package/lib/esm/spatial/ecrs/DataFileUnit.d.ts.map +1 -0
  583. package/lib/esm/spatial/ecrs/DataFileUnit.js +101 -0
  584. package/lib/esm/spatial/ecrs/DataFileUnit.js.map +1 -0
  585. package/lib/esm/spatial/ecrs/Datum.d.ts +112 -0
  586. package/lib/esm/spatial/ecrs/Datum.d.ts.map +1 -0
  587. package/lib/esm/spatial/ecrs/Datum.js +163 -0
  588. package/lib/esm/spatial/ecrs/Datum.js.map +1 -0
  589. package/lib/esm/spatial/ecrs/Ellipsoid.d.ts +189 -0
  590. package/lib/esm/spatial/ecrs/Ellipsoid.d.ts.map +1 -0
  591. package/lib/esm/spatial/ecrs/Ellipsoid.js +333 -0
  592. package/lib/esm/spatial/ecrs/Ellipsoid.js.map +1 -0
  593. package/lib/esm/spatial/ecrs/OnlineEngine.d.ts +49 -0
  594. package/lib/esm/spatial/ecrs/OnlineEngine.d.ts.map +1 -0
  595. package/lib/esm/spatial/ecrs/OnlineEngine.js +99 -0
  596. package/lib/esm/spatial/ecrs/OnlineEngine.js.map +1 -0
  597. package/lib/esm/spatial/ecrs/OnlineRegistry.d.ts +38 -0
  598. package/lib/esm/spatial/ecrs/OnlineRegistry.d.ts.map +1 -0
  599. package/lib/esm/spatial/ecrs/OnlineRegistry.js +73 -0
  600. package/lib/esm/spatial/ecrs/OnlineRegistry.js.map +1 -0
  601. package/lib/esm/spatial/ecrs/Operation.d.ts +192 -0
  602. package/lib/esm/spatial/ecrs/Operation.d.ts.map +1 -0
  603. package/lib/esm/spatial/ecrs/Operation.js +342 -0
  604. package/lib/esm/spatial/ecrs/Operation.js.map +1 -0
  605. package/lib/esm/spatial/ecrs/OperationMethod.d.ts +72 -0
  606. package/lib/esm/spatial/ecrs/OperationMethod.d.ts.map +1 -0
  607. package/lib/esm/spatial/ecrs/OperationMethod.js +72 -0
  608. package/lib/esm/spatial/ecrs/OperationMethod.js.map +1 -0
  609. package/lib/esm/spatial/ecrs/ParameterValue.d.ts +50 -0
  610. package/lib/esm/spatial/ecrs/ParameterValue.d.ts.map +1 -0
  611. package/lib/esm/spatial/ecrs/ParameterValue.js +62 -0
  612. package/lib/esm/spatial/ecrs/ParameterValue.js.map +1 -0
  613. package/lib/esm/spatial/ecrs/ParameterValueList.d.ts +73 -0
  614. package/lib/esm/spatial/ecrs/ParameterValueList.d.ts.map +1 -0
  615. package/lib/esm/spatial/ecrs/ParameterValueList.js +117 -0
  616. package/lib/esm/spatial/ecrs/ParameterValueList.js.map +1 -0
  617. package/lib/esm/spatial/ecrs/PrimeMeridian.d.ts +79 -0
  618. package/lib/esm/spatial/ecrs/PrimeMeridian.d.ts.map +1 -0
  619. package/lib/esm/spatial/ecrs/PrimeMeridian.js +105 -0
  620. package/lib/esm/spatial/ecrs/PrimeMeridian.js.map +1 -0
  621. package/lib/esm/spatial/ecrs/Registry.d.ts +110 -0
  622. package/lib/esm/spatial/ecrs/Registry.d.ts.map +1 -0
  623. package/lib/esm/spatial/ecrs/Registry.js +204 -0
  624. package/lib/esm/spatial/ecrs/Registry.js.map +1 -0
  625. package/lib/esm/spatial/ecrs/Transform.d.ts +78 -0
  626. package/lib/esm/spatial/ecrs/Transform.d.ts.map +1 -0
  627. package/lib/esm/spatial/ecrs/Transform.js +393 -0
  628. package/lib/esm/spatial/ecrs/Transform.js.map +1 -0
  629. package/lib/esm/spatial/ecrs/Unit.d.ts +171 -0
  630. package/lib/esm/spatial/ecrs/Unit.d.ts.map +1 -0
  631. package/lib/esm/spatial/ecrs/Unit.js +333 -0
  632. package/lib/esm/spatial/ecrs/Unit.js.map +1 -0
  633. package/lib/esm/spatial/ecrs/VerticalModel.d.ts +70 -0
  634. package/lib/esm/spatial/ecrs/VerticalModel.d.ts.map +1 -0
  635. package/lib/esm/spatial/ecrs/VerticalModel.js +85 -0
  636. package/lib/esm/spatial/ecrs/VerticalModel.js.map +1 -0
  637. package/lib/esm/spatial/ecrs/WellKnownText.d.ts +154 -0
  638. package/lib/esm/spatial/ecrs/WellKnownText.d.ts.map +1 -0
  639. package/lib/esm/spatial/ecrs/WellKnownText.js +491 -0
  640. package/lib/esm/spatial/ecrs/WellKnownText.js.map +1 -0
  641. package/lib/esm/spatial/ecrs/WellKnownTextNode.d.ts +70 -0
  642. package/lib/esm/spatial/ecrs/WellKnownTextNode.d.ts.map +1 -0
  643. package/lib/esm/spatial/ecrs/WellKnownTextNode.js +125 -0
  644. package/lib/esm/spatial/ecrs/WellKnownTextNode.js.map +1 -0
  645. package/lib/esm/spatial/ecrs/projection/HotineObliqueMercator.d.ts +102 -0
  646. package/lib/esm/spatial/ecrs/projection/HotineObliqueMercator.d.ts.map +1 -0
  647. package/lib/esm/spatial/ecrs/projection/HotineObliqueMercator.js +159 -0
  648. package/lib/esm/spatial/ecrs/projection/HotineObliqueMercator.js.map +1 -0
  649. package/lib/esm/spatial/ecrs/projection/KrovakObliqueConformalConic.d.ts +80 -0
  650. package/lib/esm/spatial/ecrs/projection/KrovakObliqueConformalConic.d.ts.map +1 -0
  651. package/lib/esm/spatial/ecrs/projection/KrovakObliqueConformalConic.js +122 -0
  652. package/lib/esm/spatial/ecrs/projection/KrovakObliqueConformalConic.js.map +1 -0
  653. package/lib/esm/spatial/ecrs/projection/KrovakObliqueConformalConicEN.d.ts +48 -0
  654. package/lib/esm/spatial/ecrs/projection/KrovakObliqueConformalConicEN.d.ts.map +1 -0
  655. package/lib/esm/spatial/ecrs/projection/KrovakObliqueConformalConicEN.js +70 -0
  656. package/lib/esm/spatial/ecrs/projection/KrovakObliqueConformalConicEN.js.map +1 -0
  657. package/lib/esm/spatial/ecrs/projection/LambertConical1SP.d.ts +73 -0
  658. package/lib/esm/spatial/ecrs/projection/LambertConical1SP.d.ts.map +1 -0
  659. package/lib/esm/spatial/ecrs/projection/LambertConical1SP.js +126 -0
  660. package/lib/esm/spatial/ecrs/projection/LambertConical1SP.js.map +1 -0
  661. package/lib/esm/spatial/ecrs/projection/LambertConical2SP.d.ts +121 -0
  662. package/lib/esm/spatial/ecrs/projection/LambertConical2SP.d.ts.map +1 -0
  663. package/lib/esm/spatial/ecrs/projection/LambertConical2SP.js +176 -0
  664. package/lib/esm/spatial/ecrs/projection/LambertConical2SP.js.map +1 -0
  665. package/lib/esm/spatial/ecrs/projection/Mercator1SP.d.ts +74 -0
  666. package/lib/esm/spatial/ecrs/projection/Mercator1SP.d.ts.map +1 -0
  667. package/lib/esm/spatial/ecrs/projection/Mercator1SP.js +109 -0
  668. package/lib/esm/spatial/ecrs/projection/Mercator1SP.js.map +1 -0
  669. package/lib/esm/spatial/ecrs/projection/ObliqueMercator.d.ts +97 -0
  670. package/lib/esm/spatial/ecrs/projection/ObliqueMercator.d.ts.map +1 -0
  671. package/lib/esm/spatial/ecrs/projection/ObliqueMercator.js +170 -0
  672. package/lib/esm/spatial/ecrs/projection/ObliqueMercator.js.map +1 -0
  673. package/lib/esm/spatial/ecrs/projection/ObliqueStereographic.d.ts +124 -0
  674. package/lib/esm/spatial/ecrs/projection/ObliqueStereographic.d.ts.map +1 -0
  675. package/lib/esm/spatial/ecrs/projection/ObliqueStereographic.js +205 -0
  676. package/lib/esm/spatial/ecrs/projection/ObliqueStereographic.js.map +1 -0
  677. package/lib/esm/spatial/ecrs/projection/TransverseMercator.d.ts +109 -0
  678. package/lib/esm/spatial/ecrs/projection/TransverseMercator.d.ts.map +1 -0
  679. package/lib/esm/spatial/ecrs/projection/TransverseMercator.js +180 -0
  680. package/lib/esm/spatial/ecrs/projection/TransverseMercator.js.map +1 -0
  681. package/lib/esm/spatial/ecrs/transformation/PositionVector.d.ts +91 -0
  682. package/lib/esm/spatial/ecrs/transformation/PositionVector.d.ts.map +1 -0
  683. package/lib/esm/spatial/ecrs/transformation/PositionVector.js +127 -0
  684. package/lib/esm/spatial/ecrs/transformation/PositionVector.js.map +1 -0
  685. package/lib/esm/spatial/geom/Bounds.d.ts +34 -0
  686. package/lib/esm/spatial/geom/Bounds.d.ts.map +1 -0
  687. package/lib/esm/spatial/geom/Bounds.js +153 -0
  688. package/lib/esm/spatial/geom/Bounds.js.map +1 -0
  689. package/lib/esm/spatial/geom/Coordinate.d.ts +62 -0
  690. package/lib/esm/spatial/geom/Coordinate.d.ts.map +1 -0
  691. package/lib/esm/spatial/geom/Coordinate.js +183 -0
  692. package/lib/esm/spatial/geom/Coordinate.js.map +1 -0
  693. package/lib/esm/spatial/geom/Line.d.ts +226 -0
  694. package/lib/esm/spatial/geom/Line.d.ts.map +1 -0
  695. package/lib/esm/spatial/geom/Line.js +429 -0
  696. package/lib/esm/spatial/geom/Line.js.map +1 -0
  697. package/lib/esm/spatial/geom/Transform.d.ts +341 -0
  698. package/lib/esm/spatial/geom/Transform.d.ts.map +1 -0
  699. package/lib/esm/spatial/geom/Transform.js +745 -0
  700. package/lib/esm/spatial/geom/Transform.js.map +1 -0
  701. package/lib/esm/system/buffer/ABuffer.d.ts +52 -0
  702. package/lib/esm/system/buffer/ABuffer.d.ts.map +1 -0
  703. package/lib/esm/system/buffer/ABuffer.js +87 -0
  704. package/lib/esm/system/buffer/ABuffer.js.map +1 -0
  705. package/lib/esm/system/buffer/Float32Buffer.d.ts +47 -0
  706. package/lib/esm/system/buffer/Float32Buffer.d.ts.map +1 -0
  707. package/lib/esm/system/buffer/Float32Buffer.js +57 -0
  708. package/lib/esm/system/buffer/Float32Buffer.js.map +1 -0
  709. package/lib/esm/system/buffer/LittleEndian.d.ts +150 -0
  710. package/lib/esm/system/buffer/LittleEndian.d.ts.map +1 -0
  711. package/lib/esm/system/buffer/LittleEndian.js +300 -0
  712. package/lib/esm/system/buffer/LittleEndian.js.map +1 -0
  713. package/lib/esm/system/buffer/Uint16Buffer.d.ts +50 -0
  714. package/lib/esm/system/buffer/Uint16Buffer.d.ts.map +1 -0
  715. package/lib/esm/system/buffer/Uint16Buffer.js +62 -0
  716. package/lib/esm/system/buffer/Uint16Buffer.js.map +1 -0
  717. package/lib/esm/system/buffer/Uint8Buffer.d.ts +50 -0
  718. package/lib/esm/system/buffer/Uint8Buffer.d.ts.map +1 -0
  719. package/lib/esm/system/buffer/Uint8Buffer.js +62 -0
  720. package/lib/esm/system/buffer/Uint8Buffer.js.map +1 -0
  721. package/lib/esm/system/collection/AList.d.ts +31 -0
  722. package/lib/esm/system/collection/AList.d.ts.map +1 -0
  723. package/lib/esm/system/collection/AList.js +67 -0
  724. package/lib/esm/system/collection/AList.js.map +1 -0
  725. package/lib/esm/system/collection/IntMap.d.ts +19 -0
  726. package/lib/esm/system/collection/IntMap.d.ts.map +1 -0
  727. package/lib/esm/system/collection/IntMap.js +32 -0
  728. package/lib/esm/system/collection/IntMap.js.map +1 -0
  729. package/lib/esm/system/collection/StringMap.d.ts +27 -0
  730. package/lib/esm/system/collection/StringMap.d.ts.map +1 -0
  731. package/lib/esm/system/collection/StringMap.js +60 -0
  732. package/lib/esm/system/collection/StringMap.js.map +1 -0
  733. package/lib/esm/system/io/ABufferInStream.d.ts +30 -0
  734. package/lib/esm/system/io/ABufferInStream.d.ts.map +1 -0
  735. package/lib/esm/system/io/ABufferInStream.js +43 -0
  736. package/lib/esm/system/io/ABufferInStream.js.map +1 -0
  737. package/lib/esm/system/io/InStream.d.ts +24 -0
  738. package/lib/esm/system/io/InStream.d.ts.map +1 -0
  739. package/lib/esm/system/io/InStream.js +31 -0
  740. package/lib/esm/system/io/InStream.js.map +1 -0
  741. package/lib/esm/system/io/OutStream.d.ts +24 -0
  742. package/lib/esm/system/io/OutStream.d.ts.map +1 -0
  743. package/lib/esm/system/io/OutStream.js +30 -0
  744. package/lib/esm/system/io/OutStream.js.map +1 -0
  745. package/lib/esm/system/runtime/ALong.d.ts +330 -0
  746. package/lib/esm/system/runtime/ALong.d.ts.map +1 -0
  747. package/lib/esm/system/runtime/ALong.js +684 -0
  748. package/lib/esm/system/runtime/ALong.js.map +1 -0
  749. package/lib/esm/system/runtime/ASystem.d.ts +15 -0
  750. package/lib/esm/system/runtime/ASystem.d.ts.map +1 -0
  751. package/lib/esm/system/runtime/ASystem.js +28 -0
  752. package/lib/esm/system/runtime/ASystem.js.map +1 -0
  753. package/lib/esm/system/runtime/Downloader.d.ts +18 -0
  754. package/lib/esm/system/runtime/Downloader.d.ts.map +1 -0
  755. package/lib/esm/system/runtime/Downloader.js +35 -0
  756. package/lib/esm/system/runtime/Downloader.js.map +1 -0
  757. package/lib/esm/system/runtime/DownloaderNode.d.ts +19 -0
  758. package/lib/esm/system/runtime/DownloaderNode.d.ts.map +1 -0
  759. package/lib/esm/system/runtime/DownloaderNode.js +126 -0
  760. package/lib/esm/system/runtime/DownloaderNode.js.map +1 -0
  761. package/lib/esm/system/runtime/DownloaderXhr.d.ts +19 -0
  762. package/lib/esm/system/runtime/DownloaderXhr.d.ts.map +1 -0
  763. package/lib/esm/system/runtime/DownloaderXhr.js +128 -0
  764. package/lib/esm/system/runtime/DownloaderXhr.js.map +1 -0
  765. package/lib/esm/system/runtime/Message.d.ts +17 -0
  766. package/lib/esm/system/runtime/Message.d.ts.map +1 -0
  767. package/lib/esm/system/runtime/Message.js +36 -0
  768. package/lib/esm/system/runtime/Message.js.map +1 -0
  769. package/lib/esm/system/runtime/Numbers.d.ts +35 -0
  770. package/lib/esm/system/runtime/Numbers.d.ts.map +1 -0
  771. package/lib/esm/system/runtime/Numbers.js +84 -0
  772. package/lib/esm/system/runtime/Numbers.js.map +1 -0
  773. package/lib/esm/system/runtime/Strings.d.ts +50 -0
  774. package/lib/esm/system/runtime/Strings.d.ts.map +1 -0
  775. package/lib/esm/system/runtime/Strings.js +185 -0
  776. package/lib/esm/system/runtime/Strings.js.map +1 -0
  777. package/lib/esm/system/runtime/iComparator.d.ts +13 -0
  778. package/lib/esm/system/runtime/iComparator.d.ts.map +1 -0
  779. package/lib/esm/system/runtime/iComparator.js +9 -0
  780. package/lib/esm/system/runtime/iComparator.js.map +1 -0
  781. package/lib/esm/system/storage/CacheList.d.ts +40 -0
  782. package/lib/esm/system/storage/CacheList.d.ts.map +1 -0
  783. package/lib/esm/system/storage/CacheList.js +77 -0
  784. package/lib/esm/system/storage/CacheList.js.map +1 -0
  785. package/lib/esm/system/storage/CachedItem.d.ts +22 -0
  786. package/lib/esm/system/storage/CachedItem.d.ts.map +1 -0
  787. package/lib/esm/system/storage/CachedItem.js +22 -0
  788. package/lib/esm/system/storage/CachedItem.js.map +1 -0
  789. package/lib/esm/system/storage/ContentLoader.d.ts +65 -0
  790. package/lib/esm/system/storage/ContentLoader.d.ts.map +1 -0
  791. package/lib/esm/system/storage/ContentLoader.js +92 -0
  792. package/lib/esm/system/storage/ContentLoader.js.map +1 -0
  793. package/lib/esm/system/storage/FileContent.d.ts +20 -0
  794. package/lib/esm/system/storage/FileContent.d.ts.map +1 -0
  795. package/lib/esm/system/storage/FileContent.js +21 -0
  796. package/lib/esm/system/storage/FileContent.js.map +1 -0
  797. package/lib/esm/system/storage/FileRange.d.ts +21 -0
  798. package/lib/esm/system/storage/FileRange.d.ts.map +1 -0
  799. package/lib/esm/system/storage/FileRange.js +21 -0
  800. package/lib/esm/system/storage/FileRange.js.map +1 -0
  801. package/lib/esm/system/storage/FileStorage.d.ts +45 -0
  802. package/lib/esm/system/storage/FileStorage.d.ts.map +1 -0
  803. package/lib/esm/system/storage/FileStorage.js +59 -0
  804. package/lib/esm/system/storage/FileStorage.js.map +1 -0
  805. package/lib/esm/system/storage/NodeFS.d.ts +42 -0
  806. package/lib/esm/system/storage/NodeFS.d.ts.map +1 -0
  807. package/lib/esm/system/storage/NodeFS.js +76 -0
  808. package/lib/esm/system/storage/NodeFS.js.map +1 -0
  809. package/lib/esm/system/storage/PageCachedFile.d.ts +55 -0
  810. package/lib/esm/system/storage/PageCachedFile.d.ts.map +1 -0
  811. package/lib/esm/system/storage/PageCachedFile.js +162 -0
  812. package/lib/esm/system/storage/PageCachedFile.js.map +1 -0
  813. package/lib/esm/system/storage/UrlFS.d.ts +54 -0
  814. package/lib/esm/system/storage/UrlFS.d.ts.map +1 -0
  815. package/lib/esm/system/storage/UrlFS.js +111 -0
  816. package/lib/esm/system/storage/UrlFS.js.map +1 -0
  817. package/package.json +11 -8
  818. package/lib/core-orbitgt.d.ts.map +0 -1
  819. package/lib/core-orbitgt.js.map +0 -1
  820. package/lib/pointcloud/format/opc/AttributeMask.d.ts.map +0 -1
  821. package/lib/pointcloud/format/opc/AttributeMask.js.map +0 -1
  822. package/lib/pointcloud/format/opc/AttributeReader.d.ts.map +0 -1
  823. package/lib/pointcloud/format/opc/AttributeReader.js.map +0 -1
  824. package/lib/pointcloud/format/opc/BlockRecord.d.ts.map +0 -1
  825. package/lib/pointcloud/format/opc/BlockRecord.js.map +0 -1
  826. package/lib/pointcloud/format/opc/ContainerFile.d.ts.map +0 -1
  827. package/lib/pointcloud/format/opc/ContainerFile.js.map +0 -1
  828. package/lib/pointcloud/format/opc/ContainerFilePart.d.ts.map +0 -1
  829. package/lib/pointcloud/format/opc/ContainerFilePart.js.map +0 -1
  830. package/lib/pointcloud/format/opc/DirectoryReader.d.ts.map +0 -1
  831. package/lib/pointcloud/format/opc/DirectoryReader.js.map +0 -1
  832. package/lib/pointcloud/format/opc/DirectoryRecord.d.ts.map +0 -1
  833. package/lib/pointcloud/format/opc/DirectoryRecord.js.map +0 -1
  834. package/lib/pointcloud/format/opc/EmbeddedAttributeReader.d.ts.map +0 -1
  835. package/lib/pointcloud/format/opc/EmbeddedAttributeReader.js.map +0 -1
  836. package/lib/pointcloud/format/opc/FileAccess.d.ts.map +0 -1
  837. package/lib/pointcloud/format/opc/FileAccess.js.map +0 -1
  838. package/lib/pointcloud/format/opc/FileReader.d.ts.map +0 -1
  839. package/lib/pointcloud/format/opc/FileReader.js.map +0 -1
  840. package/lib/pointcloud/format/opc/FileRecord.d.ts.map +0 -1
  841. package/lib/pointcloud/format/opc/FileRecord.js.map +0 -1
  842. package/lib/pointcloud/format/opc/GeometryReader.d.ts.map +0 -1
  843. package/lib/pointcloud/format/opc/GeometryReader.js.map +0 -1
  844. package/lib/pointcloud/format/opc/GeometryRecord.d.ts.map +0 -1
  845. package/lib/pointcloud/format/opc/GeometryRecord.js.map +0 -1
  846. package/lib/pointcloud/format/opc/OPCReader.d.ts.map +0 -1
  847. package/lib/pointcloud/format/opc/OPCReader.js.map +0 -1
  848. package/lib/pointcloud/format/opc/PointReader.d.ts.map +0 -1
  849. package/lib/pointcloud/format/opc/PointReader.js.map +0 -1
  850. package/lib/pointcloud/format/opc/TileReadBuffer.d.ts.map +0 -1
  851. package/lib/pointcloud/format/opc/TileReadBuffer.js.map +0 -1
  852. package/lib/pointcloud/format/opc/TileRecord.d.ts.map +0 -1
  853. package/lib/pointcloud/format/opc/TileRecord.js.map +0 -1
  854. package/lib/pointcloud/model/AttributeTypes.d.ts.map +0 -1
  855. package/lib/pointcloud/model/AttributeTypes.js.map +0 -1
  856. package/lib/pointcloud/model/AttributeValue.d.ts.map +0 -1
  857. package/lib/pointcloud/model/AttributeValue.js.map +0 -1
  858. package/lib/pointcloud/model/BlockIndex.d.ts.map +0 -1
  859. package/lib/pointcloud/model/BlockIndex.js.map +0 -1
  860. package/lib/pointcloud/model/CloudPoint.d.ts.map +0 -1
  861. package/lib/pointcloud/model/CloudPoint.js.map +0 -1
  862. package/lib/pointcloud/model/Grid.d.ts.map +0 -1
  863. package/lib/pointcloud/model/Grid.js.map +0 -1
  864. package/lib/pointcloud/model/GridIndex.d.ts.map +0 -1
  865. package/lib/pointcloud/model/GridIndex.js.map +0 -1
  866. package/lib/pointcloud/model/PointAttribute.d.ts.map +0 -1
  867. package/lib/pointcloud/model/PointAttribute.js.map +0 -1
  868. package/lib/pointcloud/model/PointCloudReader.d.ts.map +0 -1
  869. package/lib/pointcloud/model/PointCloudReader.js.map +0 -1
  870. package/lib/pointcloud/model/PointData.d.ts.map +0 -1
  871. package/lib/pointcloud/model/PointData.js.map +0 -1
  872. package/lib/pointcloud/model/PointDataRaw.d.ts.map +0 -1
  873. package/lib/pointcloud/model/PointDataRaw.js.map +0 -1
  874. package/lib/pointcloud/model/ReadRequest.d.ts.map +0 -1
  875. package/lib/pointcloud/model/ReadRequest.js.map +0 -1
  876. package/lib/pointcloud/model/StandardAttributes.d.ts.map +0 -1
  877. package/lib/pointcloud/model/StandardAttributes.js.map +0 -1
  878. package/lib/pointcloud/model/TileIndex.d.ts.map +0 -1
  879. package/lib/pointcloud/model/TileIndex.js.map +0 -1
  880. package/lib/pointcloud/render/AViewRequest.d.ts.map +0 -1
  881. package/lib/pointcloud/render/AViewRequest.js.map +0 -1
  882. package/lib/pointcloud/render/Block.d.ts.map +0 -1
  883. package/lib/pointcloud/render/Block.js.map +0 -1
  884. package/lib/pointcloud/render/DataManager.d.ts.map +0 -1
  885. package/lib/pointcloud/render/DataManager.js.map +0 -1
  886. package/lib/pointcloud/render/FrameData.d.ts.map +0 -1
  887. package/lib/pointcloud/render/FrameData.js.map +0 -1
  888. package/lib/pointcloud/render/Level.d.ts.map +0 -1
  889. package/lib/pointcloud/render/Level.js.map +0 -1
  890. package/lib/pointcloud/render/TileLoadSorter.d.ts.map +0 -1
  891. package/lib/pointcloud/render/TileLoadSorter.js.map +0 -1
  892. package/lib/pointcloud/render/ViewTree.d.ts.map +0 -1
  893. package/lib/pointcloud/render/ViewTree.js.map +0 -1
  894. package/lib/spatial/crs/CRSEngine.d.ts.map +0 -1
  895. package/lib/spatial/crs/CRSEngine.js.map +0 -1
  896. package/lib/spatial/crs/CRSManager.d.ts.map +0 -1
  897. package/lib/spatial/crs/CRSManager.js.map +0 -1
  898. package/lib/spatial/ecrs/Axis.d.ts.map +0 -1
  899. package/lib/spatial/ecrs/Axis.js.map +0 -1
  900. package/lib/spatial/ecrs/CRS.d.ts.map +0 -1
  901. package/lib/spatial/ecrs/CRS.js.map +0 -1
  902. package/lib/spatial/ecrs/CoordinateSystem.d.ts.map +0 -1
  903. package/lib/spatial/ecrs/CoordinateSystem.js.map +0 -1
  904. package/lib/spatial/ecrs/DataFileUnit.d.ts.map +0 -1
  905. package/lib/spatial/ecrs/DataFileUnit.js.map +0 -1
  906. package/lib/spatial/ecrs/Datum.d.ts.map +0 -1
  907. package/lib/spatial/ecrs/Datum.js.map +0 -1
  908. package/lib/spatial/ecrs/Ellipsoid.d.ts.map +0 -1
  909. package/lib/spatial/ecrs/Ellipsoid.js.map +0 -1
  910. package/lib/spatial/ecrs/OnlineEngine.d.ts.map +0 -1
  911. package/lib/spatial/ecrs/OnlineEngine.js.map +0 -1
  912. package/lib/spatial/ecrs/OnlineRegistry.d.ts.map +0 -1
  913. package/lib/spatial/ecrs/OnlineRegistry.js.map +0 -1
  914. package/lib/spatial/ecrs/Operation.d.ts.map +0 -1
  915. package/lib/spatial/ecrs/Operation.js.map +0 -1
  916. package/lib/spatial/ecrs/OperationMethod.d.ts.map +0 -1
  917. package/lib/spatial/ecrs/OperationMethod.js.map +0 -1
  918. package/lib/spatial/ecrs/ParameterValue.d.ts.map +0 -1
  919. package/lib/spatial/ecrs/ParameterValue.js.map +0 -1
  920. package/lib/spatial/ecrs/ParameterValueList.d.ts.map +0 -1
  921. package/lib/spatial/ecrs/ParameterValueList.js.map +0 -1
  922. package/lib/spatial/ecrs/PrimeMeridian.d.ts.map +0 -1
  923. package/lib/spatial/ecrs/PrimeMeridian.js.map +0 -1
  924. package/lib/spatial/ecrs/Registry.d.ts.map +0 -1
  925. package/lib/spatial/ecrs/Registry.js.map +0 -1
  926. package/lib/spatial/ecrs/Transform.d.ts.map +0 -1
  927. package/lib/spatial/ecrs/Transform.js.map +0 -1
  928. package/lib/spatial/ecrs/Unit.d.ts.map +0 -1
  929. package/lib/spatial/ecrs/Unit.js.map +0 -1
  930. package/lib/spatial/ecrs/VerticalModel.d.ts.map +0 -1
  931. package/lib/spatial/ecrs/VerticalModel.js.map +0 -1
  932. package/lib/spatial/ecrs/WellKnownText.d.ts.map +0 -1
  933. package/lib/spatial/ecrs/WellKnownText.js.map +0 -1
  934. package/lib/spatial/ecrs/WellKnownTextNode.d.ts.map +0 -1
  935. package/lib/spatial/ecrs/WellKnownTextNode.js.map +0 -1
  936. package/lib/spatial/ecrs/projection/HotineObliqueMercator.d.ts.map +0 -1
  937. package/lib/spatial/ecrs/projection/HotineObliqueMercator.js.map +0 -1
  938. package/lib/spatial/ecrs/projection/KrovakObliqueConformalConic.d.ts.map +0 -1
  939. package/lib/spatial/ecrs/projection/KrovakObliqueConformalConic.js.map +0 -1
  940. package/lib/spatial/ecrs/projection/KrovakObliqueConformalConicEN.d.ts.map +0 -1
  941. package/lib/spatial/ecrs/projection/KrovakObliqueConformalConicEN.js.map +0 -1
  942. package/lib/spatial/ecrs/projection/LambertConical1SP.d.ts.map +0 -1
  943. package/lib/spatial/ecrs/projection/LambertConical1SP.js.map +0 -1
  944. package/lib/spatial/ecrs/projection/LambertConical2SP.d.ts.map +0 -1
  945. package/lib/spatial/ecrs/projection/LambertConical2SP.js.map +0 -1
  946. package/lib/spatial/ecrs/projection/Mercator1SP.d.ts.map +0 -1
  947. package/lib/spatial/ecrs/projection/Mercator1SP.js.map +0 -1
  948. package/lib/spatial/ecrs/projection/ObliqueMercator.d.ts.map +0 -1
  949. package/lib/spatial/ecrs/projection/ObliqueMercator.js.map +0 -1
  950. package/lib/spatial/ecrs/projection/ObliqueStereographic.d.ts.map +0 -1
  951. package/lib/spatial/ecrs/projection/ObliqueStereographic.js.map +0 -1
  952. package/lib/spatial/ecrs/projection/TransverseMercator.d.ts.map +0 -1
  953. package/lib/spatial/ecrs/projection/TransverseMercator.js.map +0 -1
  954. package/lib/spatial/ecrs/transformation/PositionVector.d.ts.map +0 -1
  955. package/lib/spatial/ecrs/transformation/PositionVector.js.map +0 -1
  956. package/lib/spatial/geom/Bounds.d.ts.map +0 -1
  957. package/lib/spatial/geom/Bounds.js.map +0 -1
  958. package/lib/spatial/geom/Coordinate.d.ts.map +0 -1
  959. package/lib/spatial/geom/Coordinate.js.map +0 -1
  960. package/lib/spatial/geom/Line.d.ts.map +0 -1
  961. package/lib/spatial/geom/Line.js.map +0 -1
  962. package/lib/spatial/geom/Transform.d.ts.map +0 -1
  963. package/lib/spatial/geom/Transform.js.map +0 -1
  964. package/lib/system/buffer/ABuffer.d.ts.map +0 -1
  965. package/lib/system/buffer/ABuffer.js.map +0 -1
  966. package/lib/system/buffer/Float32Buffer.d.ts.map +0 -1
  967. package/lib/system/buffer/Float32Buffer.js.map +0 -1
  968. package/lib/system/buffer/LittleEndian.d.ts.map +0 -1
  969. package/lib/system/buffer/LittleEndian.js.map +0 -1
  970. package/lib/system/buffer/Uint16Buffer.d.ts.map +0 -1
  971. package/lib/system/buffer/Uint16Buffer.js.map +0 -1
  972. package/lib/system/buffer/Uint8Buffer.d.ts.map +0 -1
  973. package/lib/system/buffer/Uint8Buffer.js.map +0 -1
  974. package/lib/system/collection/AList.d.ts.map +0 -1
  975. package/lib/system/collection/AList.js.map +0 -1
  976. package/lib/system/collection/IntMap.d.ts.map +0 -1
  977. package/lib/system/collection/IntMap.js.map +0 -1
  978. package/lib/system/collection/StringMap.d.ts.map +0 -1
  979. package/lib/system/collection/StringMap.js.map +0 -1
  980. package/lib/system/io/ABufferInStream.d.ts.map +0 -1
  981. package/lib/system/io/ABufferInStream.js.map +0 -1
  982. package/lib/system/io/InStream.d.ts.map +0 -1
  983. package/lib/system/io/InStream.js.map +0 -1
  984. package/lib/system/io/OutStream.d.ts.map +0 -1
  985. package/lib/system/io/OutStream.js.map +0 -1
  986. package/lib/system/runtime/ALong.d.ts.map +0 -1
  987. package/lib/system/runtime/ALong.js.map +0 -1
  988. package/lib/system/runtime/ASystem.d.ts.map +0 -1
  989. package/lib/system/runtime/ASystem.js.map +0 -1
  990. package/lib/system/runtime/Downloader.d.ts.map +0 -1
  991. package/lib/system/runtime/Downloader.js.map +0 -1
  992. package/lib/system/runtime/DownloaderNode.d.ts.map +0 -1
  993. package/lib/system/runtime/DownloaderNode.js.map +0 -1
  994. package/lib/system/runtime/DownloaderXhr.d.ts.map +0 -1
  995. package/lib/system/runtime/DownloaderXhr.js.map +0 -1
  996. package/lib/system/runtime/Message.d.ts.map +0 -1
  997. package/lib/system/runtime/Message.js.map +0 -1
  998. package/lib/system/runtime/Numbers.d.ts.map +0 -1
  999. package/lib/system/runtime/Numbers.js.map +0 -1
  1000. package/lib/system/runtime/Strings.d.ts.map +0 -1
  1001. package/lib/system/runtime/Strings.js.map +0 -1
  1002. package/lib/system/runtime/iComparator.d.ts.map +0 -1
  1003. package/lib/system/runtime/iComparator.js.map +0 -1
  1004. package/lib/system/storage/CacheList.d.ts.map +0 -1
  1005. package/lib/system/storage/CacheList.js.map +0 -1
  1006. package/lib/system/storage/CachedItem.d.ts.map +0 -1
  1007. package/lib/system/storage/CachedItem.js.map +0 -1
  1008. package/lib/system/storage/ContentLoader.d.ts.map +0 -1
  1009. package/lib/system/storage/ContentLoader.js.map +0 -1
  1010. package/lib/system/storage/FileContent.d.ts.map +0 -1
  1011. package/lib/system/storage/FileContent.js.map +0 -1
  1012. package/lib/system/storage/FileRange.d.ts.map +0 -1
  1013. package/lib/system/storage/FileRange.js.map +0 -1
  1014. package/lib/system/storage/FileStorage.d.ts.map +0 -1
  1015. package/lib/system/storage/FileStorage.js.map +0 -1
  1016. package/lib/system/storage/NodeFS.d.ts.map +0 -1
  1017. package/lib/system/storage/NodeFS.js.map +0 -1
  1018. package/lib/system/storage/PageCachedFile.d.ts.map +0 -1
  1019. package/lib/system/storage/PageCachedFile.js.map +0 -1
  1020. package/lib/system/storage/UrlFS.d.ts.map +0 -1
  1021. package/lib/system/storage/UrlFS.js.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"CRS.d.ts","sourceRoot":"","sources":["../../../src/spatial/ecrs/CRS.ts"],"names":[],"mappings":"AAIA;;GAEG;AAMH,aAAK,KAAK,GAAG,MAAM,CAAC;AAEpB,aAAK,OAAO,GAAG,MAAM,CAAC;AAEtB,OAAO,EAAE,KAAK,EAAE,MAAM,+BAA+B,CAAC;AAGtD,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OA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,GAAG,CAAC,aAAa;YAAE,OAAO,eAAe,CAAC;QACzD,IAAI,OAAO,IAAI,GAAG,CAAC,SAAS;YAAE,OAAO,WAAW,CAAC;QACjD,IAAI,OAAO,IAAI,GAAG,CAAC,QAAQ;YAAE,OAAO,UAAU,CAAC;QAC/C,iBAAO,CAAC,OAAO,CAAC,KAAK,EAAE,YAAY,GAAG,OAAO,GAAG,aAAa,CAAC,CAAC;QAC/D,OAAO,IAAI,CAAC;IAChB,CAAC;;AA/6BL,kBAg7BC;AA/6BG,iCAAiC;AACV,YAAQ,GAAU,CAAC,CAAC;AAC3C,oCAAoC;AACb,eAAW,GAAU,CAAC,CAAC;AAC9C,mCAAmC;AACZ,cAAU,GAAU,CAAC,CAAC;AAC7C,sCAAsC;AACf,iBAAa,GAAU,CAAC,CAAC;AAChD,sCAAsC;AACf,iBAAa,GAAU,CAAC,CAAC;AAChD,kCAAkC;AACX,aAAS,GAAU,CAAC,CAAC;AAC5C,iCAAiC;AACV,YAAQ,GAAU,CAAC,CAAC;AAE3C,wEAAwE;AACjD,6BAAyB,GAAU,IAAI,CAAC;AAC/D,2EAA2E;AACpD,qBAAiB,GAAU,IAAI,CAAC;AACvD,2EAA2E;AACpD,qBAAiB,GAAU,IAAI,CAAC;AACvD,kDAAkD;AAC1B,oBAAgB,GAAU,IAAI,CAAC;AAEvD,mFAAmF;AAC5D,wBAAoB,GAAW,MAAM,CAAC;AAC7D,mFAAmF;AAC5D,gBAAY,GAAW,MAAM,CAAC;AACrD,2EAA2E;AACpD,gBAAY,GAAW,MAAM,CAAC;AAErD,4EAA4E;AAC7D,2BAAuB,GAAQ,IAAI,CAAC;AACnD,4EAA4E;AAC7D,mBAAe,GAAQ,IAAI,CAAC;AAC3C,oEAAoE;AACrD,mBAAe,GAAQ,IAAI,CAAC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module OrbitGT\n */\n\n//package orbitgt.spatial.ecrs;\n\ntype int8 = number;\ntype int16 = number;\ntype int32 = number;\ntype float32 = number;\ntype float64 = number;\n\nimport { AList } from \"../../system/collection/AList\";\nimport { ASystem } from \"../../system/runtime/ASystem\";\nimport { Strings } from \"../../system/runtime/Strings\";\nimport { Coordinate } from \"../geom/Coordinate\";\nimport { Axis } from \"./Axis\";\nimport { CoordinateSystem } from \"./CoordinateSystem\";\nimport { Datum } from \"./Datum\";\nimport { Ellipsoid } from \"./Ellipsoid\";\nimport { Operation } from \"./Operation\";\nimport { OperationMethod } from \"./OperationMethod\";\nimport { Registry } from \"./Registry\";\nimport { Transform } from \"./Transform\";\nimport { Unit } from \"./Unit\";\nimport { VerticalModel } from \"./VerticalModel\";\n\n/**\n * Class CRS defines the parameters of a coordinate reference system.\n * NOTE: geographic (lon-lat) CRSs have their coordinates in degrees (0..360) instead of radians (0..2PI).\n * NOTE: geocentric (ECEF) CRSs have their coordinates in meters.\n *\n * Based on the following document:\n *\n * Coordinate Conversions and Transformations including Formulas\n * Guidance Note Number 7, part 2\n * Revised May 2005\n * Available at: http://www.epsg.org/\n *\n * @version 1.0 July 2005\n */\n/** @internal */\nexport class CRS {\n /** The type of a compound CRS */\n public static readonly COMPOUND: int32 = 1;\n /** The type of a engineering CRS */\n public static readonly ENGINEERING: int32 = 2;\n /** The type of a geocentric CRS */\n public static readonly GEOCENTRIC: int32 = 3;\n /** The type of a geographic-2D CRS */\n public static readonly GEOGRAPHIC_2D: int32 = 4;\n /** The type of a geographic-3D CRS */\n public static readonly GEOGRAPHIC_3D: int32 = 5;\n /** The type of a projected CRS */\n public static readonly PROJECTED: int32 = 6;\n /** The type of a vertical CRS */\n public static readonly VERTICAL: int32 = 7;\n\n /** The identification code of the WGS 84 geocentric reference system */\n public static readonly WGS84_GEOCENTRIC_CRS_CODE: int32 = 4978;\n /** The identification code of the WGS 84 3D coordinate reference system */\n public static readonly WGS84_3D_CRS_CODE: int32 = 4979;\n /** The identification code of the WGS 84 2D coordinate reference system */\n public static readonly WGS84_2D_CRS_CODE: int32 = 4326;\n /** The identification code of the WGS 84 datum */\n private static readonly WGS84_DATUM_CODE: int32 = 6326;\n\n /** The identification code of the WGS 84 geocentric coordinate reference system */\n public static readonly CRS_WGS84_GEOCENTRIC: string = \"4978\";\n /** The identification code of the WGS 84 geographic coordinate reference system */\n public static readonly CRS_WGS84_3D: string = \"4979\";\n /** The identification code of the WGS 84 2D coordinate reference system */\n public static readonly CRS_WGS84_2D: string = \"4326\";\n\n /** The cache of the WGS 84 geocentric coordinate reference system (4978) */\n private static _CACHE_WGS84_GEOCENTRIC: CRS = null;\n /** The cache of the WGS 84 geographic coordinate reference system (4979) */\n private static _CACHE_WGS84_3D: CRS = null;\n /** The cache of the WGS 84 2D coordinate reference system (4326) */\n private static _CACHE_WGS84_2D: CRS = null;\n\n /** The code */\n private _code: int32;\n /** The name */\n private _name: string;\n /** The area of use */\n private _area: int32;\n /** The type (PROJECTED,GEOGRAPHIC_2D,GEOGRAPHIC_3D,GEOCENTRIC,VERTICAL,COMPOUND,...) */\n private _type: int32;\n\n /** The coordinate-system code */\n private _csCode: int32;\n /** The coordinate axes (defined by the csCode) */\n private _axes: AList<Axis>;\n /** The coordinate system (can be null) */\n private _coordinateSystem: CoordinateSystem;\n /** The datum */\n private _datum: Datum;\n\n /** The base geographic CRS */\n private _baseCRS: CRS;\n /** The projection (from the base CRS to this CRS) */\n private _projection: Operation;\n\n /** The transformations from the base geocentric CRS to the geocentric WGS (CRS 4326) */\n private _transformationsToWGS: AList<Operation>;\n /** The default transformation from the base geocentric CRS to the geocentric WGS (CRS 4326) */\n private _transformationToWGS: Operation;\n\n /** The horizontal CRS (type COMPOUND) */\n private _horizontalComponent: CRS;\n /** The vertical CRS (type COMPOUND) */\n private _verticalComponent: CRS;\n /** The vertical model (type VERTICAL) */\n private _verticalModel: VerticalModel;\n\n /** The text information (WKT) of the CRS */\n private _textForm: string;\n\n /** The access time of the CRS (for garbage collecting the dynamic CRS) */\n private _accessTime: float64;\n\n /**\n * Create a new CRS.\n * @param code the code.\n * @param name the name.\n * @param area the area of use.\n * @param type the type.\n * @param csCode the coordinate-system code.\n * @param datum the datum.\n * @param baseCRS the base geographic CRS.\n * @param projection the projection (from the base CRS to this CRS).\n * @param transformationsToWGS the transformations from the base geographic CRS to the WGS 84 datum (of CRS 4326).\n */\n public constructor(code: int32, name: string, area: int32, type: int32, csCode: int32, datum: Datum, baseCRS: CRS, projection: Operation, transformationsToWGS: AList<Operation>) {\n /* Store the parameters */\n this._code = code;\n this._name = name;\n this._area = area;\n this._type = type;\n this._csCode = csCode;\n this._axes = null;\n this._coordinateSystem = null;\n this._datum = datum;\n this._baseCRS = baseCRS;\n this._projection = projection;\n this._transformationsToWGS = transformationsToWGS;\n /* Get the default transform */\n this._transformationToWGS = Operation.getLatestTransformation(transformationsToWGS);\n /* Clear */\n this._horizontalComponent = null;\n this._verticalComponent = null;\n this._verticalModel = null;\n this._textForm = null;\n this._accessTime = 0.0;\n }\n\n /**\n * Create a compound CRS.\n * @param code the code.\n * @param name the name.\n * @param area the area of use.\n * @param horizontalCRS the horizontal CRS.\n * @param verticalCRS the vertical CRS.\n * @return the compound CRS.\n */\n public static createCompound(code: int32, name: string, area: int32, horizontalCRS: CRS, verticalCRS: CRS): CRS {\n /* Check the parameters */\n ASystem.assertNot(horizontalCRS == null, \"No horizontal CRS\");\n ASystem.assertNot(verticalCRS == null, \"No vertical CRS\");\n ASystem.assertNot(horizontalCRS.isVertical(), \"CRS is not horizontal: \" + horizontalCRS);\n ASystem.assertNot(verticalCRS.isVertical() == false, \"CRS is not vertical: \" + verticalCRS);\n /* Make the CRS */\n let crs: CRS = new CRS(code, name, area, CRS.COMPOUND, 0/*csCode*/, null/*datum*/, null/*baseCRS*/, null/*projection*/, null/*transformationsToWGS*/);\n crs._horizontalComponent = horizontalCRS;\n crs._verticalComponent = verticalCRS;\n /* Return the CRS */\n return crs;\n }\n\n /**\n * Get the code.\n * @return the code.\n */\n public getCode(): int32 {\n return this._code;\n }\n\n /**\n * Get the string code.\n * @return the string code.\n */\n public getStringCode(): string {\n return \"\" + this._code;\n }\n\n /**\n * Check if a code matches the CRS code.\n * @param code the code.\n * @return true if the code matches.\n */\n public hasStringCode(code: string): boolean {\n return Strings.equals(code, this.getStringCode());\n }\n\n /**\n * Get the name.\n * @return the name.\n */\n public getName(): string {\n return this._name;\n }\n\n /**\n * Get the area of use.\n * @return the area.\n */\n public getArea(): int32 {\n return this._area;\n }\n\n /**\n * Get the type.\n * @return the type.\n */\n public getType(): int32 {\n return this._type;\n }\n\n /**\n * Get the type label.\n * @return the type label.\n */\n public getTypeLabel(): string {\n return CRS.labelCRSType(this._type);\n }\n\n /**\n * Is this a geocentric CRS?\n * @return true for a geocentric CRS.\n */\n public isGeoCentric(): boolean {\n return (this._type == CRS.GEOCENTRIC);\n }\n\n /**\n * Is this a geographic CRS?\n * @return true for a projected CRS.\n */\n public isGeoGraphic(): boolean {\n return (this._type == CRS.GEOGRAPHIC_2D || this._type == CRS.GEOGRAPHIC_3D);\n }\n\n /**\n * Is this a geographic 2D CRS?\n * @return true for a projected 2D CRS.\n */\n public isGeoGraphic2D(): boolean {\n return (this._type == CRS.GEOGRAPHIC_2D);\n }\n\n /**\n * Is this a geographic 3D CRS?\n * @return true for a projected 3D CRS.\n */\n public isGeoGraphic3D(): boolean {\n return (this._type == CRS.GEOGRAPHIC_3D);\n }\n\n /**\n * Is this a projected CRS?\n * @return true for a projected CRS.\n */\n public isProjectedType(): boolean {\n return (this._type == CRS.PROJECTED);\n }\n\n /**\n * Is this a projected CRS?\n * @return true for a projected CRS.\n */\n public isProjected(): boolean {\n if (this._type == CRS.COMPOUND) return this._horizontalComponent.isProjected();\n return (this._type == CRS.PROJECTED);\n }\n\n /**\n * Is this a vertical CRS?\n * @return true for a vertical CRS.\n */\n public isVertical(): boolean {\n return (this._type == CRS.VERTICAL);\n }\n\n /**\n * Is this a compound CRS?\n * @return true for a compound CRS.\n */\n public isCompound(): boolean {\n return (this._type == CRS.COMPOUND);\n }\n\n /**\n * Get the coordinate-system code.\n * @return the coordinate-system code.\n */\n public getCoordinateSystemCode(): int32 {\n return this._csCode;\n }\n\n /**\n * Get the coordinate system.\n * @return the coordinate system (can be null if standard).\n */\n public getCoordinateSystem(): CoordinateSystem {\n return this._coordinateSystem;\n }\n\n /**\n * Get the datum.\n * @return the datum.\n */\n public getDatum(): Datum {\n if (this._datum != null) return this._datum;\n if (this._baseCRS != null) return this._baseCRS.getDatum();\n return null;\n }\n\n /**\n * Get the code of the datum.\n * @return the code of the datum (0 if there is no datum).\n */\n public getDatumCode(): int32 {\n let datum: Datum = this.getDatum();\n return (datum == null) ? 0 : datum.getCode();\n }\n\n /**\n * Set the datum.\n * @param datum the new datum (if null check the base CRS).\n */\n public setDatum(datum: Datum): void {\n this._datum = datum;\n }\n\n /**\n * Get the ellipsoid.\n * @return the ellipsoid.\n */\n public getEllipsoid(): Ellipsoid {\n return this.getDatum().getEllipsoid();\n }\n\n /**\n * Get the base geographic CRS.\n * @return the base geographic CRS.\n */\n public getBaseCRS(): CRS {\n return this._baseCRS;\n }\n\n /**\n * Set the base geographic CRS.\n * @param baseCRS the new base geographic CRS.\n */\n public setBaseCRS(baseCRS: CRS): void {\n this._baseCRS = baseCRS;\n }\n\n /**\n * Get the coordinate axis of the CRS.\n * @return the coordinate axis of the CRS.\n */\n public getAxes(): AList<Axis> {\n return this._axes;\n }\n\n /**\n * Set the coordinate axis of the CRS.\n * @param axis the coordinate axis of the CRS.\n */\n public setAxes(axes: AList<Axis>): void {\n /* Store the parameters */\n this._axes = axes;\n /* Update the coordinate system */\n this._coordinateSystem = CoordinateSystem.create(this._type, this._csCode, this._axes);\n }\n\n /**\n * Get the unit code of the first coordinate axis of the CRS.\n * @return the unit code (defaults to METER).\n */\n public getFirstAxisUnitCode(): int32 {\n if (this._type == CRS.COMPOUND) return this._horizontalComponent.getFirstAxisUnitCode();\n if (this._axes == null) return Unit.METER;\n if (this._axes.size() == 0) return Unit.METER;\n return this._axes.get(0).getUnitCode();\n }\n\n /**\n * Get the projection (from the base CRS to this CRS).\n * @return the projection.\n */\n public getProjection(): Operation {\n return this._projection;\n }\n\n /**\n * Set the projection (from the base CRS to this CRS).\n * @param projection the projection.\n */\n public setProjection(projection: Operation): void {\n this._projection = projection;\n }\n\n /**\n * Get the projection method (from the base CRS to this CRS).\n * @return the projection method.\n */\n public getProjectionMethod(): OperationMethod {\n if (this._projection == null) return null;\n return this._projection.getMethod();\n }\n\n /**\n * Get the horizontal component of a compound CRS.\n * @return the horizontal component of a compound CRS.\n */\n public getHorizontalComponent(): CRS {\n /* Check the type */\n ASystem.assertNot(this._type != CRS.COMPOUND, \"CRS \" + this._code + \" is not compound\");\n /* Return the component */\n return this._horizontalComponent;\n }\n\n /**\n * Check if there is a vertical component (only for type COMPOUND).\n * @return true if there is a vertical component.\n */\n public hasVerticalComponent(): boolean {\n /* Check the type */\n if (this._type != CRS.COMPOUND) return false;\n /* Check the component */\n return (this._verticalComponent != null);\n }\n\n /**\n * Get the vertical component of a compound CRS.\n * @return the vertical component of a compound CRS.\n */\n public getVerticalComponent(): CRS {\n /* Check the type */\n ASystem.assertNot(this._type != CRS.COMPOUND, \"CRS \" + this._code + \" is not compound\");\n /* Return the component */\n return this._verticalComponent;\n }\n\n /**\n * Get the vertical model (only for type VERTICAL).\n * @return the vertical model.\n */\n public getVerticalModel(): VerticalModel {\n return this._verticalModel;\n }\n\n /**\n * Set the vertical model (only for type VERTICAL).\n * @param verticalModel the vertical model.\n */\n public setVerticalModel(verticalModel: VerticalModel): void {\n this._verticalModel = verticalModel;\n }\n\n /**\n * Peek at the transformations from the base geographic CRS to the WGS 84 datum (of CRS 4326).\n * @return the transformations.\n */\n public peekTransformationsToWGS(): AList<Operation> {\n return this._transformationsToWGS;\n }\n\n /**\n * Get the transformations from the base geographic CRS to the WGS 84 datum (of CRS 4326).\n * @return the transformations.\n */\n public getTransformationsToWGS(): AList<Operation> {\n if ((this._transformationsToWGS != null) && (this._transformationsToWGS.size() > 0)) return this._transformationsToWGS;\n if (this._baseCRS != null) return this._baseCRS.getTransformationsToWGS();\n return new AList<Operation>();\n }\n\n /**\n * Set the transformations from the base geographic CRS to the WGS 84 datum (of CRS 4326).\n * @param transformations the transformations.\n */\n public setTransformationsToWGS(transformations: AList<Operation>): void {\n this._transformationsToWGS = transformations;\n }\n\n /**\n * Get the default transformation from the base geographic CRS to the WGS 84 datum (of CRS 4326).\n * @return a transformation (null if not available).\n */\n public getTransformationToWGS(): Operation {\n if (this._transformationToWGS != null) return this._transformationToWGS;\n if (this._baseCRS != null) return this._baseCRS.getTransformationToWGS();\n return null;\n }\n\n /**\n * Set the default transformation from the base geographic CRS to the WGS 84 datum (of CRS 4326).\n * @param transformation a transformation (null if not available).\n */\n public setTransformationToWGS(transformation: Operation): void {\n this._transformationToWGS = transformation;\n }\n\n /**\n * Convert to a geocentric coordinate.\n * @param local the coordinate in this CRS.\n * @return the geocentric coordinate.\n */\n public toGeoCentric(local: Coordinate): Coordinate {\n /* Projection ? */\n if (this._type == CRS.PROJECTED) {\n /* We need a geographic base CRS */\n ASystem.assertNot(this._baseCRS.isGeoGraphic() == false, \"Projected CRS '\" + this._code + \"' needs a geographic base CRS '\" + this._baseCRS.getCode() + \"', not '\" + this._baseCRS.getTypeLabel() + \"'\");\n /* Convert to standard units */\n let projected: Coordinate = local.copy();\n if (this._coordinateSystem != null) this._coordinateSystem.localToStandard(projected, projected);\n /* Inverse the projection to get geographic (lon,lat) coordinates (radians) */\n let geographic: Coordinate = new Coordinate(0.0, 0.0, 0.0);\n this._projection.reverse(geographic, projected);\n /* The geographic coordinates are in degrees */\n geographic.setX(geographic.getX() / Math.PI * 180.0);\n geographic.setY(geographic.getY() / Math.PI * 180.0);\n /* Let the base CRS calculate the geocentric coordinates */\n return this._baseCRS.toGeoCentric(geographic);\n }\n /* Geocentric ? */\n if (this._type == CRS.GEOCENTRIC) {\n /* Already geocentric */\n return local.copy();\n }\n /* Geographic ? */\n if (this._type == CRS.GEOGRAPHIC_2D || this._type == CRS.GEOGRAPHIC_3D) {\n /* All geographic coordinates are in degrees */\n let geographic: Coordinate = local.copy();\n geographic.setX(geographic.getX() / 180.0 * Math.PI);\n geographic.setY(geographic.getY() / 180.0 * Math.PI);\n /* Convert from geographic (radians) to geocentric */\n let geocentric: Coordinate = new Coordinate(0.0, 0.0, 0.0);\n this._datum.getEllipsoid().toGeoCentric(geographic, geocentric);\n /* Return the geocentric coordinates */\n return geocentric;\n }\n /* We cannot transform */\n ASystem.assertNot(true, \"No geocentric transform for \" + this);\n return null;\n }\n\n /**\n * Convert from a geocentric coordinate.\n * @param geocentric the geocentric coordinate.\n * @return the coordinate in this CRS.\n */\n public fromGeoCentric(geocentric: Coordinate): Coordinate {\n /* Projection ? */\n if (this._type == CRS.PROJECTED) {\n /* We need a geographic base CRS */\n ASystem.assertNot(this._baseCRS.isGeoGraphic() == false, \"Projected CRS '\" + this._code + \"' needs a geographic base CRS '\" + this._baseCRS.getCode() + \"', not '\" + this._baseCRS.getTypeLabel() + \"'\");\n /* Get the geographic coordinate */\n let geographic: Coordinate = this._baseCRS.fromGeoCentric(geocentric);\n /* The geographic coordinates are in degrees */\n geographic.setX(geographic.getX() / 180.0 * Math.PI);\n geographic.setY(geographic.getY() / 180.0 * Math.PI);\n /* Make the projection */\n let projected: Coordinate = new Coordinate(0.0, 0.0, 0.0);\n this._projection.forward(geographic, projected);\n /* Convert to local units */\n if (this._coordinateSystem != null) this._coordinateSystem.standardToLocal(projected, projected);\n /* Return the projected coordinate */\n return projected;\n }\n /* Geocentric ? */\n if (this._type == CRS.GEOCENTRIC) {\n /* Already geocentric */\n return geocentric.copy();\n }\n /* Geographic ? */\n if (this._type == CRS.GEOGRAPHIC_2D || this._type == CRS.GEOGRAPHIC_3D) {\n /* Convert from geocentric to geographic (radians) */\n let geographic: Coordinate = new Coordinate(0.0, 0.0, 0.0);\n this._datum.getEllipsoid().toGeoGraphic(geocentric, geographic);\n /* All geographic coordinates need to be in degrees */\n geographic.setX(geographic.getX() / Math.PI * 180.0);\n geographic.setY(geographic.getY() / Math.PI * 180.0);\n /* Return the geographic coordinate */\n return geographic;\n }\n /* We cannot transform */\n ASystem.assertNot(true, \"No geocentric transform for \" + this);\n return null;\n }\n\n /**\n * Check if this CRS is a projection of another CRS.\n * @param geographic the geographic CRS to check.\n * @return true if this is a projection of the geographic CRS.\n */\n public isProjectionOf(geographic: CRS): boolean {\n /* This has to be a projection */\n if (this._type != CRS.PROJECTED) return false;\n if (this._projection == null) return false;\n if (this._baseCRS == null) return false;\n /* We need a geographic system */\n if (geographic._type != CRS.GEOGRAPHIC_2D && geographic._type != CRS.GEOGRAPHIC_3D) return false;\n /* Is this our base CRS? */\n return (this._baseCRS.isCompatible(geographic));\n }\n\n /**\n * Convert from a geographic coordinate to a projected coordinate.\n * @param geographic the source geographic coordinate (in degrees).\n * @param projected the target projected coordinate (use null to create a new coordinate).\n * @return the projected coordinate.\n */\n public toProjected(geographic: Coordinate, projected: Coordinate): Coordinate {\n /* Create target? */\n if (projected == null) projected = new Coordinate(0.0, 0.0, 0.0);\n /* The geographic coordinates are kept in degrees */\n projected.setX(geographic.getX() / 180.0 * Math.PI);\n projected.setY(geographic.getY() / 180.0 * Math.PI);\n projected.setZ(geographic.getZ());\n /* Make the projection */\n this._projection.forward(projected, projected);\n /* Convert to local units */\n if (this._coordinateSystem != null) this._coordinateSystem.standardToLocal(projected, projected);\n /* Return the result */\n return projected;\n }\n\n /**\n * Convert from a projected coordinate to a geographic coordinate.\n * @param projected the source projected coordinate.\n * @param geographic the target geographic coordinate (in degrees) (use null to create a new coordinate).\n * @return the geographic coordinate.\n */\n public fromProjected(projected: Coordinate, geographic: Coordinate): Coordinate {\n /* Create target? */\n if (geographic == null) geographic = new Coordinate(0.0, 0.0, 0.0);\n /* Convert to standard units */\n let projected2: Coordinate = projected.copy();\n if (this._coordinateSystem != null) this._coordinateSystem.localToStandard(projected2, projected2);\n /* Inverse the projection to get the geographic (lon,lat) coordinates (radians) */\n this._projection.reverse(geographic, projected2);\n /* The geographic coordinates are kept in degrees */\n geographic.setX(geographic.getX() / Math.PI * 180.0);\n geographic.setY(geographic.getY() / Math.PI * 180.0);\n /* Return the result */\n return geographic;\n }\n\n /**\n * Get the WGS 84 2D geocentric reference system.\n * @return the WGS 84 2D geocentric reference system.\n */\n private static getWGS84_GeoCentric(): CRS {\n if (CRS._CACHE_WGS84_GEOCENTRIC == null) CRS._CACHE_WGS84_GEOCENTRIC = Registry.getCRS2(CRS.CRS_WGS84_GEOCENTRIC);\n return CRS._CACHE_WGS84_GEOCENTRIC;\n }\n\n /**\n * Get the WGS 84 2D geographic reference system.\n * @return the WGS 84 2D geographic reference system.\n */\n private static getWGS84_3D(): CRS {\n if (CRS._CACHE_WGS84_3D == null) CRS._CACHE_WGS84_3D = Registry.getCRS2(CRS.CRS_WGS84_3D);\n return CRS._CACHE_WGS84_3D;\n }\n\n /**\n * Get the WGS 84 2D coordinate reference system.\n * @return the WGS 84 2D coordinate reference system.\n */\n private static getWGS84_2D(): CRS {\n if (CRS._CACHE_WGS84_2D == null) CRS._CACHE_WGS84_2D = Registry.getCRS2(CRS.CRS_WGS84_2D);\n return CRS._CACHE_WGS84_2D;\n }\n\n /**\n * Is a conversion to and from the WGS 84 coordinate system possible?\n * @return true if possible.\n */\n public isWGSCompatible(): boolean {\n /* Already in WGS ? */\n if (this.getDatum().getCode() == CRS.WGS84_DATUM_CODE) return true;\n /* Get the transformation from the local datum to the WGS datum */\n let localToWGS: Operation = this.getTransformationToWGS();\n if (localToWGS == null) return false;\n /* Compatible */\n return true;\n }\n\n /**\n * Convert a coordinate to the WGS 84 (geographic 2D) coordinate system.\n * @param source the coordinates in this CRS.\n * @param wgsTransformationIndex the index of the WGS transformation to use (negative for the default transformation).\n * @return the WGS 84 coordinate, x is longitude(-180..+180), y is latitude(-90..+90) and z is height (the z height is the same as the local height).\n */\n public toWGSi(source: Coordinate, wgsTransformationIndex: int32): Coordinate {\n /* Already in the WGS datum ? */\n if (this.getDatum().getCode() == CRS.WGS84_DATUM_CODE) {\n /* Geocentric ? */\n if (this._type == CRS.GEOCENTRIC) {\n /* Convert from geocentric to geographic coordinates */\n let ageographic: Coordinate = new Coordinate(0.0, 0.0, 0.0);\n this._datum.getEllipsoid().toGeoGraphic(source/*geocentric*/, ageographic);\n /* The WGS coordinates need to be in degrees */\n ageographic.setX(ageographic.getX() / Math.PI * 180.0);\n ageographic.setY(ageographic.getY() / Math.PI * 180.0);\n /* Return the WGS coordinates */\n return ageographic;\n }\n /* Projected ? */\n if (this._projection != null) {\n /* Convert to standard units */\n let projected: Coordinate = source.copy();\n if (this._coordinateSystem != null) this._coordinateSystem.localToStandard(projected, projected);\n /* Inverse the projection to go from projected to geographic (lon,lat) coordinates */\n let ageographic: Coordinate = new Coordinate(0.0, 0.0, 0.0);\n this._projection.reverse(ageographic, projected);\n /* The WGS coordinates need to be in degrees */\n ageographic.setX(ageographic.getX() / Math.PI * 180.0);\n ageographic.setY(ageographic.getY() / Math.PI * 180.0);\n /* Return the WGS coordinates */\n return ageographic;\n }\n /* Geographic */\n return new Coordinate(source.getX(), source.getY(), source.getZ());\n }\n /* Get the transformation from the local datum to the WGS datum */\n let localToWGS: Operation = (wgsTransformationIndex < 0) ? this.getTransformationToWGS() : this.getTransformationsToWGS().get(wgsTransformationIndex);\n // if (localToWGS==null)\n // {\n // /* We cannot transform */\n // ASystem.assert(false,\"No datum transformation from \"+this+\" to WGS\");\n // }\n /* Does the transform work on the projected coordinates (like the OSTN02 grid correction)? */\n let geocentric: Coordinate;\n if ((localToWGS != null) && localToWGS.getSourceCRS().isProjected()) {\n /* Start with the projected coordinate */\n geocentric = new Coordinate(source.getX(), source.getY(), source.getZ());\n }\n else {\n /* Calculate the geocentric coordinate */\n geocentric = this.toGeoCentric(new Coordinate(source.getX(), source.getY(), source.getZ()));\n }\n /* Apply the transform to the WGS datum */\n if (localToWGS != null) localToWGS.forward(geocentric, geocentric);\n /* Get the geographic coordinate */\n let geographic: Coordinate = CRS.getWGS84_2D().fromGeoCentric(geocentric);\n /* Does the transform work on the projected coordinates (like the OSTN02 grid correction)? */\n if ((localToWGS != null) && localToWGS.getSourceCRS().isProjected()) {\n /* Assume we have the right Z */\n }\n else {\n /* Restore the original Z (is this allowed??) <ISSUE> */\n geographic.setZ(source.getZ());\n }\n /* Return the WGS geographic coordinates */\n return geographic;\n }\n\n /**\n * Convert a coordinate to the WGS 84 (geographic 2D) coordinate system.\n * @param source the coordinates in this CRS.\n * @return the WGS 84 coordinate, x is longitude(-180..+180), y is latitude(-90..+90) and z is height (the z height is the same as the local height).\n */\n public toWGS(source: Coordinate): Coordinate {\n return this.toWGSi(source, -1);\n }\n\n /**\n * Convert from the WGS 84 (geographic 2D) coordinate system to this coordinate system.\n * @param source the coordinates in the WGS 84 coordinate system, where x is longitude(-180..+180), y is latitude(-90..+90) and z is height.\n * @param wgsTransformationIndex the index of the WGS transformation to use (negative for the default transformation).\n * @return the coordinates in this CRS (the z height is the same as the WGS height).\n */\n public fromWGSi(source: Coordinate, wgsTransformationIndex: int32): Coordinate {\n /* Already in the WGS datum ? */\n if (this.getDatum().getCode() == CRS.WGS84_DATUM_CODE) {\n /* Geocentric ? */\n if (this._type == CRS.GEOCENTRIC) {\n /* Convert to radians */\n let lon: float64 = source.getX() / 180.0 * Math.PI;\n let lat: float64 = source.getY() / 180.0 * Math.PI;\n let geographic: Coordinate = new Coordinate(lon, lat, source.getZ());\n /* Convert from geographic to geocentric coordinates */\n let geocentric: Coordinate = new Coordinate(0.0, 0.0, 0.0);\n this._datum.getEllipsoid().toGeoCentric(geographic, geocentric);\n /* Return the geocentric coordinates */\n return geocentric;\n }\n /* Projected ? */\n if (this._projection != null) {\n /* Convert to radians */\n let lon: float64 = source.getX() / 180.0 * Math.PI;\n let lat: float64 = source.getY() / 180.0 * Math.PI;\n let geographic: Coordinate = new Coordinate(lon, lat, source.getZ());\n /* Use the projection to go from geographic (lon,lat) coordinates to projected coordinates */\n let projected: Coordinate = new Coordinate(0.0, 0.0, 0.0);\n this._projection.forward(geographic, projected);\n /* Convert to local units */\n if (this._coordinateSystem != null) this._coordinateSystem.standardToLocal(projected, projected);\n /* Return the projected coordinates */\n return projected;\n }\n /* Geographic */\n return new Coordinate(source.getX(), source.getY(), source.getZ());\n }\n /* Get the transformation from the local datum to the WGS datum */\n let localToWGS: Operation = (wgsTransformationIndex < 0) ? this.getTransformationToWGS() : this.getTransformationsToWGS().get(wgsTransformationIndex);\n // if (localToWGS==null)\n // {\n // /* We cannot transform */\n // ASystem.assert(false,\"No datum transformation from \"+this+\" to WGS\");\n // }\n /* Transform from the WGS datum to the local datum */\n let localGeocentric: Coordinate = CRS.getWGS84_2D().toGeoCentric(source/*geographic*/);\n if (localToWGS != null) localToWGS.reverse(localGeocentric, localGeocentric);\n /* Does the transform work on the projected coordinates (like the OSTN02 grid correction)? */\n if ((localToWGS != null) && localToWGS.getSourceCRS().isProjected()) {\n /* We already have the result */\n return localGeocentric;\n }\n else {\n /* Convert from geocentric to local coordinates */\n let local: Coordinate = this.fromGeoCentric(localGeocentric);\n /* Restore the original Z (is this allowed??) <ISSUE> */\n local.setZ(source.getZ());\n /* Return the local coordinates */\n return local;\n }\n }\n\n /**\n * Convert from the WGS 84 (geographic 2D) coordinate system to this coordinate system.\n * @param source the coordinates in the WGS 84 coordinate system, where x is longitude(-180..+180), y is latitude(-90..+90) and z is height.\n * @return the coordinates in this CRS (the z height is the same as the WGS height).\n */\n public fromWGS(source: Coordinate): Coordinate {\n return this.fromWGSi(source, -1);\n }\n\n /**\n * Check if another CRS is compatible with this one.\n * @param other the other CRS.\n * @return true if compatible.\n */\n public isCompatible(other: CRS): boolean {\n /* Check the base parameters */\n if (other._code == this._code) return true;\n if (other._type != this._type) return false;\n if (other._csCode != this._csCode) return false;\n /* Geographic? */\n if (this.isGeoCentric() || this.isGeoGraphic()) {\n /* Same datum? */\n if (Datum.areCompatible(other.getDatum(), this.getDatum()) == false) return false;\n /* We need the same transformation to WGS (check CRS 2039 for example: wgs compatible datum, but with geocentric translation to wgs) */\n if (Operation.isCompatibleOperation(other.getTransformationToWGS(), this.getTransformationToWGS()) == false) return false;\n return true;\n }\n /* Projected? */\n else if (this.isProjected()) {\n /* Same projection? */\n if (Operation.isCompatibleOperation(other._projection, this._projection) == false) return false;\n /* Has base CRS? */\n if (other._baseCRS == null || this._baseCRS == null) return false;\n /* Same base? */\n return (other._baseCRS.isCompatible(this._baseCRS));\n }\n /* Vertical? */\n else if (this.isVertical()) {\n /* Same datum? */\n if (Datum.areCompatible(other.getDatum(), this.getDatum()) == false) return false;\n return true;\n }\n /* Compound? */\n else if (this.isCompound()) {\n /* Same components? */\n if (CRS.areCompatible(other._horizontalComponent, this._horizontalComponent) == false) return false;\n if (CRS.areCompatible(other._verticalComponent, this._verticalComponent) == false) return false;\n return true;\n }\n /* Other */\n else {\n return false;\n }\n }\n\n /**\n * Check if two CRSs are compatible.\n * @param crs1 the first CRS.\n * @param crs2 the second CRS.\n * @return true if compatible.\n */\n public static areCompatible(crs1: CRS, crs2: CRS): boolean {\n if (crs1 == null) return (crs2 == null);\n if (crs2 == null) return false;\n return crs1.isCompatible(crs2);\n }\n\n /**\n * Get the text form of the CRS.\n * @return the text form of the CRS.\n */\n public getTextForm(): string {\n return this._textForm;\n }\n\n /**\n * Set the text form of the CRS.\n * @param textForm the text form of the CRS.\n */\n public setTextForm(textForm: string): void {\n this._textForm = textForm;\n }\n\n\t/**\n\t * Get the access time.\n\t * @return the access time.\n\t */\n public getAccessTime(): float64 {\n return this._accessTime;\n }\n\n\t/**\n\t * Set the access time.\n\t * @param time the access time.\n\t */\n public setAccessTime(time: float64): void {\n this._accessTime = time;\n }\n\n /**\n * The standard toString method.\n * @see Object#toString\n */\n public toString(): string {\n return \"[CRS:code=\" + this._code + \",name='\" + this._name + \"',area=\" + this._area + \",type='\" + CRS.labelCRSType(this._type) + \"',datum=\" + this._datum + \",baseCRS=\" + this._baseCRS + \",wgs-transform=\" + (this._transformationToWGS != null) + \"]\";\n }\n\n /**\n * Get the type of a CRS.\n * @param crsKind the type of CRS.\n * @return a parsed type.\n */\n public static parseCRSType(crsKind: string): int32 {\n if (Strings.equalsIgnoreCase(crsKind, \"compound\")) return CRS.COMPOUND;\n if (Strings.equalsIgnoreCase(crsKind, \"engineering\")) return CRS.ENGINEERING;\n if (Strings.equalsIgnoreCase(crsKind, \"geocentric\")) return CRS.GEOCENTRIC;\n if (Strings.equalsIgnoreCase(crsKind, \"geographic 2D\")) return CRS.GEOGRAPHIC_2D;\n if (Strings.equalsIgnoreCase(crsKind, \"geographic 3D\")) return CRS.GEOGRAPHIC_3D;\n if (Strings.equalsIgnoreCase(crsKind, \"projected\")) return CRS.PROJECTED;\n if (Strings.equalsIgnoreCase(crsKind, \"vertical\")) return CRS.VERTICAL;\n ASystem.assert0(false, \"CRS kind '\" + crsKind + \"' not found\");\n return 0;\n }\n\n /**\n * Get the label of a type of a CRS.\n * @param crsType the type of CRS.\n * @return a label.\n */\n public static labelCRSType(crsType: int32): string {\n if (crsType == CRS.COMPOUND) return \"compound\";\n if (crsType == CRS.ENGINEERING) return \"engineering\";\n if (crsType == CRS.GEOCENTRIC) return \"geocentric\";\n if (crsType == CRS.GEOGRAPHIC_2D) return \"geographic 2D\";\n if (crsType == CRS.GEOGRAPHIC_3D) return \"geographic 3D\";\n if (crsType == CRS.PROJECTED) return \"projected\";\n if (crsType == CRS.VERTICAL) return \"vertical\";\n ASystem.assert0(false, \"CRS type '\" + crsType + \"' not found\");\n return null;\n }\n}\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"CoordinateSystem.d.ts","sourceRoot":"","sources":["../../../src/spatial/ecrs/CoordinateSystem.ts"],"names":[],"mappings":"AAIA;;GAEG;AAMH,aAAK,KAAK,GAAG,MAAM,CAAC;AAIpB,OAAO,EAAE,KAAK,EAAE,MAAM,+BAA+B,CAA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AQ,CAAC,IAAI,EAAE,CAAC;QACjC,IAAI,IAAI,CAAC,MAAM,IAAI,IAAI;YAAE,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC;QACzD,WAAW;QACX,IAAI,CAAC,GAAY,QAAQ,CAAC,IAAI,EAAE,CAAC;QACjC,IAAI,IAAI,CAAC,MAAM,IAAI,IAAI;YAAE,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC;QACzD,WAAW;QACX,IAAI,CAAC,GAAY,QAAQ,CAAC,IAAI,EAAE,CAAC;QACjC,IAAI,IAAI,CAAC,MAAM,IAAI,IAAI;YAAE,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC;QACzD,SAAS;QACT,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,qBAAqB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;QACtE,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,qBAAqB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;QACtE,IAAI,IAAI,CAAC,KAAK,CAAC,IAAI,EAAE,IAAI,CAAC;YAAE,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,qBAAqB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;IACtG,CAAC;;AA9SL,4CA+SC;AA9SG,8BAA8B;AACN,uBAAM,GAAW,kBAAkB,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;\n\ntype int8 = number;\ntype int16 = number;\ntype int32 = number;\ntype float32 = number;\ntype float64 = number;\n\nimport { AList } from \"../../system/collection/AList\";\nimport { Message } from \"../../system/runtime/Message\";\nimport { Strings } from \"../../system/runtime/Strings\";\nimport { Coordinate } from \"../geom/Coordinate\";\nimport { Axis } from \"./Axis\";\nimport { CRS } from \"./CRS\";\nimport { Registry } from \"./Registry\";\nimport { Unit } from \"./Unit\";\n\n/**\n * Class CoordinateSystem manages the different coordinate systems.\n *\n * @version 1.0 October 2014\n */\n/** @internal */\nexport class CoordinateSystem {\n /** The name of this module */\n private static readonly MODULE: string = \"CoordinateSystem\";\n\n /** The type of coordinate reference system (PROJECTED,GEOGRAPHIC_2D,...) */\n private _type: int32;\n /** The coordinate-system code */\n private _csCode: int32;\n /** The coordinate axes (defined by the csCode) */\n private _axes: AList<Axis>;\n\n /** The X axis (derived) */\n private _xAxis: Axis;\n /** The Y axis (derived) */\n private _yAxis: Axis;\n /** The Z axis (derived) */\n private _zAxis: Axis;\n /** The X unit (derived) */\n private _xUnit: Unit;\n /** The Y unit (derived) */\n private _yUnit: Unit;\n /** The Z unit (derived) */\n private _zUnit: Unit;\n\n /**\n * Check if easting-northing axis order is swapped?\n * @param csCode the code of the coordinate-system.\n * @return true for swapped CRS.\n */\n public static isSwappedEN(csCode: int32): boolean {\n if (csCode == 1029) return true;\n // \tif (csCode==4400) return true; // this used to be swapped in the EPSG database, but not anymore\n if (csCode == 4498) return true;\n if (csCode == 4500) return true;\n if (csCode == 4532) return true;\n return false;\n }\n\n /**\n * Create a coordinate system.\n * @param type the type of coordinate reference system (PROJECTED,GEOGRAPHIC_2D,...).\n * @param csCode the coordinate-system code.\n * @param axes the (sorted on order) coordinate axes.\n * @return the coordinate system (null for an identify system).\n */\n public static create(type: int32, csCode: int32, axes: AList<Axis>): CoordinateSystem {\n let coordinateSystem: CoordinateSystem = new CoordinateSystem(type, csCode, axes);\n if (coordinateSystem.isIdentity()) return null;\n return coordinateSystem;\n }\n\n /**\n * Create a new coordinate system.\n * @param type the type of coordinate reference system (PROJECTED,GEOGRAPHIC_2D,...).\n * @param csCode the coordinate-system code.\n * @param axes the (sorted on order) coordinate axes.\n */\n public constructor(type: int32, csCode: int32, axes: AList<Axis>) {\n /* Store the parameters */\n this._type = type;\n this._csCode = csCode;\n this._axes = axes;\n /* Clear */\n this._xAxis = null;\n this._yAxis = null;\n this._zAxis = null;\n this._xUnit = null;\n this._yUnit = null;\n this._zUnit = null;\n /* Projection? */\n if (type == CRS.PROJECTED) this.parseProjection();\n /* Log? */\n if (this.isIdentity() == false) {\n /* Log */\n Message.print(CoordinateSystem.MODULE, \"Created coordinate system \" + this._csCode);\n if (this._xAxis != null) Message.print(CoordinateSystem.MODULE, \"X axis '\" + this._xAxis.getAbbreviation() + \"'/'\" + this._xAxis.getAxisName() + \"' (\" + this._xAxis.getOrder() + \")\");\n if (this._yAxis != null) Message.print(CoordinateSystem.MODULE, \"Y axis '\" + this._yAxis.getAbbreviation() + \"'/'\" + this._yAxis.getAxisName() + \"' (\" + this._yAxis.getOrder() + \")\");\n if (this._zAxis != null) Message.print(CoordinateSystem.MODULE, \"Z axis '\" + this._zAxis.getAbbreviation() + \"'/'\" + this._zAxis.getAxisName() + \"' (\" + this._zAxis.getOrder() + \")\");\n if (this._xUnit != null) Message.print(CoordinateSystem.MODULE, \"X unit '\" + this._xUnit.getName() + \"'\");\n if (this._yUnit != null) Message.print(CoordinateSystem.MODULE, \"Y unit '\" + this._yUnit.getName() + \"'\");\n if (this._zUnit != null) Message.print(CoordinateSystem.MODULE, \"Z unit '\" + this._zUnit.getName() + \"'\");\n }\n }\n\n /**\n * Get the type of coordinate reference system (PROJECTED,GEOGRAPHIC_2D,...).\n * @return the type.\n */\n public getType(): int32 {\n return this._type;\n }\n\n /**\n * Get the code of the coordinate system.\n * @return the code of the coordinate system.\n */\n public getCode(): int32 {\n return this._csCode;\n }\n\n /**\n * Get the coordinate axes.\n * @return the coordinate axes.\n */\n public getAxes(): AList<Axis> {\n return this._axes;\n }\n\n /**\n * Do we have an identity transformation between local and standard forms?\n * @return true for an identity transform.\n */\n public isIdentity(): boolean {\n /* Check the axis */\n if ((this._xAxis != null) && (this._xAxis.getOrder() != 1)) return false;\n if ((this._yAxis != null) && (this._yAxis.getOrder() != 2)) return false;\n if ((this._zAxis != null) && (this._zAxis.getOrder() != 3)) return false;\n /* Check the units */\n if (this._xUnit != null) return false;\n if (this._yUnit != null) return false;\n if (this._zUnit != null) return false;\n /* We have identity */\n return true;\n }\n\n /**\n * Get the X axis.\n * @return the X axis.\n */\n public getXAxis(): Axis {\n return this._xAxis;\n }\n\n /**\n * Get the Y axis.\n * @return the Y axis.\n */\n public getYAxis(): Axis {\n return this._yAxis;\n }\n\n /**\n * Get the Z axis.\n * @return the Z axis.\n */\n public getZAxis(): Axis {\n return this._zAxis;\n }\n\n /**\n * Get the unit of the first axis.\n * @return the unit of the first axis (null for the default unit).\n */\n public getXUnit(): Unit {\n return this._xUnit;\n }\n\n /**\n * Get the unit of the second axis.\n * @return the unit of the second axis (null for the default unit).\n */\n public getYUnit(): Unit {\n return this._yUnit;\n }\n\n /**\n * Get the unit of the third axis.\n * @return the unit of the third axis (null for the default unit).\n */\n public getZUnit(): Unit {\n return this._zUnit;\n }\n\n /**\n * Parse a projection type coordinate system.\n */\n private parseProjection(): void {\n /* Get the abbreviations */\n let name1: string = this._axes.get(0).getAbbreviation();\n let name2: string = this._axes.get(1).getAbbreviation();\n // /* Get the axis names */\n // String aname1 = this._axis[0].getAxisName();\n // String aname2 = this._axis[1].getAxisName();\n // /* Special cases */\n // if (aname1.equalsIgnoreCase(\"Northing\") && aname2.equalsIgnoreCase(\"Easting\"))\n // {\n // /* Coordinate system 4531, used by CRS 2180: ETRS89 / Poland CS92 */\n // name1 = \"N\";\n // name2 = \"E\";\n // }\n /* Check the various combinations */\n let xy1: boolean = (Strings.equalsIgnoreCase(name1, \"X\") && Strings.equalsIgnoreCase(name2, \"Y\"));\n let xy2: boolean = (Strings.equalsIgnoreCase(name1, \"E\") && Strings.equalsIgnoreCase(name2, \"N\"));\n let xy3: boolean = (Strings.equalsIgnoreCase(name1, \"E(X)\") && Strings.equalsIgnoreCase(name2, \"N(Y)\"));\n let xy4: boolean = (Strings.equalsIgnoreCase(name1, \"M\") && Strings.equalsIgnoreCase(name2, \"P\")); // csCode 1024, Portuguese\n let yx1: boolean = (Strings.equalsIgnoreCase(name1, \"Y\") && Strings.equalsIgnoreCase(name2, \"X\"));\n let yx2: boolean = (Strings.equalsIgnoreCase(name1, \"N\") && Strings.equalsIgnoreCase(name2, \"E\"));\n /* XY sequence? */\n if (xy1 || xy2 || xy3 || xy4) {\n this._xAxis = this._axes.get(0);\n this._yAxis = this._axes.get(1);\n }\n /* YX sequence */\n else if (yx1 || yx2) {\n this._xAxis = this._axes.get(1);\n this._yAxis = this._axes.get(0);\n }\n /* Default */\n else {\n this._xAxis = this._axes.get(0);\n this._yAxis = this._axes.get(1);\n /* Log */\n Message.printWarning(CoordinateSystem.MODULE, \"Invalid projected axis '\" + name1 + \"','\" + name2 + \"'\");\n }\n /* Do we have a Z axis? */\n if (this._axes.size() >= 3) {\n this._zAxis = this._axes.get(2);\n }\n /* Get the units */\n if ((this._xAxis != null) && this._xAxis.getUnitCode() != Unit.METER) this._xUnit = Registry.getUnit(this._xAxis.getUnitCode());\n if ((this._yAxis != null) && this._yAxis.getUnitCode() != Unit.METER) this._yUnit = Registry.getUnit(this._yAxis.getUnitCode());\n if ((this._zAxis != null) && this._zAxis.getUnitCode() != Unit.METER) this._zUnit = Registry.getUnit(this._zAxis.getUnitCode());\n }\n\n /**\n * Get a local coordinate.\n * @param local the coordinate.\n * @param axis the standard axis to retrieve.\n * @param order the default order.\n * @return the coordinate.\n */\n private static getLocalCoordinate(local: Coordinate, axis: Axis, order: int32): float64 {\n /* Do we have an axis? */\n if (axis != null) order = axis.getOrder();\n /* Return the request coordinate */\n if (order == 1) return local.getX();\n if (order == 2) return local.getY();\n if (order == 3) return local.getZ();\n return 0.0;\n }\n\n /**\n * Convert a coordinate from the local to the standard form.\n * @param local the local coordinate (input).\n * @param standard the standard coordinate (can be same as local) (output).\n */\n public localToStandard(local: Coordinate, standard: Coordinate): void {\n /* Get X */\n let x: float64 = CoordinateSystem.getLocalCoordinate(local, this._xAxis, 1);\n if (this._xUnit != null) x = this._xUnit.toStandard(x);\n /* Get Y */\n let y: float64 = CoordinateSystem.getLocalCoordinate(local, this._yAxis, 2);\n if (this._yUnit != null) y = this._yUnit.toStandard(y);\n /* Get Z */\n let z: float64 = CoordinateSystem.getLocalCoordinate(local, this._zAxis, 3);\n if (this._zUnit != null) z = this._zUnit.toStandard(z);\n /* Set */\n standard.setX(x);\n standard.setY(y);\n standard.setZ(z);\n }\n\n /**\n * Get a standard coordinate.\n * @param x the standard x coordinate.\n * @param y the standard y coordinate.\n * @param z the standard z coordinate.\n * @param axis the local axis to consider.\n * @param index the default index.\n * @return the coordinate.\n */\n private getStandardCoordinate(x: float64, y: float64, z: float64, axis: Axis, index: int32): float64 {\n /* Check the standard index of the axis */\n if (axis == this._xAxis) index = 1;\n else if (axis == this._yAxis) index = 2;\n else if (axis == this._zAxis) index = 3;\n /* Return the coordinate */\n if (index == 1) return x;\n if (index == 2) return y;\n if (index == 3) return z;\n return 0.0;\n }\n\n /**\n * Convert a coordinate from the standard to the local form.\n * @param standard the standard coordinate (input).\n * @param local the local coordinate (can be same as standard) (output).\n */\n public standardToLocal(standard: Coordinate, local: Coordinate): void {\n /* Get X */\n let x: float64 = standard.getX();\n if (this._xUnit != null) x = this._xUnit.fromStandard(x);\n /* Get Y */\n let y: float64 = standard.getY();\n if (this._yUnit != null) y = this._yUnit.fromStandard(y);\n /* Get Z */\n let z: float64 = standard.getZ();\n if (this._zUnit != null) z = this._zUnit.fromStandard(z);\n /* Set */\n local.setX(this.getStandardCoordinate(x, y, z, this._axes.get(0), 1));\n local.setY(this.getStandardCoordinate(x, y, z, this._axes.get(1), 2));\n if (this._axes.size() >= 3) local.setZ(this.getStandardCoordinate(x, y, z, this._axes.get(2), 3));\n }\n}\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"DataFileUnit.d.ts","sourceRoot":"","sources":["../../../src/spatial/ecrs/DataFileUnit.ts"],"names":[],"mappings":"AAIA;;GAEG;AAUH,OAAO,EAAE,KAAK,EAAE,MAAM,+BAA+B,CAAC;AAEtD,gBAAgB;AAChB,qBAAa,YAAY;IACrB,OAAO,CAAC,MAAM,CAAC,UAAU,CAAuB;IAChD,OAAO,CAAC,MAAM,CAAC,QAAQ;WAgFT,YAAY,IAAI,KAAK,CAAC,MAAM,CAAC;CAQ9C"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"DataFileUnit.js","sourceRoot":"","sources":["../../../src/spatial/ecrs/DataFileUnit.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAUH,yDAAsD;AAEtD,gBAAgB;AAChB,MAAa,YAAY;IAEb,MAAM,CAAC,QAAQ,CAAC,CAAgB;QACpC,CAAC,CAAC,GAAG,CAAC,6FAA6F,CAAC,CAAC;QACrG,CAAC,CAAC,GAAG,CAAC,6BAA6B,CAAC,CAAC;QACrC,CAAC,CAAC,GAAG,CAAC,+CAA+C,CAAC,CAAC;QACvD,CAAC,CAAC,GAAG,CAAC,wDAAwD,CAAC,CAAC;QAChE,CAAC,CAAC,GAAG,CAAC,0DAA0D,CAAC,CAAC;QAClE,CAAC,CAAC,GAAG,CAAC,oDAAoD,CAAC,CAAC;QAC5D,CAAC,CAAC,GAAG,CAAC,yCAAyC,CAAC,CAAC;QACjD,CAAC,CAAC,GAAG,CAAC,qEAAqE,CAAC,CAAC;QAC7E,CAAC,CAAC,GAAG,CAAC,iEAAiE,CAAC,CAAC;QACzE,CAAC,CAAC,GAAG,CAAC,sFAA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UAAU,GAAG,KAAK,CAAC;SACnC;QACD,OAAO,YAAY,CAAC,UAAU,CAAC;IACnC,CAAC;;AAzFL,oCA0FC;AAzFkB,uBAAU,GAAkB,IAAI,CAAC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module OrbitGT\n */\n\n//generated data file, do not edit\n//package orbitgt.spatial.ecrs;\n\ntype int8 = number;\ntype int16 = number;\ntype int32 = number;\ntype float32 = number;\ntype float64 = number;\nimport { AList } from \"../../system/collection/AList\";\n\n/** @internal */\nexport class DataFileUnit {\n private static DATA_LINES: AList<string> = null;\n private static addPart0(l: AList<string>): void {\n l.add(\"UOM_CODE\tUNIT_OF_MEAS_NAME\tUNIT_OF_MEAS_TYPE\tTARGET_UOM_CODE\tFACTOR_B\tFACTOR_C\tABBREVIATION\");\n l.add(\"1024\tbin\tscale\t9201\t1\t1\tbin\");\n l.add(\"1025\tmillimetre\tlength\t9001\t1\t1000\tmillimetre\");\n l.add(\"1026\tmetre per second\tlength\t1026\t1\t1\tmetre per second\");\n l.add(\"1027\tmillimetres per year\tlength\t1026\t1\t31556925445\tmm/a\");\n l.add(\"1028\tparts per billion\tscale\t9201\t1\t1000000000\tppb\");\n l.add(\"1029\tyear\ttime\t1040\t31556925.445\t1\tyear\");\n l.add(\"1030\tparts per billion per year\tscale\t1036\t1\t3.1556925445E+16\tppb/a\");\n l.add(\"1031\tmilliarc-second\tangle\t9101\t3.14159265358979\t648000000\tmsec\");\n l.add(\"1032\tmilliarc-seconds per year\tangle\t1035\t3.14159265358979\t2.044888768836E+16\tmsec/a\");\n l.add(\"1033\tcentimetre\tlength\t9001\t1\t100\tcentimetre\");\n l.add(\"1034\tcentimetres per year\tlength\t1026\t1\t3155692544.5\tcm/a\");\n l.add(\"1035\tradian per second\tangle\t1035\t1\t1\tradian per second\");\n l.add(\"1036\tunity per second\tscale\t1036\t1\t1\tunity per second\");\n l.add(\"1040\tsecond\ttime\t1040\t1\t1\tsecond\");\n l.add(\"1041\tparts per million per year\tscale\t1036\t1\t31556925445000\tppm/a\");\n l.add(\"1042\tmetres per year\tlength\t1026\t1\t31556925.445\tm/a\");\n l.add(\"1043\tarc-seconds per year\tangle\t1035\t3.14159265358979\t20448887688360\tsec/a\");\n l.add(\"9001\tmetre\tlength\t9001\t1\t1\tmetre\");\n l.add(\"9002\tfoot\tlength\t9001\t0.3048\t1\tfoot\");\n l.add(\"9003\tUS survey foot\tlength\t9001\t12\t39.37\tftUS\");\n l.add(\"9005\tClarke's foot\tlength\t9001\t0.3047972654\t1\tftCla\");\n l.add(\"9014\tfathom\tlength\t9001\t1.8288\t1\tf\");\n l.add(\"9030\tnautical mile\tlength\t9001\t1852\t1\tNM\");\n l.add(\"9031\tGerman legal metre\tlength\t9001\t1.0000135965\t1\tGLM\");\n l.add(\"9033\tUS survey chain\tlength\t9001\t792\t39.37\tchUS\");\n l.add(\"9034\tUS survey link\tlength\t9001\t7.92\t39.37\tlkUS\");\n l.add(\"9035\tUS survey mile\tlength\t9001\t63360\t39.37\tmiUS\");\n l.add(\"9036\tkilometre\tlength\t9001\t1000\t1\tkilometre\");\n l.add(\"9037\tClarke's yard\tlength\t9001\t0.9143917962\t1\tydCla\");\n l.add(\"9038\tClarke's chain\tlength\t9001\t20.1166195164\t1\tchCla\");\n l.add(\"9039\tClarke's link\tlength\t9001\t0.201166195164\t1\tlkCla\");\n l.add(\"9040\tBritish yard (Sears 1922)\tlength\t9001\t36\t39.370147\tydSe\");\n l.add(\"9041\tBritish foot (Sears 1922)\tlength\t9001\t12\t39.370147\tftSe\");\n l.add(\"9042\tBritish chain (Sears 1922)\tlength\t9001\t792\t39.370147\tchSe\");\n l.add(\"9043\tBritish link (Sears 1922)\tlength\t9001\t7.92\t39.370147\tlkSe\");\n l.add(\"9050\tBritish yard (Benoit 1895 A)\tlength\t9001\t0.9143992\t1\tydBnA\");\n l.add(\"9051\tBritish foot (Benoit 1895 A)\tlength\t9001\t0.9143992\t3\tftBnA\");\n l.add(\"9052\tBritish chain (Benoit 1895 A)\tlength\t9001\t20.1167824\t1\tchBnA\");\n l.add(\"9053\tBritish link (Benoit 1895 A)\tlength\t9001\t0.201167824\t1\tlkBnA\");\n l.add(\"9060\tBritish yard (Benoit 1895 B)\tlength\t9001\t36\t39.370113\tydBnB\");\n l.add(\"9061\tBritish foot (Benoit 1895 B)\tlength\t9001\t12\t39.370113\tftBnB\");\n l.add(\"9062\tBritish chain (Benoit 1895 B)\tlength\t9001\t792\t39.370113\tchBnB\");\n l.add(\"9063\tBritish link (Benoit 1895 B)\tlength\t9001\t7.92\t39.370113\tlkBnB\");\n l.add(\"9070\tBritish foot (1865)\tlength\t9001\t0.9144025\t3\tftBr(65)\");\n l.add(\"9080\tIndian foot\tlength\t9001\t12\t39.370142\tftInd\");\n l.add(\"9081\tIndian foot (1937)\tlength\t9001\t0.30479841\t1\tftInd(37)\");\n l.add(\"9082\tIndian foot (1962)\tlength\t9001\t0.3047996\t1\tftInd(62)\");\n l.add(\"9083\tIndian foot (1975)\tlength\t9001\t0.3047995\t1\tftInd(75)\");\n l.add(\"9084\tIndian yard\tlength\t9001\t36\t39.370142\tydInd\");\n l.add(\"9085\tIndian yard (1937)\tlength\t9001\t0.91439523\t1\tydInd(37)\");\n l.add(\"9086\tIndian yard (1962)\tlength\t9001\t0.9143988\t1\tydInd(62)\");\n l.add(\"9087\tIndian yard (1975)\tlength\t9001\t0.9143985\t1\tydInd(75)\");\n l.add(\"9093\tStatute mile\tlength\t9001\t1609.344\t1\tStatute mile\");\n l.add(\"9094\tGold Coast foot\tlength\t9001\t6378300\t20926201\tftGC\");\n l.add(\"9095\tBritish foot (1936)\tlength\t9001\t0.3048007491\t1\tftBr(36)\");\n l.add(\"9096\tyard\tlength\t9001\t0.9144\t1\tyard\");\n l.add(\"9097\tchain\tlength\t9001\t20.1168\t1\tch\");\n l.add(\"9098\tlink\tlength\t9001\t20.1168\t100\tlk\");\n l.add(\"9099\tBritish yard (Sears 1922 truncated)\tlength\t9001\t0.914398\t1\tydSe(T)\");\n l.add(\"9101\tradian\tangle\t9101\t1\t1\tradian\");\n l.add(\"9102\tdegree\tangle\t9101\t3.14159265358979\t180\tdeg\");\n l.add(\"9103\tarc-minute\tangle\t9101\t3.14159265358979\t10800\tmin\");\n l.add(\"9104\tarc-second\tangle\t9101\t3.14159265358979\t648000\tsec\");\n l.add(\"9105\tgrad\tangle\t9101\t3.14159265358979\t200\tgr\");\n l.add(\"9109\tmicroradian\tangle\t9101\t1\t1000000\t\\u00b5rad\");\n l.add(\"9110\tsexagesimal DMS\tangle\t9102\t\t\tDDD.MMSSsss\");\n l.add(\"9111\tsexagesimal DM\tangle\t9102\t\t\tDDD.MMm\");\n l.add(\"9112\tcentesimal minute\tangle\t9101\t3.14159265358979\t20000\tc\");\n l.add(\"9113\tcentesimal second\tangle\t9101\t3.14159265358979\t2000000\tcc\");\n l.add(\"9114\tmil_6400\tangle\t9101\t3.14159265358979\t3200\tmil_6400\");\n l.add(\"9122\tdegree (supplier to define representation)\tangle\t9101\t3.14159265358979\t180\tdeg\");\n l.add(\"9201\tunity\tscale\t9201\t1\t1\tunity\");\n l.add(\"9202\tparts per million\tscale\t9201\t1\t1000000\tparts per million\");\n l.add(\"9203\tcoefficient\tscale\t9201\t1\t1\tcoefficient\");\n l.add(\"9300\tBritish foot (Sears 1922 truncated)\tlength\t9001\t0.914398\t3\tftSe(T)\");\n l.add(\"9301\tBritish chain (Sears 1922 truncated)\tlength\t9001\t20.116756\t1\tchSe(T)\");\n l.add(\"9302\tBritish link (Sears 1922 truncated)\tlength\t9001\t20.116756\t100\tlkSe(T)\");\n }\n public static getDataLines(): AList<string> {\n if (DataFileUnit.DATA_LINES == null) {\n let lines: AList<string> = new AList<string>(78);\n DataFileUnit.addPart0(lines);\n DataFileUnit.DATA_LINES = lines;\n }\n return DataFileUnit.DATA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AI,CAAC;QAC3C,IAAI,iBAAO,CAAC,gBAAgB,CAAC,KAAK,CAAC,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI,KAAK;YAAE,OAAO,KAAK,CAAC;QAC7E,IAAI,KAAK,CAAC,UAAU,CAAC,YAAY,CAAC,IAAI,CAAC,UAAU,CAAC,IAAI,KAAK;YAAE,OAAO,KAAK,CAAC;QAC1E,IAAI,KAAK,CAAC,cAAc,CAAC,YAAY,CAAC,IAAI,CAAC,cAAc,CAAC,IAAI,KAAK;YAAE,OAAO,KAAK,CAAC;QAClF,OAAO,IAAI,CAAC;IAChB,CAAC;IAED;;;;;OAKG;IACI,MAAM,CAAC,aAAa,CAAC,MAAa,EAAE,MAAa;QACpD,IAAI,MAAM,IAAI,IAAI;YAAE,OAAO,CAAC,MAAM,IAAI,IAAI,CAAC,CAAC;QAC5C,IAAI,MAAM,IAAI,IAAI;YAAE,OAAO,KAAK,CAAC;QACjC,OAAO,CAAC,MAAM,CAAC,YAAY,CAAC,MAAM,CAAC,CAAC,CAAC;IACzC,CAAC;IAED;;;OAGG;IACI,QAAQ;QACX,OAAO,cAAc,GAAG,IAAI,CAAC,KAAK,GAAG,SAAS,GAAG,IAAI,CAAC,KAAK,GAAG,cAAc,GAAG,IAAI,CAAC,UAAU,GAAG,iBAAiB,GAAG,IAAI,CAAC,cAAc,GAAG,GAAG,CAAC;IACnJ,CAAC;;AA/JL,sBAgKC;AA/JG,mCAAmC;AACZ,mBAAa,GAAW,UAAU,CAAC;AAC1D,mCAAmC;AACZ,mBAAa,GAAW,UAAU,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;\n\ntype int8 = number;\ntype int16 = number;\ntype int32 = number;\ntype float32 = number;\ntype float64 = number;\n\nimport { ASystem } from \"../../system/runtime/ASystem\";\nimport { Strings } from \"../../system/runtime/Strings\";\nimport { Coordinate } from \"../geom/Coordinate\";\nimport { Ellipsoid } from \"./Ellipsoid\";\nimport { OperationMethod } from \"./OperationMethod\";\nimport { PrimeMeridian } from \"./PrimeMeridian\";\n\n/**\n * Class Datum defines the parameters of a Datum.\n *\n * Based on the following document:\n *\n * Coordinate Conversions and Transformations including Formulas\n * Guidance Note Number 7, part 2\n * Revised May 2005\n * Available at: http://www.epsg.org/\n *\n * @version 1.0 July 2005\n */\n/** @internal */\nexport class Datum {\n /** The type of a geodetic datum */\n public static readonly TYPE_GEODETIC: string = \"geodetic\";\n /** The type of a vertical datum */\n public static readonly TYPE_VERTICAL: string = \"vertical\";\n\n /** The code */\n private _code: int32;\n /** The name */\n private _name: string;\n /** The type */\n private _type: string;\n /** The ellipsoid */\n private _ellipsoid: Ellipsoid;\n /** The prime meridian */\n private _primeMeridian: PrimeMeridian;\n\n /** An optional preferred transformation to the WGS84 datum */\n private _toWGS84: OperationMethod;\n\n /**\n * Create a new datum.\n * @param code the code.\n * @param name the name.\n * @param type the type.\n * @param ellipsoid the ellipsoid.\n * @param primeMeridian the prime meridian.\n */\n public constructor(code: int32, name: string, type: string, ellipsoid: Ellipsoid, primeMeridian: PrimeMeridian) {\n /* Check the parameters */\n ASystem.assertNot(name == null, \"A datum needs a name\");\n ASystem.assertNot(type == null, \"A datum needs a type\");\n /* Store the parameters */\n this._code = code;\n this._name = name;\n this._type = type;\n this._ellipsoid = ellipsoid;\n this._primeMeridian = primeMeridian;\n this._toWGS84 = null;\n /* Check the parameters */\n if (this.isTypeGeodetic()) {\n /* Check ellipsoid and prime meridian */\n ASystem.assertNot(ellipsoid == null, \"A geodetic datum needs an ellipsoid\");\n ASystem.assertNot(primeMeridian == null, \"A geodetic datum needs a prime meridian\");\n }\n else if (this.isTypeVertical()) {\n /* No ellipsoid and prime meridian */\n ASystem.assertNot(ellipsoid != null, \"A vertical datum does not have an ellipsoid\");\n ASystem.assertNot(primeMeridian != null, \"A vertical datum does not have a prime meridian\");\n }\n else {\n /* Invalid type */\n ASystem.assertNot(true, \"Invalid datum type '\" + type + \"'\");\n }\n }\n\n /**\n * Get the code.\n * @return the code.\n */\n public getCode(): int32 {\n return this._code;\n }\n\n /**\n * Get the name.\n * @return the name.\n */\n public getName(): string {\n return this._name;\n }\n\n /**\n * Get the type.\n * @return the type.\n */\n public getType(): string {\n return this._type;\n }\n\n /**\n * Is this a geodetic datum?\n * @return true for a geodetic datum.\n */\n public isTypeGeodetic(): boolean {\n return (Strings.equalsIgnoreCase(this._type, Datum.TYPE_GEODETIC));\n }\n\n /**\n * Is this a vertical datum?\n * @return true for a vertical datum.\n */\n public isTypeVertical(): boolean {\n return (Strings.equalsIgnoreCase(this._type, Datum.TYPE_VERTICAL));\n }\n\n /**\n * Get the ellipsoid.\n * @return the ellipsoid.\n */\n public getEllipsoid(): Ellipsoid {\n return this._ellipsoid;\n }\n\n /**\n * Get the prime meridian.\n * @return the prime meridian.\n */\n public getPrimeMeridian(): PrimeMeridian {\n return this._primeMeridian;\n }\n\n /**\n * Get the optional toWGS84 datum transformation.\n * @return the optional toWGS84 datum transformation.\n */\n public getToWGS84(): OperationMethod {\n return this._toWGS84;\n }\n\n /**\n * Set the optional toWGS84 datum transformation.\n * @param toWGS84 the optional toWGS84 datum transformation.\n */\n public setToWGS84(toWGS84: OperationMethod): void {\n this._toWGS84 = toWGS84;\n }\n\n /**\n * Check if another datum is compatible with this one.\n * @param other the other datum.\n * @return true if compatible.\n */\n public isCompatible(other: Datum): boolean {\n if (other._code == this._code) return true;\n if (Strings.equalsIgnoreCase(other._type, this._type) == false) return false;\n if (other._ellipsoid.isCompatible(this._ellipsoid) == false) return false;\n if (other._primeMeridian.isCompatible(this._primeMeridian) == false) return false;\n return true;\n }\n\n /**\n * Check if two datums are compatible.\n * @param datum1 the first datum.\n * @param datum2 the second datum.\n * @return true if compatible.\n */\n public static areCompatible(datum1: Datum, datum2: Datum): boolean {\n if (datum1 == null) return (datum2 == null);\n if (datum2 == null) return false;\n return (datum1.isCompatible(datum2));\n }\n\n /**\n * The standard toString method.\n * @see Object#toString\n */\n public toString(): string {\n return \"[Datum:code=\" + this._code + \",name='\" + this._name + \"',ellipsoid=\" + this._ellipsoid + \",primeMeridian=\" + this._primeMeridian + \"]\";\n }\n}\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Ellipsoid.d.ts","sourceRoot":"","sources":["../../../src/spatial/ecrs/Ellipsoid.ts"],"names":[],"mappings":"AAIA;;GAEG;AAMH,aAAK,KAAK,GAAG,MAAM,CAAC;AAEpB,aAAK,OAAO,GAAG,MAAM,CAAC;AAEtB,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAIhD;;;;;;;;;;;;;;;GAeG;AACH,gBAAgB;AAChB,qBAAa,SAAS;IAClB,eAAe;IACf,OAAO,CAAC,KAAK,CAAQ;IACrB,eAAe;IACf,OAAO,CAAC,KAAK,CAAS;IACtB,sCAAsC;IACtC,OAAO,CAAC,SAAS,CAAQ;IACzB,8BAA8B;IAC9B,OAAO,CAAC,EAAE,CAAU;IACpB,wCAAwC;IACxC,OAAO,CAAC,EAAE,CAAU;IACpB,2BAA2B;IAC3B,OAAO,CAAC,EAAE,CAAU;IACpB,yBAAyB;IACzB,OAAO,CAAC,KAAK,CAAU;IACvB,6BAA6B;IAC7B,OAAO,CAAC,EAAE,CAAU;IACpB,qCAAqC;IACrC,OAAO,CAAC,GAAG,CAAU;IAErB;;;;;;;;OAQG;gBACgB,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC,EAAE,OAAO;IAgBpG;;;OAGG;IACI,OAAO,IAAI,KAAK;IAIvB;;;OAGG;IACI,OAAO,IAAI,MAAM;IAIxB;;;OAGG;IACI,WAAW,IAAI,KAAK;IAI3B;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CAAC,CAAC;QACvC,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IACvB,CAAC;IAED;;;;OAIG;IACI,YAAY,CAAC,KAAgB;QAChC,IAAI,KAAK,CAAC,KAAK,IAAI,IAAI,CAAC,KAAK;YAAE,OAAO,IAAI,CAAC;QAC3C,IAAI,KAAK,CAAC,SAAS,IAAI,IAAI,CAAC,SAAS;YAAE,OAAO,KAAK,CAAC;QACpD,IAAI,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE,GAAG,IAAI,CAAC,EAAE,CAAC,GAAG,KAAK;YAAE,OAAO,KAAK,CAAC;QACvD,IAAI,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE,GAAG,IAAI,CAAC,EAAE,CAAC,GAAG,KAAK;YAAE,OAAO,KAAK,CAAC;QACvD,OAAO,IAAI,CAAC;IAChB,CAAC;IAED;;;OAGG;IACI,QAAQ;QACX,OAAO,kBAAkB,GAAG,IAAI,CAAC,KAAK,GAAG,SAAS,GAAG,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC;IAC3E,CAAC;CACJ;AArVD,8BAqVC","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;\n\ntype int8 = number;\ntype int16 = number;\ntype int32 = number;\ntype float32 = number;\ntype float64 = number;\n\nimport { Coordinate } from \"../geom/Coordinate\";\nimport { Registry } from \"./Registry\";\nimport { Unit } from \"./Unit\";\n\n/**\n * Class Ellipsoid defines the parameters of an earth ellipsoid.\n *\n * Based on the following document:\n *\n * Coordinate Conversions and Transformations including Formulas\n * Guidance Note Number 7, part 2\n * Revised May 2005\n * Available at: http://www.epsg.org/\n *\n * Geocentric coordinates are defined as follows:\n * The point (0,0,0) denotes the center of the ellipsoid. The z-axis is defined as being parallel to the earth rotational axis, pointing towards north.\n * The x-axis intersects the ellipsoid at the 0 deg latitude, 0 deg longitude point.\n *\n * @version 1.0 July 2005\n */\n/** @internal */\nexport class Ellipsoid {\n /** The code */\n private _code: int32;\n /** The name */\n private _name: string;\n /** The code of the unit of measure */\n private _unitCode: int32;\n /** Semi-major axis (meter) */\n private _a: float64;\n /** Semi-minor axis (meter) (derived) */\n private _b: float64;\n /** Flattening (derived) */\n private _f: float64;\n /** Inverse flattening */\n private _invF: float64;\n /** Eccentricity (derived) */\n private _e: float64;\n /** Eccentricity squared (derived) */\n private _e2: float64;\n\n /**\n * Create a new ellipsoid.\n * @param code the code.\n * @param name the name.\n * @param unitCode the code of the unit of measure.\n * @param a the semi-major axis.\n * @param invF the inverse flattening (value like 300, not like 1/300).\n * @param b the semi-minor axis.\n */\n public constructor(code: int32, name: string, unitCode: int32, a: float64, invF: float64, b: float64) {\n /* Store parameters */\n this._code = code;\n this._name = name;\n this._unitCode = unitCode;\n this._a = (unitCode == Unit.METER) ? a : Registry.getUnit(this._unitCode).toStandard(a);\n this._invF = invF;\n this._b = (unitCode == Unit.METER) ? b : Registry.getUnit(this._unitCode).toStandard(b);\n /* Derive parameters */\n if (this._invF == 0.0) this._invF = a / (a - b);\n this._f = (1.0 / this._invF);\n if (this._b == 0.0) this._b = this._a * (1.0 - this._f);\n this._e = Math.sqrt(2.0 * this._f - this._f * this._f);\n this._e2 = this._e * this._e; // or = (a*a-b*b)/(a*a);\n }\n\n /**\n * Get the code.\n * @return the code.\n */\n public getCode(): int32 {\n return this._code;\n }\n\n /**\n * Get the name.\n * @return the name.\n */\n public getName(): string {\n return this._name;\n }\n\n /**\n * Get the code of the unit of measure.\n * @return the code of the unit of measure.\n */\n public getUnitCode(): int32 {\n return this._unitCode;\n }\n\n /**\n * Get the semi-major axis (in meter).\n * @return the semi-major axis.\n */\n public getA(): float64 {\n return this._a;\n }\n\n /**\n * Get the semi-minor axis (in meter).\n * @return the semi-minor axis.\n */\n public getB(): float64 {\n return this._b;\n }\n\n /**\n * Get the flattening.\n * @return the flattening.\n */\n public getF(): float64 {\n return this._f;\n }\n\n /**\n * Get the inverse flattening.\n * @return the inverse flattening.\n */\n public getInvF(): float64 {\n return this._invF;\n }\n\n /**\n * Get the eccentricity.\n * @return the eccentricity.\n */\n public getE(): float64 {\n return this._e;\n }\n\n /**\n * Get the radius of curvature of the ellipsoid in the plane of the meridian at a given latitude (how latitude curves).\n * @param lat the latitude (in radians).\n * @return a radius (in meter).\n */\n public getMeridianRadius(lat: float64): float64 {\n // Formula: see http://en.wikipedia.org/wiki/Latitude\n let t: float64 = this._e * Math.sin(lat);\n return this._a * (1.0 - this._e2) / Math.pow(1.0 - t * t, 3.5);\n }\n\n /**\n * Get the radius of the circle defined by all points at a certain latitude (a circle of latitude, also called a parallel) (a at latitude 0, 0 at latitude 90) (how longitude curves).\n * @param lat the latitude (in radians).\n * @return a radius (in meter).\n */\n public getParallelRadius(lat: float64): float64 {\n // Formula: see http://en.wikipedia.org/wiki/Longitude\n let t: float64 = this._e * Math.sin(lat);\n return this._a * Math.cos(lat) / Math.sqrt(1.0 - t * t);\n }\n\n /**\n * Get the radius of curvature of the ellipsoid perpendicular to the meridian at a given latitude (a at latitude 0, a*a/b at latitude 90).\n * @param lat the latitude (in radians).\n * @return a radius (in meter).\n */\n public getPrimeVerticalRadius(lat: float64): float64 {\n let t: float64 = this._e * Math.sin(lat);\n return this._a / Math.sqrt(1.0 - t * t);\n }\n\n /**\n * Get the radius of curvature of the ellipsoid perpendicular to the meridian at a given latitude (a at latitude 0, a*a/b at latitude 90).\n * @param lat the latitude (in radians).\n * @param sinLat the sinus of the latitude.\n * @return a radius (in meter).\n */\n private getPrimeVerticalRadius2(lat: float64, sinLat: float64): float64 {\n let t: float64 = this._e * sinLat;\n return this._a / Math.sqrt(1.0 - t * t);\n }\n\n /**\n * Get the number of meter per radian of longitude.\n * @param lat the latitude (in radians).\n * @return the number of meter per radian.\n */\n public getMeterPerRadOfLon(lat: float64): float64 {\n return this.getParallelRadius(lat);\n }\n\n /**\n * Get the number of meter per degree of longitude.\n * @param lat the latitude (in radians).\n * @return the number of meter per degree.\n */\n public getMeterPerDegreeOfLon(lat: float64): float64 {\n return this.getMeterPerRadOfLon(lat) * Math.PI / 180.0;\n }\n\n /**\n * Get the number of meter per radian of latitude.\n * @param lat the latitude (in radians).\n * @return the number of meter per radian.\n */\n public getMeterPerRadOfLat(lat: float64): float64 {\n return this.getMeridianRadius(lat);\n }\n\n /**\n * Get the number of meter per degree of latitude.\n * @param lat the latitude (in radians).\n * @return the number of meter per degree.\n */\n public getMeterPerDegreeOfLat(lat: float64): float64 {\n return this.getMeterPerRadOfLat(lat) * Math.PI / 180.0;\n }\n\n /**\n * Calculate the secant.\n * @param v an angle (in radians).\n * @return the secant.\n */\n private static sec(v: float64): float64 {\n return 1.0 / Math.cos(v);\n }\n\n /**\n * Convert 3D geographic coordinates to 3D geocentric coordinates.\n * See the EPSG Guidance Note, 2.2.1\n * @param geographic the geographic coordinates (lon(x) and lat(y) in radians, height(z) in meter).\n * @param geocentric the new geocentric coordinates (in meter) (the result object).\n */\n public toGeoCentric(geographic: Coordinate, geocentric: Coordinate): void {\n /* Get the parameters */\n let lon: float64 = geographic.getX();\n let lat: float64 = geographic.getY();\n let h: float64 = geographic.getZ();\n /* Calculate */\n let sinLat: float64 = Math.sin(lat);\n let v: float64 = this.getPrimeVerticalRadius2(lat, sinLat);\n let s: float64 = (v + h) * Math.cos(lat);\n let x: float64 = s * Math.cos(lon);\n let y: float64 = s * Math.sin(lon);\n let z: float64 = ((1.0 - this._e2) * v + h) * sinLat;\n /* Store the new coordinates */\n geocentric.setX(x);\n geocentric.setY(y);\n geocentric.setZ(z);\n }\n\n /**\n * Convert 3D geographic coordinates to 3D geocentric coordinates.\n * See the EPSG Guidance Note, 2.2.1\n * @param geographic the geographic coordinates (lon(x) and lat(y) in degrees, height(z) in meter).\n * @param geocentric the new geocentric coordinates (in meter) (the result object).\n */\n public toGeoCentricDeg(geographic: Coordinate, geocentric: Coordinate): void {\n /* Get the parameters */\n let lon: float64 = geographic.getX() / 180.0 * Math.PI;\n let lat: float64 = geographic.getY() / 180.0 * Math.PI;\n let h: float64 = geographic.getZ();\n /* Calculate */\n let sinLat: float64 = Math.sin(lat);\n let v: float64 = this.getPrimeVerticalRadius2(lat, sinLat);\n let s: float64 = (v + h) * Math.cos(lat);\n let x: float64 = s * Math.cos(lon);\n let y: float64 = s * Math.sin(lon);\n let z: float64 = ((1.0 - this._e2) * v + h) * sinLat;\n /* Store the new coordinates */\n geocentric.setX(x);\n geocentric.setY(y);\n geocentric.setZ(z);\n }\n\n /**\n * Convert 3D geocentric coordinates to 3D geographic coordinates.\n * See the EPSG Guidance Note, 2.2.1\n * @param geocentric the geocentric coordinates (in meter).\n * @param geographic the new geographic coordinates (lon(x) and lat(y) in radians, height(z) in meter) (the result object).\n */\n public toGeoGraphic(geocentric: Coordinate, geographic: Coordinate): void {\n /* Get the parameters */\n let x: float64 = geocentric.getX();\n let y: float64 = geocentric.getY();\n let z: float64 = geocentric.getZ();\n /* Calculate */\n let r: float64 = Math.sqrt(x * x + y * y);\n let ir: float64 = (1.0 / r);\n let lat: float64 = Math.atan(z * ir);\n for (let i: number = 0; i < 7; i++) {\n let sinLat: float64 = Math.sin(lat);\n let vi: float64 = this.getPrimeVerticalRadius2(lat, sinLat);\n lat = Math.atan((z + this._e2 * vi * sinLat) * ir);\n }\n let lon: float64 = Math.atan2(y, x);\n let v: float64 = this.getPrimeVerticalRadius(lat);\n let h: float64 = x * Ellipsoid.sec(lon) * Ellipsoid.sec(lat) - v;\n /* Store the new coordinates */\n geographic.setX(lon);\n geographic.setY(lat);\n geographic.setZ(h);\n //\n // loop lat error:\n //\n // i=0: 0.0031239393816600014 // km level\n // i=1: 6.753891540589585E-6 // m level\n // i=2: 1.4568768968992174E-8 // mm level\n // i=3: 3.1426083957342144E-11 // um level\n // i=4: 6.783462680459706E-14 // nm level\n // i=5: 1.1102230246251565E-16 // atomic level\n // i=6: 0.0\n //\n // EPSG example for the WGS84 datum/ellipsoid:\n // X = 3771793.97;\n // Y = 140253.34;\n // Z = 5124304.35;\n // lat = 53.8093944; (degrees)\n // lon = 2.12955; (degrees)\n // h = 73.001873;\n }\n\n /**\n * Convert 3D geocentric coordinates to 3D geographic coordinates.\n * See the EPSG Guidance Note, 2.2.1\n * @param geocentric the geocentric coordinates (in meter).\n * @param geographic the new geographic coordinates (lon(x) and lat(y) in degrees, height(z) in meter) (the result object).\n */\n public toGeoGraphicDeg(geocentric: Coordinate, geographic: Coordinate): void {\n /* Get the parameters */\n let x: float64 = geocentric.getX();\n let y: float64 = geocentric.getY();\n let z: float64 = geocentric.getZ();\n /* Calculate */\n let r: float64 = Math.sqrt(x * x + y * y);\n let ir: float64 = (1.0 / r);\n let lat: float64 = Math.atan(z * ir);\n for (let i: number = 0; i < 7; i++) {\n let sinLat: float64 = Math.sin(lat);\n let vi: float64 = this.getPrimeVerticalRadius2(lat, sinLat);\n lat = Math.atan((z + this._e2 * vi * sinLat) * ir);\n }\n let lon: float64 = Math.atan2(y, x);\n let v: float64 = this.getPrimeVerticalRadius(lat);\n let h: float64 = x * Ellipsoid.sec(lon) * Ellipsoid.sec(lat) - v;\n /* Store the new coordinates */\n geographic.setX(lon / Math.PI * 180.0);\n geographic.setY(lat / Math.PI * 180.0);\n geographic.setZ(h);\n }\n\n /**\n * Check if another ellipsoid is compatible with this one.\n * @param other the other ellipsoid.\n * @return true if compatible.\n */\n public isCompatible(other: Ellipsoid): boolean {\n if (other._code == this._code) return true;\n if (other._unitCode != this._unitCode) return false;\n if (Math.abs(other._a - this._a) > 0.001) return false;\n if (Math.abs(other._b - this._b) > 0.001) return false;\n return true;\n }\n\n /**\n * The standard toString method.\n * @see Object#toString\n */\n public toString(): string {\n return \"[Ellipsoid:code=\" + this._code + \",name='\" + this._name + \"']\";\n }\n}\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"OnlineEngine.d.ts","sourceRoot":"","sources":["../../../src/spatial/ecrs/OnlineEngine.ts"],"names":[],"mappings":"AAIA;;GAEG;AAWH,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAMhD;;GAEG;AACH,gBAAgB;AAChB,qBAAa,YAAa,SAAQ,SAAS;IACvC,mCAAmC;IACnC,OAAO,CAAC,eAAe,CAAiB;IAExC;;;SAGK;WACe,MAAM,IAAI,OAAO,CAAC,YAAY,CAAC;IAMnD;;SAEK;IACL,OAAO;IAKP;;;SAGK;YACS,iBAAiB;IAQ/B;;SAEK;IACiB,cAAc,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAWhF;;SAEK;IACW,cAAc,CAAC,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,UAAU;IAUnG;;SAEK;IACW,eAAe,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO;IAMrD;;SAEK;IACW,eAAe,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO;IAMrD;;SAEK;IACW,cAAc,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO;CAKvD"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"OnlineEngine.js","sourceRoot":"","sources":["../../../src/spatial/ecrs/OnlineEngine.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAUH,0DAAuD;AACvD,gDAA6C;AAE7C,mDAAgD;AAEhD,qDAAkD;AAClD,yCAAsC;AACtC,2CAAwC;AAExC;;GAEG;AACH,gBAAgB;AAChB,MAAa,YAAa,SAAQ,qBAAS;IAcvC;;SAEK;IACL;QACI,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,eAAe,GAAG,IAAI,CAAC;IAChC,CAAC;IAh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C,SAAS,CAAC,SAAS,EAAE,KAAK,EAAE,SAAS,EAAE,WAAW,CAAC,CAAC;QAC9D,OAAO,WAAW,CAAC;IACvB,CAAC;IAED;;SAEK;IACW,eAAe,CAAC,GAAW;QACvC,MAAM,IAAI,GAAQ,mBAAQ,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QACxC,IAAI,IAAI,IAAI,IAAI;YAAE,OAAO,IAAI,CAAC,YAAY,EAAE,CAAC;QAC7C,OAAO,KAAK,CAAC;IACjB,CAAC;IAED;;SAEK;IACW,eAAe,CAAC,GAAW;QACvC,MAAM,IAAI,GAAQ,mBAAQ,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QACxC,IAAI,IAAI,IAAI,IAAI;YAAE,OAAO,IAAI,CAAC,YAAY,EAAE,CAAC;QAC7C,OAAO,KAAK,CAAC;IACjB,CAAC;IAED;;SAEK;IACW,cAAc,CAAC,GAAW;QACtC,MAAM,IAAI,GAAQ,mBAAQ,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QACxC,IAAI,IAAI,IAAI,IAAI;YAAE,OAAO,IAAI,CAAC,WAAW,EAAE,CAAC;QAC5C,OAAO,KAAK,CAAC;IACjB,CAAC;CACJ;AAvFD,oCAuFC","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;\n\ntype int8 = number;\ntype int16 = number;\ntype int32 = number;\ntype float32 = number;\ntype float64 = number;\n\nimport { Numbers } from \"../../system/runtime/Numbers\";\nimport { CRSEngine } from \"../crs/CRSEngine\";\nimport { Bounds } from \"../geom/Bounds\";\nimport { Coordinate } from \"../geom/Coordinate\";\nimport { CRS } from \"./CRS\";\nimport { OnlineRegistry } from \"./OnlineRegistry\";\nimport { Registry } from \"./Registry\";\nimport { Transform } from \"./Transform\";\n\n/**\n * Class OnlineEngine implements a CRS engine that reads CRS declarations from an online server.\n */\n/** @internal */\nexport class OnlineEngine extends CRSEngine {\n /** The optional online registry */\n private _onlineRegistry: OnlineRegistry;\n\n /**\n * Create a new online engine.\n * @return the new engine.\n */\n public static async create(): Promise<OnlineEngine> {\n const engine: OnlineEngine = new OnlineEngine();\n await engine.setOnlineRegistry(OnlineRegistry.openOrbitGT());\n return engine;\n }\n\n /**\n * Create a new engine.\n */\n private constructor() {\n super();\n this._onlineRegistry = null;\n }\n\n /**\n * Set the online registry to the engine.\n * @param onlineRegistry the registry to add.\n */\n private async setOnlineRegistry(onlineRegistry: OnlineRegistry): Promise<OnlineEngine> {\n this._onlineRegistry = onlineRegistry;\n await this._onlineRegistry.getCRS(4326); // WGS84, lon-lat\n await this._onlineRegistry.getCRS(4978); // WGS84, geocentric\n await this._onlineRegistry.getCRS(3395); // World Mercator\n return this;\n }\n\n /**\n * CRSEngine method.\n */\n public override async prepareForArea(crs: string, area: Bounds): Promise<Bounds> {\n /* Online registry? */\n if (this._onlineRegistry != null) {\n /* Load the CRS */\n const areaCRS: CRS = await this._onlineRegistry.getCRS(Numbers.getInteger(crs, 0));\n }\n /* Download small grid corrections for the area ... */\n /* Return the area */\n return area;\n }\n\n /**\n * CRSEngine method.\n */\n public override transformPoint(point: Coordinate, sourceCRS: string, targetCRS: string): Coordinate {\n if (Registry.getCRS2(sourceCRS) == null)\n return point;\n if (Registry.getCRS2(targetCRS) == null)\n return point;\n const targetPoint: Coordinate = Coordinate.create();\n Transform.transform(sourceCRS, point, targetCRS, targetPoint);\n return targetPoint;\n }\n\n /**\n * CRSEngine method.\n */\n public override isGeocentricCRS(crs: string): boolean {\n const acrs: CRS = Registry.getCRS2(crs);\n if (acrs != null) return acrs.isGeoCentric();\n return false;\n }\n\n /**\n * CRSEngine method.\n */\n public override isGeographicCRS(crs: string): boolean {\n const acrs: CRS = Registry.getCRS2(crs);\n if (acrs != null) return acrs.isGeoGraphic();\n return false;\n }\n\n /**\n * CRSEngine method.\n */\n public override isProjectedCRS(crs: string): boolean {\n const acrs: CRS = Registry.getCRS2(crs);\n if (acrs != null) return acrs.isProjected();\n return false;\n }\n}\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"OnlineRegistry.d.ts","sourceRoot":"","sources":["../../../src/spatial/ecrs/OnlineRegistry.ts"],"names":[],"mappings":"AAIA;;GAEG;AAMH,aAAK,KAAK,GAAG,MAAM,CAAC;AAOpB,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAI5B;;;;GAIG;AACH,gBAAgB;AAChB,qBAAa,cAAc;IACvB,8BAA8B;IAC9B,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,MAAM,CAA4B;IAE1D,uBAAuB;IACvB,OAAO,CAAC,YAAY,CAAS;IAC7B,kCAAkC;IAClC,OAAO,CAAC,QAAQ,CAAS;IAEzB;;;OAGG;WACW,WAAW,IAAI,cAAc;IAI3C;;;;OAIG;IACH,OAAO;IAKP;;;;OAIG;IACU,MAAM,CAAC,QAAQ,EAAE,KAAK,GAAG,OAAO,CAAC,GAAG,CAAC;CAqBrD"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"OnlineRegistry.js","sourceRoot":"","sources":["../../../src/spatial/ecrs/OnlineRegistry.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAUH,gEAA6D;AAC7D,0DAAuD;AACvD,0DAAuD;AAEvD,yCAAsC;AACtC,mDAAgD;AAEhD;;;;GAIG;AACH,gBAAgB;AAChB,MAAa,cAAc;IAiBvB;;;;OAIG;IACH,YAAoB,WAAmB,EAAE,OAAe;QACpD,IAAI,CAAC,YAAY,GAAG,WAAW,CAAC;QAChC,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAC;IAC5B,CAAC;IAhBD;;;OAGG;IACI,MAAM,CAAC,WAAW;QACrB,OAAO,IAAI,cAAc,CAAC,0EAA0E,EAAE,6BAAa,CAAC,YAAY,CAA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AAY;QACZ,OAAO,GAAG,CAAC;IACf,CAAC;;AApDL,wCAqDC;AApDG,8BAA8B;AACN,qBAAM,GAAW,gBAAgB,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;\n\ntype int8 = number;\ntype int16 = number;\ntype int32 = number;\ntype float32 = number;\ntype float64 = number;\n\nimport { Downloader } from \"../../system/runtime/Downloader\";\nimport { Message } from \"../../system/runtime/Message\";\nimport { Strings } from \"../../system/runtime/Strings\";\nimport { CRS } from \"./CRS\";\nimport { Registry } from \"./Registry\";\nimport { WellKnownText } from \"./WellKnownText\";\n\n/**\n * Class OnlineRegistry downloads the CRS definitions from an online server.\n *\n * @version 1.0 March 2020\n */\n/** @internal */\nexport class OnlineRegistry {\n /** The name of this module */\n private static readonly MODULE: string = \"OnlineRegistry\";\n\n /** The template URL */\n private _urlTemplate: string;\n /** The dialect of WKT to parse */\n private _dialect: string;\n\n /**\n * Open the OrbitGT online registry, see https://spatialreference.org/.\n * @return the registry.\n */\n public static openOrbitGT(): OnlineRegistry {\n return new OnlineRegistry(\"https://ogtcrsregistry.blob.core.windows.net/registry/crs/[epsgCode].prj\", WellKnownText.TYPE_GENERIC);\n }\n\n /**\n * Create a new online registry.\n * @param urlTemplate the template URL in which [epsgCode] will be replaced by the EPSG CRS code.\n * @param dialect the dialect of WKT to parse.\n */\n private constructor(urlTemplate: string, dialect: string) {\n this._urlTemplate = urlTemplate;\n this._dialect = dialect;\n }\n\n /**\n * Get a CRS.\n * @param epsgCode the EPSG code of the CRS to get.\n * @return the CRS.\n */\n public async getCRS(epsgCode: int32): Promise<CRS> {\n /* Invalid code? */\n if (epsgCode == 0) return null;\n /* Already downloaded? */\n let crs: CRS = Registry.getCRS(epsgCode);\n if (crs != null) return crs;\n /* Download the declaration */\n Message.print(OnlineRegistry.MODULE, \"Requesting online crs '\" + epsgCode + \"'\");\n let downloadURL: string = Strings.replace(this._urlTemplate, \"[epsgCode]\", \"\" + epsgCode);\n let wkt: string = await Downloader.INSTANCE.downloadText2(downloadURL);\n if (wkt == null) { Message.print(OnlineRegistry.MODULE, \"No WKT response\"); return null; }\n /* Try to parse the WKT */\n crs = WellKnownText.parseSpatialReferenceSystem(epsgCode, wkt, this._dialect);\n if (crs == null) { Message.print(OnlineRegistry.MODULE, \"The WKT could not be parsed\"); return null; }\n crs.setTextForm(wkt);\n /* Keep in memory */\n Message.print(OnlineRegistry.MODULE, \"Created online CRS \" + crs);\n Registry.setCRS(epsgCode, crs);\n /* Return */\n return crs;\n }\n}\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Operation.d.ts","sourceRoot":"","sources":["../../../src/spatial/ecrs/Operation.ts"],"names":[],"mappings":"AAIA;;GAEG;AAMH,aAAK,KAAK,GAAG,MAAM,CAAC;AAIpB,OAAO,EAAE,KAAK,EAAE,MAAM,+BAA+B,CAAC;AAGtD,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAC5B,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAGpD;;;;;;;;;GASG;AACH,gBAAgB;AAChB,qBAAa,SAAS;IAClB,2CAA2C;IAC3C,gBAAuB,YAAY,EAAE,KAAK,CAAK;IAC/C,mEAAmE;IACnE,gBAAuB,UAAU,EAAE,KAAK,CAAK;IAC7C,wEAAwE;IACxE,gBAAuB,cAAc,EAAE,KAAK,CAAK;IAEjD,eAAe;IACf,OAAO,CAAC,KAAK,CAAQ;IACrB,eAAe;IACf,OAAO,CAAC,KAAK,CAAS;IACtB,eAAe;IACf,OAAO,CAAC,KAAK,CAAQ;IACrB,iCAAiC;IACjC,OAAO,CAAC,cAAc,CAAQ;IAC9B,iCAAiC;IACj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ent":["/*---------------------------------------------------------------------------------------------\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;\n\ntype int8 = number;\ntype int16 = number;\ntype int32 = number;\ntype float32 = number;\ntype float64 = number;\n\nimport { AList } from \"../../system/collection/AList\";\nimport { Numbers } from \"../../system/runtime/Numbers\";\nimport { Strings } from \"../../system/runtime/Strings\";\nimport { Coordinate } from \"../geom/Coordinate\";\nimport { CRS } from \"./CRS\";\nimport { OperationMethod } from \"./OperationMethod\";\nimport { Registry } from \"./Registry\";\n\n/**\n * Class Operation defines an coordinate operation. The operation defines a specific method,\n * together with specific values for the parameters of the method, and a specific source and\n * destination coordinate reference system.\n *\n * 'Conversions' are operations that convert from projected systems to and from geographic systems (same datum).\n * 'Transformations' are Operations that convert from one geocentric system to another (different datum).\n *\n * @version 1.0 July 2005\n */\n/** @internal */\nexport class Operation {\n /** The type of a concatenated operation */\n public static readonly CONCATENATED: int32 = 1;\n /** The type of a conversion operation (projected to geographic) */\n public static readonly CONVERSION: int32 = 2;\n /** The type of a transformation operation (geocentric to geocentric) */\n public static readonly TRANSFORMATION: int32 = 3;\n\n /** The code */\n private _code: int32;\n /** The name */\n private _name: string;\n /** The type */\n private _type: int32;\n /** The code of the source CRS */\n private _sourceCRScode: int32;\n /** The code of the target CRS */\n private _targetCRScode: int32;\n /** The area on which the operation has been defined (0 if unknown) */\n private _areaOfUse: int32;\n /** The method */\n private _method: OperationMethod;\n\n /** Have we been initialised ? */\n private _initialised: boolean;\n /** The source coordinate reference system */\n private _sourceCRS: CRS;\n /** The target coordinate reference system */\n private _targetCRS: CRS;\n /** The concatenated operations */\n private _concatenatedOperations: AList<Operation>;\n\n /**\n * Create a new coordinate operation.\n * @param code the code.\n * @param name the name.\n * @param type the type (CONCATENATED, CONVERSION or TRANSFORMATION).\n * @param sourceCRScode the code of the source CRS.\n * @param targetCRScode the code of the target CRS.\n * @param areaOfUse the area on which the operation has been defined (0 if unknown).\n * @param method the method (null for concatenated operations).\n */\n public constructor(code: int32, name: string, type: int32, sourceCRScode: int32, targetCRScode: int32, areaOfUse: int32, method: OperationMethod) {\n /* Store the parameters */\n this._code = code;\n this._name = name;\n this._type = type;\n this._sourceCRScode = sourceCRScode;\n this._targetCRScode = targetCRScode;\n this._areaOfUse = areaOfUse;\n this._method = method;\n /* Clear */\n this._initialised = false;\n this._sourceCRS = null;\n this._targetCRS = null;\n this._concatenatedOperations = null;\n }\n\n /**\n * Get the code.\n * @return the code.\n */\n public getCode(): int32 {\n return this._code;\n }\n\n /**\n * Get the name.\n * @return the name.\n */\n public getName(): string {\n return this._name;\n }\n\n /**\n * Get the type (CONCATENATED, CONVERSION or TRANSFORMATION).\n * @return the type.\n */\n public getType(): int32 {\n return this._type;\n }\n\n /**\n * Get the code of the source CRS.\n * @return the code of the source CRS.\n */\n public getSourceCRScode(): int32 {\n return this._sourceCRScode;\n }\n\n /**\n * Get the code of the target CRS.\n * @return the code of the target CRS.\n */\n public getTargetCRScode(): int32 {\n return this._targetCRScode;\n }\n\n /**\n * Get the area on which the operation has been defined.\n * @return the area on which the operation has been defined (0 if unknown).\n */\n public getAreaOfUse(): int32 {\n return this._areaOfUse;\n }\n\n /**\n * Get the method (null for concatenated operations).\n * @return the method.\n */\n public getMethod(): OperationMethod {\n return this._method;\n }\n\n /**\n * Set the method.\n * @param method the new method (null for concatenated operations).\n */\n public setMethod(method: OperationMethod): void {\n this._method = method;\n }\n\n /**\n * Get the concatenated operations.\n * @return the concatenated operations (null for a method).\n */\n public getConcatenatedOperations(): AList<Operation> {\n return this._concatenatedOperations;\n }\n\n /**\n * Set the concatenated operations.\n * @param concatenatedOperations the concatenated operations (null for a method).\n */\n public setConcatenatedOperations(concatenatedOperations: AList<Operation>): void {\n this._concatenatedOperations = concatenatedOperations;\n }\n\n /**\n * Initialise the operation.\n */\n public initialise(): void {\n /* Initialize the systems */\n if (this._sourceCRS == null) this._sourceCRS = Registry.getCRS(this._sourceCRScode);\n if (this._targetCRS == null) this._targetCRS = Registry.getCRS(this._targetCRScode);\n /* Already done ? */\n if (this._initialised) return;\n this._initialised = true;\n /* Concatenated operations ? */\n if (this._type == Operation.CONCATENATED) {\n /* Create the list of operations */\n this._concatenatedOperations = new AList<Operation>(); //Registry.readConcatenatedOperations(this.code);\n }\n else {\n /* Initialise the method ? */\n this._method.initialize(this);\n }\n }\n\n /**\n * Get the source CRS.\n * @return the source CRS.\n */\n public getSourceCRS(): CRS {\n if (this._sourceCRS == null) this.initialise();\n return this._sourceCRS;\n }\n\n /**\n * Set the source CRS.\n * @param sourceCRS the source CRS.\n */\n public setSourceCRS(sourceCRS: CRS): void {\n this._sourceCRS = sourceCRS;\n }\n\n /**\n * Get the target CRS.\n * @return the target CRS.\n */\n public getTargetCRS(): CRS {\n if (this._targetCRS == null) this.initialise();\n return this._targetCRS;\n }\n\n /**\n * Set the target CRS.\n * @param targetCRS the target CRS.\n */\n public setTargetCRS(targetCRS: CRS): void {\n this._targetCRS = targetCRS;\n }\n\n /**\n * Convert a source coordinate to a target coordinate.\n * @param source the coordinates in the source CRS.\n * @param target the coordinates in the target CRS (this is the result object).\n */\n public forward(source: Coordinate, target: Coordinate): void {\n this.initialise();\n /* Concatenated operations ? */\n if (this._type == Operation.CONCATENATED) {\n /* Run all operations */\n for (let i: number = 0; i < this._concatenatedOperations.size(); i++) {\n this._concatenatedOperations.get(i).forward(source, target);\n source = target;\n }\n }\n else {\n /* Let the method do it */\n this._method.forward(this._sourceCRS, source, this._targetCRS, target);\n }\n }\n\n /**\n * Convert a target coordinate to a source coordinate.\n * @param source the coordinates in the source CRS (this is the result object).\n * @param target the coordinates in the target CRS.\n */\n public reverse(source: Coordinate, target: Coordinate): void {\n this.initialise();\n /* Concatenated operations ? */\n if (this._type == Operation.CONCATENATED) {\n /* Run all operations */\n for (let i: number = 0; i < this._concatenatedOperations.size(); i++) {\n this._concatenatedOperations.get(this._concatenatedOperations.size() - 1 - i).reverse(source, target);\n target = source;\n }\n }\n else {\n /* Let the method do it */\n this._method.reverse(this._sourceCRS, source, this._targetCRS, target);\n }\n }\n\n /**\n * Check if another operation is compatible with this one.\n * @param other the other operation.\n * @return true if compatible.\n */\n public isCompatible(other: Operation): boolean {\n if (other._code == this._code) return true; // all operations should have unique identifiers\n if (other._type != this._type) return false;\n if (other._sourceCRScode != this._sourceCRScode) return false;\n if (other._targetCRScode != this._targetCRScode) return false;\n if (other._method.isCompatible(this._method) == false) return false;\n if (Operation.areCompatibleOperations(other._concatenatedOperations, this._concatenatedOperations) == false) return false;\n return true;\n }\n\n /**\n * Check if two operations are compatible.\n * @param operation1 the first operation.\n * @param operation2 the second operation.\n * @return true if compatible.\n */\n public static isCompatibleOperation(operation1: Operation, operation2: Operation): boolean {\n if (operation1 == null) return (operation2 == null);\n if (operation2 == null) return false;\n return (operation1.isCompatible(operation2));\n }\n\n /**\n * Check if a list of operations is compatible with another one.\n * @param list1 the first list.\n * @param list2 the second list.\n * @return true if compatible.\n */\n private static areCompatibleOperations(list1: AList<Operation>, list2: AList<Operation>): boolean {\n if (list1 == null) return (list2 == null);\n if (list2 == null) return false;\n if (list2.size() != list1.size()) return false;\n for (let i: number = 0; i < list2.size(); i++) if (list2.get(i).isCompatible(list1.get(i)) == false) return false;\n return true;\n }\n\n /**\n * The standard toString method.\n * @see Object#toString\n */\n public toString(): string {\n return \"[Operation:code=\" + this._code + \",name='\" + this._name + \"',type=\" + this._type + \",sourceCRS=\" + this._sourceCRScode + \",targetCRS=\" + this._targetCRScode + \",area=\" + this._areaOfUse + \",method=\" + this._method + \"]\";\n }\n\n /**\n * Find an operation by name.\n * @param operations the list of operations.\n * @param name the name of the operation.\n * @return the index of the operation.\n */\n public static findByName(operations: Array<Operation>, name: string): int32 {\n /* No list ? */\n if (operations == null) return -1;\n /* Check */\n for (let i: number = 0; i < operations.length; i++) if (Strings.equalsIgnoreCase(operations[i].getName(), name)) return i;\n /* Not found */\n return -1;\n }\n\n /**\n * Get the version of a transformation.\n * @param transformationName the name of the transformation.\n * @return the version (0 if not found).\n */\n private static getTransformationVersion(transformationName: string): int32 {\n /* Find the (...) sequence */\n let index0: int32 = Strings.lastIndexOf(transformationName, \"(\");\n if (index0 < 0) return 0;\n let index1: int32 = Strings.lastIndexOf(transformationName, \")\");\n if ((index1 < 0) || (index1 < index0)) return 0;\n /* Parse the version */\n let version: string = Strings.substring(transformationName, index0 + 1, index1);\n return Numbers.getInteger(version, 0);\n }\n\n /**\n * Get the latest transform from a set of transformations.\n * @param transformations the set of transformations.\n * @return the latest transform.\n */\n public static getLatestTransformation(transformations: AList<Operation>): Operation {\n /* We need at least two transforms */\n if (transformations == null) return null;\n if (transformations.size() == 0) return null;\n if (transformations.size() == 1) return transformations.get(0);\n /* Start with the first transform */\n let bestIndex: int32 = 0;\n let bestVersion: int32 = Operation.getTransformationVersion(transformations.get(bestIndex).getName());\n /* Check for better versions */\n for (let i: number = 1; i < transformations.size(); i++) {\n /* Check */\n let version: int32 = Operation.getTransformationVersion(transformations.get(i).getName());\n if (version > bestVersion) {\n /* This one is later */\n bestIndex = i;\n bestVersion = version;\n }\n }\n /* Return the best transform */\n return transformations.get(bestIndex);\n }\n}\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"OperationMethod.d.ts","sourceRoot":"","sources":["../../../src/spatial/ecrs/OperationMethod.ts"],"names":[],"mappings":"AAIA;;GAEG;AAMH,aAAK,KAAK,GAAG,MAAM,CAAC;AAKpB,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAC5B,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE1D;;;;GAIG;AACH,gBAAgB;AAChB,8BAAsB,eAAe;IACjC,eAAe;IACf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OAAO,IAAI,CAAC,KAAK,CAAC;IACtB,CAAC;IAED;;;OAGG;IACI,gBAAgB;QACnB,OAAO,IAAI,CAAC,WAAW,CAAC;IAC5B,CAAC;IAED;;;;OAIG;IACI,YAAY,CAAC,KAAsB;QACtC,8DAA8D;QAC9D,IAAI,iBAAO,CAAC,MAAM,CAAC,KAAK,CAAC,OAAO,EAAE,EAAE,IAAI,CAAC,OAAO,EAAE,CAAC,IAAI,KAAK;YAAE,OAAO,KAAK,CAAC;QAC3E,IAAI,KAAK,CAAC,WAAW,IAAI,IAAI;YAAE,OAAO,KAAK,CAAC;QAC5C,IAAI,IAAI,CAAC,WAAW,IAAI,IAAI;YAAE,OAAO,KAAK,CAAC;QAC3C,IAAI,KAAK,CAAC,WAAW,CAAC,YAAY,CAAC,IAAI,CAAC,WAAW,CAAC,IAAI,KAAK;YAAE,OAAO,KAAK,CAAC;QAC5E,OAAO,IAAI,CAAC;IAChB,CAAC;IAED;;;OAGG;IACI,UAAU,CAAC,SAAoB;QAClC,6BAA6B;IACjC,CAAC;CAmBJ;AAlFD,0CAkFC","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;\n\ntype int8 = number;\ntype int16 = number;\ntype int32 = number;\ntype float32 = number;\ntype float64 = number;\n\nimport { Strings } from \"../../system/runtime/Strings\";\nimport { Coordinate } from \"../geom/Coordinate\";\nimport { CRS } from \"./CRS\";\nimport { Operation } from \"./Operation\";\nimport { ParameterValueList } from \"./ParameterValueList\";\n\n/**\n * Class OperationMethod defines a general method for transforming coordinates.\n *\n * @version 1.0 July 2005\n */\n/** @internal */\nexport abstract class OperationMethod {\n /** The code */\n private _code: int32;\n /** The name */\n private _name: string;\n /** The parameter list */\n private _parameters: ParameterValueList;\n\n /**\n * Create a new method.\n * @param code the code.\n * @param name the name.\n */\n public constructor(code: int32, name: string, parameters: ParameterValueList) {\n this._code = code;\n this._name = name;\n this._parameters = parameters;\n }\n\n /**\n * Get the code.\n * @return the code.\n */\n public getCode(): int32 {\n return this._code;\n }\n\n /**\n * Get the name.\n * @return the name.\n */\n public getName(): string {\n return this._name;\n }\n\n /**\n * Get the parameter list.\n * @return the parameter list.\n */\n public getParameterList(): ParameterValueList {\n return this._parameters;\n }\n\n /**\n * Check if another method is compatible with this one.\n * @param other the other method.\n * @return true if compatible.\n */\n public isCompatible(other: OperationMethod): boolean {\n // if (other.getClass()!=this.getClass()) return false;\n if (Strings.equals(other.getName(), this.getName()) == false) return false;\n if (other._parameters == null) return false;\n if (this._parameters == null) return false;\n if (other._parameters.isCompatible(this._parameters) == false) return false;\n return true;\n }\n\n /**\n * Initialize the method before making forward and reverse transforms.\n * @param operation the operation that is using this method.\n */\n public initialize(operation: Operation): void {\n /* Override when necessary */\n }\n\n /**\n * Convert a source coordinate to a target coordinate.\n * @param sourceCRS the source CRS.\n * @param source the coordinates in the source CRS.\n * @param targetCRS the target CRS.\n * @param target the coordinates in the target CRS.\n */\n public abstract forward(sourceCRS: CRS, source: Coordinate, targetCRS: CRS, target: Coordinate): void;\n\n /**\n * Convert a target coordinate to a source coordinate.\n * @param sourceCRS the source CRS.\n * @param source the coordinates in the source CRS.\n * @param targetCRS the target CRS.\n * @param target the coordinates in the target CRS.\n */\n public abstract reverse(sourceCRS: CRS, source: Coordinate, targetCRS: CRS, target: Coordinate): void;\n}\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"ParameterValue.d.ts","sourceRoot":"","sources":["../../../src/spatial/ecrs/ParameterValue.ts"],"names":[],"mappings":"AAIA;;GAEG;AAMH,aAAK,KAAK,GAAG,MAAM,CAAC;AAEpB,aAAK,OAAO,GAAG,MAAM,CAAC;AAEtB,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B;;;;GAIG;AACH,gBAAgB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AAK,CAAC;QAChE,IAAI,KAAK,CAAC,KAAK,CAAC,YAAY,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,KAAK;YAAE,OAAO,KAAK,CAAC;QAChE,OAAO,IAAI,CAAC;IAChB,CAAC;CACJ;AAvDD,wCAuDC","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;\n\ntype int8 = number;\ntype int16 = number;\ntype int32 = number;\ntype float32 = number;\ntype float64 = number;\n\nimport { Unit } from \"./Unit\";\n\n/**\n * Class ParameterValue defines the value of a parameter of a certain method.\n *\n * @version 1.0 January 2007\n */\n/** @internal */\nexport class ParameterValue {\n /** The identification code of the parameter */\n private _parameterCode: int32;\n /** The value of the parameter */\n private _parameterValue: float64;\n /** The unit of measure */\n private _unit: Unit;\n\n /**\n * Create a new value.\n * @param parameterCode the identification code of the parameter.\n * @param parameterValue the value of the parameter.\n * @param unit the unit of measure.\n */\n public constructor(parameterCode: int32, parameterValue: float64, unit: Unit) {\n this._parameterCode = parameterCode;\n this._parameterValue = parameterValue;\n this._unit = unit;\n }\n\n /**\n * Get the identification code of the parameter.\n * @return the code.\n */\n public getParameterCode(): int32 {\n return this._parameterCode;\n }\n\n /**\n * Get the value of the parameter.\n * @return the value.\n */\n public getParameterValue(): float64 {\n return this._parameterValue;\n }\n\n /**\n * Get the unit of measure.\n * @return the unit.\n */\n public getUnit(): Unit {\n return this._unit;\n }\n\n /**\n * Check if another parameter value is compatible with this one.\n * @param other the other parameter value.\n * @return true if compatible.\n */\n public isCompatible(other: ParameterValue): boolean {\n if (other._parameterCode != this._parameterCode) return false;\n if (other._parameterValue != this._parameterValue) return false;\n if (other._unit.isCompatible(this._unit) == false) return false;\n return true;\n }\n}\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"ParameterValueList.d.ts","sourceRoot":"","sources":["../../../src/spatial/ecrs/ParameterValueList.ts"],"names":[],"mappings":"AAIA;;GAEG;AAMH,aAAK,KAAK,GAAG,MAAM,CAAC;AAEpB,aAAK,OAAO,GAAG,MAAM,CAAC;AAGtB,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD;;;;GAIG;AACH,gBAAgB;AAChB,qBAAa,kBAAkB;IAC3B,eAAe;IACf,OAAO,CAAC,KAAK,CAAwB;IAErC;;OAEG;;IAKH;;;OAGG;IACI,IAAI,IAAI,KAAK;IAIpB;;;;OAIG;IACI,GAAG,CAAC,KAAK,EAAE,KAAK,GAAG,cAAc;IAIxC;;;OAGG;IACI,GAAG,CAAC,KAAK,EAAE,cAAc,GAAG,IAAI;IAIvC;;;;OAIG;IACI,MAAM,CAAC,KAAK,EAAE,cAAc,GAAG,OAAO;IAO7C;;OAEG;IACI,KAAK,IAAI,IAAI;IAIpB;;;;OAIG;IACI,IAAI,CAAC,aAAa,EAAE,KAAK,GAAG,cAAc;IAWjD;;;;OAIG;IACI,QAAQ,CAAC,aAAa,EAAE,KAAK,GAAG,OAAO;IAM9C;;;;;OAKG;IACI,SAAS,CAAC,aAAa,EAAE,KAAK,EAAE,YAAY,EAAE,OAAO,GAAG,OAAO;IAOtE;;;;OAIG;IACI,YAAY,CAAC,KAAK,EAAE,kBAAkB,GAAG,OAAO;CAK1D"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"ParameterValueList.js","sourceRoot":"","sources":["../../../src/spatial/ecrs/ParameterValueList.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAUH,yDAAsD;AAGtD;;;;GAIG;AACH,gBAAgB;AAChB,MAAa,kBAAkB;IAI3B;;OAEG;IACH;QACI,IAAI,CAAC,KAAK,GAAG,IAAI,aAAK,EAAkB,CAAC;IAC7C,CAAC;IAED;;;OAGG;IACI,IAAI;QACP,OAAO,IAAI,CAAC,KAAK,CA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AAC,OAAO,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC,iBAAiB,EAAE,CAAC,CAAC;IACjE,CAAC;IAED;;;;;OAKG;IACI,SAAS,CAAC,aAAoB,EAAE,YAAqB;QACxD,IAAI,KAAK,GAAmB,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;QACrD,IAAI,KAAK,IAAI,IAAI;YAAE,OAAO,YAAY,CAAC;QACvC,IAAI,KAAK,CAAC,OAAO,EAAE,IAAI,IAAI;YAAE,OAAO,KAAK,CAAC,iBAAiB,EAAE,CAAC;QAC9D,OAAO,KAAK,CAAC,OAAO,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC,iBAAiB,EAAE,CAAC,CAAC;IACjE,CAAC;IAED;;;;OAIG;IACI,YAAY,CAAC,KAAyB;QACzC,IAAI,KAAK,CAAC,IAAI,EAAE,IAAI,IAAI,CAAC,IAAI,EAAE;YAAE,OAAO,KAAK,CAAC;QAC9C,KAAK,IAAI,CAAC,GAAW,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC,IAAI,EAAE,EAAE,CAAC,EAAE;YAAE,IAAI,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,YAAY,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,KAAK;gBAAE,OAAO,KAAK,CAAC;QAChH,OAAO,IAAI,CAAC;IAChB,CAAC;CACJ;AAzGD,gDAyGC","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;\n\ntype int8 = number;\ntype int16 = number;\ntype int32 = number;\ntype float32 = number;\ntype float64 = number;\n\nimport { AList } from \"../../system/collection/AList\";\nimport { ParameterValue } from \"./ParameterValue\";\n\n/**\n * Class ParameterValueList defines a list of parameter values.\n *\n * @version 1.0 January 2007\n */\n/** @internal */\nexport class ParameterValueList {\n /** The list */\n private _list: AList<ParameterValue>;\n\n /**\n * Create a new list.\n */\n public constructor() {\n this._list = new AList<ParameterValue>();\n }\n\n /**\n * Get the number of parameter values.\n * @return the number of parameter values.\n */\n public size(): int32 {\n return this._list.size();\n }\n\n /**\n * Get a certain parameter value.\n * @param index the index of the parameter value.\n * @return the requested parameter value.\n */\n public get(index: int32): ParameterValue {\n return this._list.get(index);\n }\n\n /**\n * Add a parameter value.\n * @param value the parameter value to add.\n */\n public add(value: ParameterValue): void {\n this._list.add(value);\n }\n\n /**\n * Remove a parameter value.\n * @param value the parameter value to remove.\n * @return true if the value was removed, false if not.\n */\n public remove(value: ParameterValue): boolean {\n let index: int32 = this._list.indexOf(value);\n if (index < 0) return false;\n this._list.remove(index);\n return true;\n }\n\n /**\n * Clear the parameter list.\n */\n public clear(): void {\n this._list.clear();\n }\n\n /**\n * Find a parameter.\n * @param parameterCode the identification code of the parameter.\n * @return a parameter value (null if not found).\n */\n public find(parameterCode: int32): ParameterValue {\n /* Check all values */\n for (let i: number = 0; i < this._list.size(); i++) {\n /* Check the next value */\n let value: ParameterValue = this._list.get(i);\n if (value.getParameterCode() == parameterCode) return value;\n }\n /* Parameter not found */\n return null;\n }\n\n /**\n * Get the value of a parameter.\n * @param parameterCode the identification code of the parameter.\n * @return the (standard) value of the parameter.\n */\n public getValue(parameterCode: int32): float64 {\n let value: ParameterValue = this.find(parameterCode);\n if (value.getUnit() == null) return value.getParameterValue();\n return value.getUnit().toStandard(value.getParameterValue());\n }\n\n /**\n * Get the value of a parameter.\n * @param parameterCode the identification code of the parameter.\n * @param defaultValue the default value in case the parameter is not found.\n * @return the (standard) value of the parameter.\n */\n public getValue2(parameterCode: int32, defaultValue: float64): float64 {\n let value: ParameterValue = this.find(parameterCode);\n if (value == null) return defaultValue;\n if (value.getUnit() == null) return value.getParameterValue();\n return value.getUnit().toStandard(value.getParameterValue());\n }\n\n /**\n * Check if another parameter value list is compatible with this one.\n * @param other the other parameter value list (same parameter value sequence is assumed).\n * @return true if compatible.\n */\n public isCompatible(other: ParameterValueList): boolean {\n if (other.size() != this.size()) return false;\n for (let i: number = 0; i < this.size(); i++) if (other.get(i).isCompatible(this.get(i)) == false) return false;\n return true;\n }\n}\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"PrimeMeridian.d.ts","sourceRoot":"","sources":["../../../src/spatial/ecrs/PrimeMeridian.ts"],"names":[],"mappings":"AAIA;;GAEG;AAMH,aAAK,KAAK,GAAG,MAAM,CAAC;AAEpB,aAAK,OAAO,GAAG,MAAM,CAAC;AAKtB;;;;;;;;;;;GAWG;AACH,gBAAgB;AAChB,qBAAa,aAAa;IACtB,eAAe;IACf,OAAO,CAAC,KAAK,CAAQ;IACrB,eAAe;IACf,OAAO,CAAC,KAAK,CAAS;IACtB,mCAAmC;IACnC,OAAO,CAAC,iBAAiB,CAAU;IACnC,wCAAwC;IACxC,OAAO,CAAC,SAAS,CAAQ;IAEzB;;;;;;OAMG;gBACgB,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,gBAAgB,EAAE,OAAO,EAAE,QAAQ,EAAE,KAAK;IAQxF;;;OAGG;IACI,OAAO,IAAI,KAAK;IAIvB;;;OAGG;IACI,OAAO,IAAI,MAAM;IAIxB;;;OAGG;IACI,mBAAmB,IAAI,OAAO;IAIrC;;;OAGG;IACI,sBAAsB,IAAI,OAAO;IAKxC;;;OAGG;IACI,sBAAsB,IAAI,OAAO;IAKxC;;;OAGG;IACI,WAAW,IAAI,KAAK;IAI3B;;;;OAIG;IACI,YAAY,CAAC,KAAK,EAAE,aAAa,GAAG,OAAO;IAOlD;;;OAGG;IACI,QAAQ,IAAI,MAAM;CAG5B"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"PrimeMeridian.js","sourceRoot":"","sources":["../../../src/spatial/ecrs/PrimeMeridian.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;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AE,OAAO,KAAK,CAAC;QACpD,IAAI,KAAK,CAAC,iBAAiB,IAAI,IAAI,CAAC,iBAAiB;YAAE,OAAO,KAAK,CAAC;QACpE,OAAO,IAAI,CAAC;IAChB,CAAC;IAED;;;OAGG;IACI,QAAQ;QACX,OAAO,sBAAsB,GAAG,IAAI,CAAC,KAAK,GAAG,SAAS,GAAG,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC;IAC/E,CAAC;CACJ;AA9FD,sCA8FC","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;\n\ntype int8 = number;\ntype int16 = number;\ntype int32 = number;\ntype float32 = number;\ntype float64 = number;\n\nimport { Registry } from \"./Registry\";\nimport { Unit } from \"./Unit\";\n\n/**\n * Class PrimeMeridian defines the parameters of a prime meridian.\n *\n * Based on the following document:\n *\n * Coordinate Conversions and Transformations including Formulas\n * Guidance Note Number 7, part 2\n * Revised May 2005\n * Available at: http://www.epsg.org/\n *\n * @version 1.0 July 2005\n */\n/** @internal */\nexport class PrimeMeridian {\n /** The code */\n private _code: int32;\n /** The name */\n private _name: string;\n /** The longitude from Greenwich */\n private _lonFromGreenwich: float64;\n /** The code of the unit of longitude */\n private _unitCode: int32;\n\n /**\n * Create a new prime meridian.\n * @param code the code.\n * @param name the name.\n * @param lonFromGreenwich the longitude from Greenwich.\n * @param unitCode the code of the unit of longitude.\n */\n public constructor(code: int32, name: string, lonFromGreenwich: float64, unitCode: int32) {\n /* Store parameters */\n this._code = code;\n this._name = name;\n this._lonFromGreenwich = lonFromGreenwich;\n this._unitCode = unitCode;\n }\n\n /**\n * Get the code.\n * @return the code.\n */\n public getCode(): int32 {\n return this._code;\n }\n\n /**\n * Get the name.\n * @return the name.\n */\n public getName(): string {\n return this._name;\n }\n\n /**\n * Get the longitude from Greenwich.\n * @return the longitude from Greenwich.\n */\n public getLonFromGreenwich(): float64 {\n return this._lonFromGreenwich;\n }\n\n /**\n * Get the longitude from Greenwich in radians.\n * @return the longitude from Greenwich in radians.\n */\n public getLonFromGreenwichRad(): float64 {\n let unit: Unit = Registry.getUnit(this._unitCode);\n return unit.toStandard(this._lonFromGreenwich);\n }\n\n /**\n * Get the longitude from Greenwich in degrees.\n * @return the longitude from Greenwich in degrees.\n */\n public getLonFromGreenwichDeg(): float64 {\n if (this._unitCode == Unit.DEGREE) return this._lonFromGreenwich;\n return this.getLonFromGreenwichRad() / Math.PI * 180.0;\n }\n\n /**\n * Get the code of the unit of longitude.\n * @return the code of the unit of longitude.\n */\n public getUnitCode(): int32 {\n return this._unitCode;\n }\n\n /**\n * Check if another prime meridian is compatible with this one.\n * @param other the other prime meridian.\n * @return true if compatible.\n */\n public isCompatible(other: PrimeMeridian): boolean {\n if (other._code == this._code) return true;\n if (other._unitCode != this._unitCode) return false;\n if (other._lonFromGreenwich != this._lonFromGreenwich) return false;\n return true;\n }\n\n /**\n * The standard toString method.\n * @see Object#toString\n */\n public toString(): string {\n return \"[PrimeMeridian:code=\" + this._code + \",name='\" + this._name + \"']\";\n }\n}\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Registry.d.ts","sourceRoot":"","sources":["../../../src/spatial/ecrs/Registry.ts"],"names":[],"mappings":"AAIA;;GAEG;AAMH,aAAK,KAAK,GAAG,MAAM,CAAC;AAEpB,aAAK,OAAO,GAAG,MAAM,CAAC;AAEtB,OAAO,EAAE,KAAK,EAAE,MAAM,+BAA+B,CAAC;AAKtD,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAE5B,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B;;;;GAIG;AACH,gBAAgB;AAChB,qBAAa,QAAQ;IACjB,iCAAiC;IACjC,OAA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