pygeodesy 24.3.24__py2.py3-none-any.whl

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 (115) hide show
  1. PyGeodesy-24.3.24.dist-info/METADATA +272 -0
  2. PyGeodesy-24.3.24.dist-info/RECORD +115 -0
  3. PyGeodesy-24.3.24.dist-info/WHEEL +6 -0
  4. PyGeodesy-24.3.24.dist-info/top_level.txt +1 -0
  5. pygeodesy/LICENSE +21 -0
  6. pygeodesy/__init__.py +615 -0
  7. pygeodesy/__main__.py +103 -0
  8. pygeodesy/albers.py +867 -0
  9. pygeodesy/auxilats/_CX_4.py +218 -0
  10. pygeodesy/auxilats/_CX_6.py +314 -0
  11. pygeodesy/auxilats/_CX_8.py +475 -0
  12. pygeodesy/auxilats/__init__.py +54 -0
  13. pygeodesy/auxilats/__main__.py +86 -0
  14. pygeodesy/auxilats/auxAngle.py +548 -0
  15. pygeodesy/auxilats/auxDLat.py +302 -0
  16. pygeodesy/auxilats/auxDST.py +296 -0
  17. pygeodesy/auxilats/auxLat.py +848 -0
  18. pygeodesy/auxilats/auxily.py +272 -0
  19. pygeodesy/azimuthal.py +1150 -0
  20. pygeodesy/basics.py +892 -0
  21. pygeodesy/booleans.py +2031 -0
  22. pygeodesy/cartesianBase.py +1062 -0
  23. pygeodesy/clipy.py +704 -0
  24. pygeodesy/constants.py +516 -0
  25. pygeodesy/css.py +660 -0
  26. pygeodesy/datums.py +752 -0
  27. pygeodesy/deprecated/__init__.py +61 -0
  28. pygeodesy/deprecated/bases.py +40 -0
  29. pygeodesy/deprecated/classes.py +262 -0
  30. pygeodesy/deprecated/consterns.py +54 -0
  31. pygeodesy/deprecated/datum.py +40 -0
  32. pygeodesy/deprecated/functions.py +375 -0
  33. pygeodesy/deprecated/nvector.py +48 -0
  34. pygeodesy/deprecated/rhumbBase.py +32 -0
  35. pygeodesy/deprecated/rhumbaux.py +33 -0
  36. pygeodesy/deprecated/rhumbsolve.py +33 -0
  37. pygeodesy/deprecated/rhumbx.py +33 -0
  38. pygeodesy/dms.py +986 -0
  39. pygeodesy/ecef.py +1348 -0
  40. pygeodesy/elevations.py +279 -0
  41. pygeodesy/ellipsoidalBase.py +1224 -0
  42. pygeodesy/ellipsoidalBaseDI.py +913 -0
  43. pygeodesy/ellipsoidalExact.py +343 -0
  44. pygeodesy/ellipsoidalGeodSolve.py +343 -0
  45. pygeodesy/ellipsoidalKarney.py +403 -0
  46. pygeodesy/ellipsoidalNvector.py +685 -0
  47. pygeodesy/ellipsoidalVincenty.py +590 -0
  48. pygeodesy/ellipsoids.py +2476 -0
  49. pygeodesy/elliptic.py +1198 -0
  50. pygeodesy/epsg.py +243 -0
  51. pygeodesy/errors.py +804 -0
  52. pygeodesy/etm.py +1190 -0
  53. pygeodesy/fmath.py +1013 -0
  54. pygeodesy/formy.py +1818 -0
  55. pygeodesy/frechet.py +865 -0
  56. pygeodesy/fstats.py +760 -0
  57. pygeodesy/fsums.py +1898 -0
  58. pygeodesy/gars.py +358 -0
  59. pygeodesy/geodesicw.py +581 -0
  60. pygeodesy/geodesicx/_C4_24.py +1699 -0
  61. pygeodesy/geodesicx/_C4_27.py +2395 -0
  62. pygeodesy/geodesicx/_C4_30.py +3301 -0
  63. pygeodesy/geodesicx/__init__.py +48 -0
  64. pygeodesy/geodesicx/__main__.py +91 -0
  65. pygeodesy/geodesicx/gx.py +1382 -0
  66. pygeodesy/geodesicx/gxarea.py +535 -0
  67. pygeodesy/geodesicx/gxbases.py +154 -0
  68. pygeodesy/geodesicx/gxline.py +669 -0
  69. pygeodesy/geodsolve.py +426 -0
  70. pygeodesy/geohash.py +914 -0
  71. pygeodesy/geoids.py +1884 -0
  72. pygeodesy/hausdorff.py +892 -0
  73. pygeodesy/heights.py +1155 -0
  74. pygeodesy/interns.py +687 -0
  75. pygeodesy/iters.py +545 -0
  76. pygeodesy/karney.py +919 -0
  77. pygeodesy/ktm.py +633 -0
  78. pygeodesy/latlonBase.py +1766 -0
  79. pygeodesy/lazily.py +960 -0
  80. pygeodesy/lcc.py +684 -0
  81. pygeodesy/ltp.py +1107 -0
  82. pygeodesy/ltpTuples.py +1563 -0
  83. pygeodesy/mgrs.py +721 -0
  84. pygeodesy/named.py +1324 -0
  85. pygeodesy/namedTuples.py +683 -0
  86. pygeodesy/nvectorBase.py +695 -0
  87. pygeodesy/osgr.py +781 -0
  88. pygeodesy/points.py +1686 -0
  89. pygeodesy/props.py +628 -0
  90. pygeodesy/resections.py +1048 -0
  91. pygeodesy/rhumb/__init__.py +46 -0
  92. pygeodesy/rhumb/aux_.py +397 -0
  93. pygeodesy/rhumb/bases.py +1148 -0
  94. pygeodesy/rhumb/ekx.py +563 -0
  95. pygeodesy/rhumb/solve.py +572 -0
  96. pygeodesy/simplify.py +647 -0
  97. pygeodesy/solveBase.py +472 -0
  98. pygeodesy/sphericalBase.py +724 -0
  99. pygeodesy/sphericalNvector.py +1264 -0
  100. pygeodesy/sphericalTrigonometry.py +1447 -0
  101. pygeodesy/streprs.py +627 -0
  102. pygeodesy/trf.py +2079 -0
  103. pygeodesy/triaxials.py +1484 -0
  104. pygeodesy/units.py +969 -0
  105. pygeodesy/unitsBase.py +349 -0
  106. pygeodesy/ups.py +538 -0
  107. pygeodesy/utily.py +1231 -0
  108. pygeodesy/utm.py +762 -0
  109. pygeodesy/utmups.py +318 -0
  110. pygeodesy/utmupsBase.py +517 -0
  111. pygeodesy/vector2d.py +785 -0
  112. pygeodesy/vector3d.py +968 -0
  113. pygeodesy/vector3dBase.py +1049 -0
  114. pygeodesy/webmercator.py +383 -0
  115. pygeodesy/wgrs.py +439 -0
@@ -0,0 +1,375 @@
1
+
2
+ # -*- coding: utf-8 -*-
3
+
4
+ u'''DEPRECATED functions kept for backward compatibility.
5
+ '''
6
+
7
+ from pygeodesy.constants import EPS, R_M, float0_
8
+ from pygeodesy.deprecated.classes import ClipCS3Tuple, TriAngle4Tuple, _TriAngle5Tuple
9
+ from pygeodesy.interns import NN, _area_, _COMMASPACE_, _negative_, \
10
+ _scalar_, _sep_, _SPACE_, _UNDER_, _value_
11
+ from pygeodesy.lazily import _ALL_DEPRECATED, _ALL_MODS as _MODS
12
+ from pygeodesy.props import deprecated_function
13
+ # from pygeodesy.resections import TriAngle5Tuple as _TriAngle5Tuple # from .classes
14
+ from pygeodesy.units import Number_, Scalar_
15
+
16
+ __all__ = _ALL_DEPRECATED.deprecated_functions
17
+ __version__ = '24.02.08'
18
+
19
+ _WGS84 = _UTM = object()
20
+
21
+
22
+ @deprecated_function
23
+ def anStr(name, OKd='._-', sub=_UNDER_): # PYCHOK no cover
24
+ '''DEPRECATED, use function L{pygeodesy.anstr}.'''
25
+ return _MODS.streprs.anstr(name, OKd=OKd, sub=sub)
26
+
27
+
28
+ @deprecated_function
29
+ def areaof(points, adjust=True, radius=R_M, wrap=True): # PYCHOK no cover
30
+ '''DEPRECATED, use function L{pygeodesy.areaOf}.'''
31
+ return _MODS.points.areaOf(points, adjust=adjust, radius=radius, wrap=wrap)
32
+
33
+
34
+ @deprecated_function
35
+ def atand(x):
36
+ '''DEPRECATED on 2023.09.28, use function L{pygeodesy.atan1d}.'''
37
+ return _MODS.utily.atan1d(x)
38
+
39
+
40
+ @deprecated_function
41
+ def bounds(points, wrap=True, LatLon=None): # PYCHOK no cover
42
+ '''DEPRECATED, use function L{pygeodesy.boundsOf}.
43
+
44
+ @return: 2-Tuple C{(latlonSW, latlonNE)} as B{C{LatLon}}
45
+ or 4-Tuple C{(latS, lonW, latN, lonE)} if
46
+ B{C{LatLon}} is C{None}.
47
+ '''
48
+ return tuple(_MODS.points.boundsOf(points, wrap=wrap, LatLon=LatLon))
49
+
50
+
51
+ @deprecated_function
52
+ def clipCS3(points, lowerleft, upperright, closed=False, inull=False): # PYCHOK no cover
53
+ '''DEPRECATED, use function L{pygeodesy.clipCS4}.
54
+
55
+ @return: Yield a L{ClipCS3Tuple}C{(start, end, index)} for each
56
+ edge of the I{clipped} path.
57
+ '''
58
+ for p1, p2, _, j in _MODS.clipy.clipCS4(points, lowerleft, upperright,
59
+ closed=closed, inull=inull):
60
+ yield ClipCS3Tuple(p1, p2, j)
61
+
62
+
63
+ @deprecated_function
64
+ def clipDMS(deg, limit): # PYCHOK no cover
65
+ '''DEPRECATED, use function L{pygeodesy.clipDegrees}.'''
66
+ return _MODS.dms.clipDegrees(deg, limit)
67
+
68
+
69
+ @deprecated_function
70
+ def clipStr(bstr, limit=50, white=NN): # PYCHOK no cover
71
+ '''DEPRECATED, use function L{pygeodesy.clips}.'''
72
+ return _MODS.basics.clips(bstr, limit=limit, white=white)
73
+
74
+
75
+ @deprecated_function
76
+ def collins(pointA, pointB, pointC, alpha, beta, **useZ_Clas_and_kwds):
77
+ '''DEPRECATED, use function L{pygeodesy.collins5}.'''
78
+ return _MODS.resections.collins5(pointA, pointB, pointC, alpha, beta,
79
+ **useZ_Clas_and_kwds)
80
+
81
+
82
+ @deprecated_function
83
+ def copysign(x, y): # PYCHOK no cover
84
+ '''DEPRECATED, use function L{pygeodesy.copysign0}.'''
85
+ return _MODS.basics.copysign0(x, y)
86
+
87
+
88
+ @deprecated_function
89
+ def decodeEPSG2(arg): # PYCHOK no cover
90
+ '''DEPRECATED, use function L{epsg.decode2}.
91
+
92
+ @return: 2-Tuple C{(zone, hemipole)}
93
+ '''
94
+ return tuple(_MODS.epsg.decode2(arg))
95
+
96
+
97
+ @deprecated_function
98
+ def encodeEPSG(zone, hemipole=NN, band=NN): # PYCHOK no cover
99
+ '''DEPRECATED, use function L{epsg.encode}.
100
+
101
+ @return: C{EPSG} code (C{int}).
102
+ '''
103
+ return int(_MODS.epsg.encode(zone, hemipole=hemipole, band=band))
104
+
105
+
106
+ @deprecated_function
107
+ def enStr2(easting, northing, prec, *extras): # PYCHOK no cover
108
+ '''DEPRECATED, use function L{pygeodesy.enstr2}.'''
109
+ return _MODS.streprs.enstr2(easting, northing, (int(prec) // 2 - 5), *extras)
110
+
111
+
112
+ @deprecated_function
113
+ def equirectangular3(lat1, lon1, lat2, lon2, **options): # PYCHOK no cover
114
+ '''DEPRECATED, use function L{pygeodesy.equirectangular_}.
115
+
116
+ @return: 3-Tuple C{(distance2, delta_lat, delta_lon)}.
117
+ '''
118
+ return tuple(_MODS.formy.equirectangular_(lat1, lon1, lat2, lon2, **options)[:3])
119
+
120
+
121
+ @deprecated_function
122
+ def excessAbc(A, b, c):
123
+ '''DEPRECATED on 2023.04.04, use function L{pygeodesy.excessAbc_}.'''
124
+ return _MODS.formy.excessAbc_(A, b, c)
125
+
126
+
127
+ @deprecated_function
128
+ def excessGirard(A, B, C):
129
+ '''DEPRECATED on 2023.04.04, use function L{pygeodesy.excessGirard_}.'''
130
+ return _MODS.formy.excessGirard_(A, B, C)
131
+
132
+
133
+ @deprecated_function
134
+ def excessLHuilier(a, b, c):
135
+ '''DEPRECATED on 2023.04.04, use function L{pygeodesy.excessLHuilier_}.'''
136
+ return _MODS.formy.excessLHuilier_(a, b, c)
137
+
138
+
139
+ @deprecated_function
140
+ def false2f(value, name=_value_, false=True, Error=ValueError): # PYCHOK no cover
141
+ '''DEPRECATED, use class L{Easting} or L{Northing}.'''
142
+ return falsed2f(falsed=false, Error=Error, **{name: value})
143
+
144
+
145
+ @deprecated_function
146
+ def falsed2f(falsed=True, Error=ValueError, **name_value): # PYCHOK no cover
147
+ '''DEPRECATED, use class L{Easting} or L{Northing}.
148
+
149
+ Convert a falsed east-/northing to non-negative C{float}.
150
+
151
+ @kwarg falsed: Value includes false origin (C{bool}).
152
+ @kwarg Error: Optional, overriding error (C{Exception}).
153
+ @kwarg name_value: One C{B{name}=value} pair.
154
+
155
+ @return: The value (C{float}).
156
+
157
+ @raise Error: Invalid or negative C{B{name}=value}.
158
+ '''
159
+ t = NN
160
+ if len(name_value) == 1:
161
+ try:
162
+ for f in name_value.values():
163
+ f = float(f)
164
+ if falsed and f < 0:
165
+ break
166
+ return f
167
+ t = _COMMASPACE_('falsed', _negative_)
168
+ except (TypeError, ValueError) as x:
169
+ t = str(x)
170
+ raise _MODS.errors._InvalidError(Error=Error, txt=t, **name_value)
171
+
172
+
173
+ @deprecated_function
174
+ def float0(*xs):
175
+ '''DEPRECATED on 2023.04.21, use function L{pygeodesy.float0_}.'''
176
+ return float0_(*xs)
177
+
178
+
179
+ @deprecated_function
180
+ def fStr(floats, prec=6, fmt=_MODS.streprs.Fmt.f, ints=False, sep=_COMMASPACE_): # PYCHOK no cover
181
+ '''DEPRECATED, use function L{fstr}.'''
182
+ return _MODS.streprs.fstr(floats, prec=prec, fmt=fmt, ints=ints, sep=sep)
183
+
184
+
185
+ @deprecated_function
186
+ def fStrzs(floatstr): # PYCHOK no cover
187
+ '''DEPRECATED, use function L{pygeodesy.fstrzs}.'''
188
+ return _MODS.streprs.fstrzs(floatstr)
189
+
190
+
191
+ @deprecated_function
192
+ def hypot3(x, y, z): # PYCHOK no cover
193
+ '''DEPRECATED, use function L{pygeodesy.hypot_}.'''
194
+ return _MODS.fmath.hypot_(x, y, z)
195
+
196
+
197
+ @deprecated_function
198
+ def inStr(inst, *args, **kwds): # PYCHOK no cover
199
+ '''DEPRECATED, use function L{pygeodesy.instr}.'''
200
+ return _MODS.streprs.instr(inst, *args, **kwds)
201
+
202
+
203
+ @deprecated_function
204
+ def isenclosedby(point, points, wrap=False): # PYCHOK no cover
205
+ '''DEPRECATED, use function L{pygeodesy.isenclosedBy}.'''
206
+ return _MODS.points.isenclosedBy(point, points, wrap=wrap)
207
+
208
+
209
+ @deprecated_function
210
+ def istuplist(obj, minum=0): # PYCHOK no cover
211
+ '''DEPRECATED on 2023.03.31, use function L{pygeodesy.islistuple}.'''
212
+ return _MODS.basics.islistuple(obj, minum=minum)
213
+
214
+
215
+ @deprecated_function
216
+ def joined(*words, **sep): # PYCHOK no cover
217
+ '''DEPRECATED, use C{NN(...)}, C{NN.join_} or C{B{sep}.join}.'''
218
+ return sep.get(_sep_, NN).join(map(str, words))
219
+
220
+
221
+ @deprecated_function
222
+ def joined_(*words, **sep): # PYCHOK no cover
223
+ '''DEPRECATED, use C{_SPACE_(...)}, C{_SPACE_.join_} or C{B{sep}.join}, sep=" ".'''
224
+ return sep.get(_sep_, _SPACE_).join(map(str, words))
225
+
226
+
227
+ @deprecated_function
228
+ def nearestOn3(point, points, closed=False, wrap=False, **options): # PYCHOK no cover
229
+ '''DEPRECATED, use function L{pygeodesy.nearestOn5}.
230
+
231
+ @return: 3-Tuple C{(lat, lon, distance)}
232
+ '''
233
+ return tuple(_MODS.points.nearestOn5(point, points, closed=closed, wrap=wrap, **options)[:3])
234
+
235
+
236
+ @deprecated_function
237
+ def nearestOn4(point, points, closed=False, wrap=False, **options): # PYCHOK no cover
238
+ '''DEPRECATED, use function L{pygeodesy.nearestOn5}.
239
+
240
+ @return: 4-Tuple C{(lat, lon, distance, angle)}
241
+ '''
242
+ return tuple(_MODS.points.nearestOn5(point, points, closed=closed, wrap=wrap, **options)[:4])
243
+
244
+
245
+ @deprecated_function
246
+ def parseUTM(strUTM, datum=_WGS84, Utm=_UTM, name=NN): # PYCHOK no cover
247
+ '''DEPRECATED, use function L{parseUTM5}.
248
+
249
+ @return: The UTM coordinate (B{L{Utm}}) or 4-tuple C{(zone,
250
+ hemisphere, easting, northing)} if B{C{Utm}} is C{None}.
251
+ '''
252
+ d = _MODS.datums.Datums.WGS84 if datum is _WGS84 else datum # PYCHOK shadows?
253
+ U = _MODS.utm.Utm if Utm is _UTM else Utm
254
+ r = _MODS.utm.parseUTM5(strUTM, datum=d, Utm=U, name=name)
255
+ if isinstance(r, tuple): # UtmUps5Tuple
256
+ r = r.zone, r.hemipole, r.easting, r.northing # no band
257
+ return r
258
+
259
+
260
+ @deprecated_function
261
+ def perimeterof(points, closed=False, adjust=True, radius=R_M, wrap=True): # PYCHOK no cover
262
+ '''DEPRECATED, use function L{pygeodesy.perimeterOf}.'''
263
+ return _MODS.points.perimeterOf(points, closed=closed, adjust=adjust, radius=radius, wrap=wrap)
264
+
265
+
266
+ @deprecated_function
267
+ def polygon(points, closed=True, base=None): # PYCHOK no cover
268
+ '''DEPRECATED, use function L{pygeodesy.points2}.'''
269
+ return _MODS.deprecated.bases.points2(points, closed=closed, base=base)
270
+
271
+
272
+ @deprecated_function
273
+ def scalar(value, low=EPS, high=1.0, name=_scalar_, Error=ValueError): # PYCHOK no cover
274
+ '''DEPRECATED, use class L{Number_} or L{Scalar_}.
275
+
276
+ @return: New value (C{float} or C{int} for C{int} B{C{low}}).
277
+
278
+ @raise Error: Invalid B{C{value}}.
279
+ '''
280
+ C_ = Number_ if _MODS.basics.isint(low) else Scalar_
281
+ return C_(value, name=name, Error=Error, low=low, high=high)
282
+
283
+
284
+ @deprecated_function
285
+ def simplify2(points, pipe, radius=R_M, shortest=False, indices=False, **options): # PYCHOK no cover
286
+ '''DEPRECATED, use function L{pygeodesy.simplifyRW}.
287
+ '''
288
+ return _MODS.simplify.simplifyRW(points, pipe, radius=radius, shortest=shortest,
289
+ indices=indices, **options)
290
+
291
+
292
+ @deprecated_function
293
+ def tienstra(pointA, pointB, pointC, alpha, **beta_gamma_useZ_Clas_and_kwds):
294
+ '''DEPRECATED, use function L{pygeodesy.tienstra7}.'''
295
+ return _MODS.resections.tienstra7(pointA, pointB, pointC, alpha, **beta_gamma_useZ_Clas_and_kwds)
296
+
297
+
298
+ @deprecated_function
299
+ def toUtm(latlon, lon=None, datum=None, Utm=_UTM, cmoff=True, name=NN): # PYCHOK no cover
300
+ '''DEPRECATED, use function L{pygeodesy.toUtm8}.
301
+
302
+ @return: The UTM coordinate (B{C{Utm}}) or a 6-tuple C{(zone,
303
+ easting, northing, band, convergence, scale)} if
304
+ B{C{Utm}} is C{None} or B{C{cmoff}} is C{False}.
305
+ '''
306
+ U = _MODS.utm.Utm if Utm is _UTM else Utm
307
+ r = _MODS.utm.toUtm8(latlon, lon=lon, datum=datum, Utm=U, name=name, falsed=cmoff)
308
+ if isinstance(r, tuple): # UtmUps8Tuple
309
+ # no hemisphere/pole and datum
310
+ r = r.zone, r.easting, r.northing, r.band, r.gamma, r.scale
311
+ return r
312
+
313
+
314
+ # @deprecated_function
315
+ # def trfTransforms(reframe, epoch, reframe2, epoch2):
316
+ # '''DEPRECATED on 2024.02.02, use function L{trfTransform0}C{(reframe, reframe2, epoch=None, epoch2=None)}.
317
+ #
318
+ # @return: A 0-, 1- or 2-tuple of Helmert L{Transform}s or C{None} if no conversion exists.
319
+ # '''
320
+ # t = _MODS.trf.trfTransform0(reframe, reframe2, epoch=epoch, epoch2=epoch2)
321
+ # return (t,) if t else t
322
+
323
+
324
+ @deprecated_function
325
+ def triAngle4(a, b, c):
326
+ '''DEPRECATED on 2023.09.14, use function L{pygeodesy.triAngle5}.
327
+
328
+ @return: A I{DEPRECATED} L{TriAngle4Tuple}C{(radA, radB, radC, rIn)}.
329
+ '''
330
+ assert _TriAngle5Tuple._Names_.index(_area_) == 4
331
+ return TriAngle4Tuple(_MODS.resections.triAngle5(a, b, c)[:4])
332
+
333
+
334
+ @deprecated_function
335
+ def unsign0(x): # PYCHOK no cover
336
+ '''DEPRECATED, use function L{pygeodesy.unsigned0}.'''
337
+ return _MODS.basics.unsigned0(x)
338
+
339
+
340
+ @deprecated_function
341
+ def unStr(name, *args, **kwds): # PYCHOK no cover
342
+ '''DEPRECATED, use function L{pygeodesy.unstr}.'''
343
+ return _MODS.streprs.unstr(name, *args, **kwds)
344
+
345
+
346
+ @deprecated_function
347
+ def utmZoneBand2(lat, lon): # PYCHOK no cover
348
+ '''DEPRECATED, use function L{pygeodesy.utmZoneBand5}.
349
+
350
+ @return: 2-Tuple C{(zone, band)}.
351
+ '''
352
+ r = _MODS.utm.utmZoneBand5(lat, lon) # UtmUpsLatLon5Tuple
353
+ return r.zone, r.band
354
+
355
+ # **) MIT License
356
+ #
357
+ # Copyright (C) 2018-2024 -- mrJean1 at Gmail -- All Rights Reserved.
358
+ #
359
+ # Permission is hereby granted, free of charge, to any person obtaining a
360
+ # copy of this software and associated documentation files (the "Software"),
361
+ # to deal in the Software without restriction, including without limitation
362
+ # the rights to use, copy, modify, merge, publish, distribute, sublicense,
363
+ # and/or sell copies of the Software, and to permit persons to whom the
364
+ # Software is furnished to do so, subject to the following conditions:
365
+ #
366
+ # The above copyright notice and this permission notice shall be included
367
+ # in all copies or substantial portions of the Software.
368
+ #
369
+ # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
370
+ # OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
371
+ # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
372
+ # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
373
+ # OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
374
+ # ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
375
+ # OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,48 @@
1
+
2
+ # -*- coding: utf-8 -*-
3
+
4
+ u'''DEPRECATED on 2021.05.20, use (INTERNAL) module L{pygeodesy.nvectorBase} instead.
5
+ '''
6
+
7
+ # from pygeodesy.interns import NN # from .lazily
8
+ from pygeodesy.lazily import _ALL_DEPRECATED, _ALL_OTHER, NN
9
+ from pygeodesy.nvectorBase import LatLonNvectorBase, NorthPole, NvectorBase, \
10
+ SouthPole, sumOf
11
+ from pygeodesy.props import deprecated_class
12
+
13
+ __all__ = _ALL_DEPRECATED.deprecated_nvector
14
+ __version__ = '23.11.26'
15
+
16
+
17
+ class Nvector(NvectorBase): # PYCHOK no cover
18
+ '''DEPRECATED on 2021.05.20, see (INTERNAL) class L{pygeodesy.nvectorBase.NvectorBase}.
19
+ '''
20
+ def __init__(self, x, y=None, z=None, h=0, ll=None, datum=None, name=NN):
21
+ deprecated_class(self.__class__)
22
+ NvectorBase.__init__(self, x, y=y, z=z, h=h, ll=ll, datum=datum, name=name)
23
+
24
+
25
+ assert (_ALL_OTHER(LatLonNvectorBase, Nvector, sumOf) +
26
+ (NorthPole.name, SouthPole.name)) == __all__
27
+
28
+ # **) MIT License
29
+ #
30
+ # Copyright (C) 2016-2024 -- mrJean1 at Gmail -- All Rights Reserved.
31
+ #
32
+ # Permission is hereby granted, free of charge, to any person obtaining a
33
+ # copy of this software and associated documentation files (the "Software"),
34
+ # to deal in the Software without restriction, including without limitation
35
+ # the rights to use, copy, modify, merge, publish, distribute, sublicense,
36
+ # and/or sell copies of the Software, and to permit persons to whom the
37
+ # Software is furnished to do so, subject to the following conditions:
38
+ #
39
+ # The above copyright notice and this permission notice shall be included
40
+ # in all copies or substantial portions of the Software.
41
+ #
42
+ # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
43
+ # OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
44
+ # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
45
+ # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
46
+ # OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
47
+ # ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
48
+ # OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,32 @@
1
+
2
+ # -*- coding: utf-8 -*-
3
+
4
+ u'''DEPRECATED on 2023.11.26, use module L{pygeodesy.rhumb.bases} instead.
5
+ '''
6
+
7
+ from pygeodesy.rhumb.bases import * # PYCHOK expected
8
+
9
+ __all__ = () # _ALL_LAZY.rhumb._bases
10
+ __version__ = '23.11.26'
11
+
12
+ # **) MIT License
13
+ #
14
+ # Copyright (C) 2016-2024 -- mrJean1 at Gmail -- All Rights Reserved.
15
+ #
16
+ # Permission is hereby granted, free of charge, to any person obtaining a
17
+ # copy of this software and associated documentation files (the "Software"),
18
+ # to deal in the Software without restriction, including without limitation
19
+ # the rights to use, copy, modify, merge, publish, distribute, sublicense,
20
+ # and/or sell copies of the Software, and to permit persons to whom the
21
+ # Software is furnished to do so, subject to the following conditions:
22
+ #
23
+ # The above copyright notice and this permission notice shall be included
24
+ # in all copies or substantial portions of the Software.
25
+ #
26
+ # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
27
+ # OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
28
+ # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
29
+ # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
30
+ # OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
31
+ # ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
32
+ # OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,33 @@
1
+
2
+ # -*- coding: utf-8 -*-
3
+
4
+ u'''DEPRECATED on 2023.11.26, use module L{pygeodesy.rhumb.aux_} instead.
5
+ '''
6
+
7
+ from pygeodesy.rhumb.aux_ import * # PYCHOK expected
8
+ from pygeodesy.lazily import _ALL_LAZY
9
+
10
+ __all__ = _ALL_LAZY.rhumb_aux_ # attrs NOT DEPRECATED
11
+ __version__ = '23.12.02'
12
+
13
+ # **) MIT License
14
+ #
15
+ # Copyright (C) 2016-2024 -- mrJean1 at Gmail -- All Rights Reserved.
16
+ #
17
+ # Permission is hereby granted, free of charge, to any person obtaining a
18
+ # copy of this software and associated documentation files (the "Software"),
19
+ # to deal in the Software without restriction, including without limitation
20
+ # the rights to use, copy, modify, merge, publish, distribute, sublicense,
21
+ # and/or sell copies of the Software, and to permit persons to whom the
22
+ # Software is furnished to do so, subject to the following conditions:
23
+ #
24
+ # The above copyright notice and this permission notice shall be included
25
+ # in all copies or substantial portions of the Software.
26
+ #
27
+ # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
28
+ # OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
29
+ # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
30
+ # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
31
+ # OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
32
+ # ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
33
+ # OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,33 @@
1
+
2
+ # -*- coding: utf-8 -*-
3
+
4
+ u'''DEPRECATED on 2023.11.26, use module L{pygeodesy.rhumb.solve} instead.
5
+ '''
6
+
7
+ from pygeodesy.rhumb.solve import * # PYCHOK expected
8
+ from pygeodesy.lazily import _ALL_LAZY
9
+
10
+ __all__ = _ALL_LAZY.rhumb_solve # attrs NOT DEPRECATED
11
+ __version__ = '23.11.26'
12
+
13
+ # **) MIT License
14
+ #
15
+ # Copyright (C) 2016-2024 -- mrJean1 at Gmail -- All Rights Reserved.
16
+ #
17
+ # Permission is hereby granted, free of charge, to any person obtaining a
18
+ # copy of this software and associated documentation files (the "Software"),
19
+ # to deal in the Software without restriction, including without limitation
20
+ # the rights to use, copy, modify, merge, publish, distribute, sublicense,
21
+ # and/or sell copies of the Software, and to permit persons to whom the
22
+ # Software is furnished to do so, subject to the following conditions:
23
+ #
24
+ # The above copyright notice and this permission notice shall be included
25
+ # in all copies or substantial portions of the Software.
26
+ #
27
+ # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
28
+ # OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
29
+ # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
30
+ # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
31
+ # OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
32
+ # ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
33
+ # OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,33 @@
1
+
2
+ # -*- coding: utf-8 -*-
3
+
4
+ u'''DEPRECATED on 2023.11.26, use module L{pygeodesy.rhumb.ekx} instead.
5
+ '''
6
+
7
+ from pygeodesy.rhumb.ekx import * # PYCHOK expected
8
+ from pygeodesy.lazily import _ALL_LAZY
9
+
10
+ __all__ = _ALL_LAZY.rhumb_ekx # attrs NOT DEPRECATED
11
+ __version__ = '23.11.30'
12
+
13
+ # **) MIT License
14
+ #
15
+ # Copyright (C) 2016-2024 -- mrJean1 at Gmail -- All Rights Reserved.
16
+ #
17
+ # Permission is hereby granted, free of charge, to any person obtaining a
18
+ # copy of this software and associated documentation files (the "Software"),
19
+ # to deal in the Software without restriction, including without limitation
20
+ # the rights to use, copy, modify, merge, publish, distribute, sublicense,
21
+ # and/or sell copies of the Software, and to permit persons to whom the
22
+ # Software is furnished to do so, subject to the following conditions:
23
+ #
24
+ # The above copyright notice and this permission notice shall be included
25
+ # in all copies or substantial portions of the Software.
26
+ #
27
+ # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
28
+ # OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
29
+ # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
30
+ # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
31
+ # OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
32
+ # ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
33
+ # OTHER DEALINGS IN THE SOFTWARE.