pygeodesy 25.1.9__py2.py3-none-any.whl → 25.4.25__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 (96) hide show
  1. pygeodesy/__init__.py +35 -31
  2. pygeodesy/__main__.py +3 -3
  3. pygeodesy/albers.py +29 -36
  4. pygeodesy/auxilats/_CX_4.py +2 -2
  5. pygeodesy/auxilats/_CX_6.py +2 -2
  6. pygeodesy/auxilats/_CX_8.py +2 -2
  7. pygeodesy/auxilats/_CX_Rs.py +59 -40
  8. pygeodesy/auxilats/__init__.py +3 -3
  9. pygeodesy/auxilats/__main__.py +9 -7
  10. pygeodesy/auxilats/auxAngle.py +2 -2
  11. pygeodesy/auxilats/auxLat.py +13 -13
  12. pygeodesy/auxilats/auxily.py +13 -9
  13. pygeodesy/azimuthal.py +7 -6
  14. pygeodesy/basics.py +65 -22
  15. pygeodesy/booleans.py +12 -10
  16. pygeodesy/cartesianBase.py +21 -20
  17. pygeodesy/clipy.py +11 -10
  18. pygeodesy/constants.py +11 -10
  19. pygeodesy/css.py +14 -11
  20. pygeodesy/datums.py +8 -8
  21. pygeodesy/deprecated/bases.py +2 -2
  22. pygeodesy/deprecated/classes.py +2 -2
  23. pygeodesy/deprecated/consterns.py +4 -4
  24. pygeodesy/dms.py +8 -8
  25. pygeodesy/ecef.py +10 -7
  26. pygeodesy/elevations.py +9 -8
  27. pygeodesy/ellipsoidalBase.py +19 -8
  28. pygeodesy/ellipsoidalBaseDI.py +17 -15
  29. pygeodesy/ellipsoidalNvector.py +6 -3
  30. pygeodesy/ellipsoidalVincenty.py +4 -1
  31. pygeodesy/ellipsoids.py +167 -138
  32. pygeodesy/elliptic.py +9 -9
  33. pygeodesy/errors.py +44 -43
  34. pygeodesy/etm.py +9 -9
  35. pygeodesy/fmath.py +10 -9
  36. pygeodesy/formy.py +11 -12
  37. pygeodesy/frechet.py +216 -109
  38. pygeodesy/fstats.py +5 -4
  39. pygeodesy/fsums.py +107 -122
  40. pygeodesy/gars.py +7 -7
  41. pygeodesy/geodesici.py +15 -14
  42. pygeodesy/geodesicw.py +34 -32
  43. pygeodesy/geodesicx/__init__.py +1 -1
  44. pygeodesy/geodesicx/__main__.py +12 -10
  45. pygeodesy/geodesicx/gx.py +30 -33
  46. pygeodesy/geodesicx/gxarea.py +2 -2
  47. pygeodesy/geodesicx/gxline.py +5 -5
  48. pygeodesy/geodsolve.py +18 -17
  49. pygeodesy/geohash.py +7 -8
  50. pygeodesy/geoids.py +35 -34
  51. pygeodesy/hausdorff.py +17 -13
  52. pygeodesy/heights.py +2 -4
  53. pygeodesy/internals.py +31 -46
  54. pygeodesy/interns.py +12 -9
  55. pygeodesy/iters.py +8 -8
  56. pygeodesy/karney.py +73 -66
  57. pygeodesy/ktm.py +5 -5
  58. pygeodesy/latlonBase.py +14 -18
  59. pygeodesy/lazily.py +73 -74
  60. pygeodesy/lcc.py +11 -9
  61. pygeodesy/ltp.py +8 -7
  62. pygeodesy/ltpTuples.py +2 -2
  63. pygeodesy/mgrs.py +7 -6
  64. pygeodesy/named.py +47 -31
  65. pygeodesy/nvectorBase.py +7 -7
  66. pygeodesy/osgr.py +9 -8
  67. pygeodesy/points.py +12 -10
  68. pygeodesy/props.py +25 -25
  69. pygeodesy/resections.py +11 -10
  70. pygeodesy/rhumb/__init__.py +1 -1
  71. pygeodesy/rhumb/aux_.py +14 -14
  72. pygeodesy/rhumb/bases.py +22 -20
  73. pygeodesy/rhumb/ekx.py +6 -6
  74. pygeodesy/rhumb/solve.py +15 -15
  75. pygeodesy/solveBase.py +3 -3
  76. pygeodesy/sphericalBase.py +6 -6
  77. pygeodesy/sphericalNvector.py +6 -5
  78. pygeodesy/sphericalTrigonometry.py +8 -7
  79. pygeodesy/streprs.py +14 -14
  80. pygeodesy/trf.py +14 -12
  81. pygeodesy/triaxials.py +29 -26
  82. pygeodesy/units.py +5 -4
  83. pygeodesy/unitsBase.py +5 -4
  84. pygeodesy/ups.py +3 -3
  85. pygeodesy/utily.py +4 -4
  86. pygeodesy/utmups.py +4 -4
  87. pygeodesy/utmupsBase.py +88 -18
  88. pygeodesy/vector2d.py +18 -11
  89. pygeodesy/vector3d.py +7 -6
  90. pygeodesy/webmercator.py +6 -5
  91. pygeodesy/wgrs.py +6 -5
  92. {pygeodesy-25.1.9.dist-info → pygeodesy-25.4.25.dist-info}/METADATA +35 -31
  93. pygeodesy-25.4.25.dist-info/RECORD +118 -0
  94. pygeodesy-25.1.9.dist-info/RECORD +0 -118
  95. {pygeodesy-25.1.9.dist-info → pygeodesy-25.4.25.dist-info}/WHEEL +0 -0
  96. {pygeodesy-25.1.9.dist-info → pygeodesy-25.4.25.dist-info}/top_level.txt +0 -0
@@ -23,14 +23,17 @@ The Journal of Navigation (2010), vol 63, nr 3, pp 395-417.
23
23
  # make sure int/int division yields float quotient, see .basics
24
24
  from __future__ import division as _; del _ # PYCHOK semicolon
25
25
 
26
- from pygeodesy.basics import issubclassof, map2, _xinstanceof, _xsubclassof
26
+ from pygeodesy.basics import _isin, issubclassof, map2, _xinstanceof, \
27
+ _xsubclassof
27
28
  from pygeodesy.datums import _earth_ellipsoid, _ellipsoidal_datum, _WGS84
28
29
  # from pygeodesy.dms import F_D, toDMS # _MODS
30
+ # from pygeodesy.ecef import EcefVeness # _MODS
29
31
  from pygeodesy.ellipsoidalBase import CartesianEllipsoidalBase, \
30
32
  _nearestOn, LatLonEllipsoidalBase, \
31
33
  _TOL_M, _Wrap
32
34
  from pygeodesy.errors import _xkwds, _xkwds_pop2
33
35
  # from pygeodesy.fmath import fdot # from .nvectorBase
36
+ # from pygeodesy.formy import _isequalTo # _MODS
34
37
  from pygeodesy.interns import _Nv00_, _COMMASPACE_, _pole_ # PYCHOK used!
35
38
  from pygeodesy.lazily import _ALL_LAZY, _ALL_MODS as _MODS, _ALL_OTHER
36
39
  # from pygeodesy.ltp import Ltp # _MODS
@@ -48,7 +51,7 @@ from pygeodesy.units import Bearing, Distance, Height, Scalar
48
51
  # from math import fabs # from .nvectorBase
49
52
 
50
53
  __all__ = _ALL_LAZY.ellipsoidalNvector
51
- __version__ = '24.10.19'
54
+ __version__ = '25.04.21'
52
55
 
53
56
 
54
57
  class Ned(_Ned):
@@ -453,7 +456,7 @@ class Nvector(NvectorBase):
453
456
  @raise TypeError: If B{C{datum}} is not a L{Datum}.
454
457
  '''
455
458
  NvectorBase.__init__(self, x_xyz, y=y, z=z, h=h, ll=ll, **name)
456
- if datum not in (None, self._datum):
459
+ if not _isin(datum, None, self._datum):
457
460
  self._datum = _ellipsoidal_datum(datum, **name)
458
461
 
459
462
  @Property_RO
@@ -51,10 +51,13 @@ or by converting to anothor datum:
51
51
  from __future__ import division as _; del _ # PYCHOK semicolon
52
52
 
53
53
  from pygeodesy.constants import EPS, EPS0, _0_0, _1_0, _2_0, _3_0, _4_0, _6_0
54
+ # from pygeodesy.ecef import EcefVeness # _MODS
54
55
  from pygeodesy.ellipsoidalBase import CartesianEllipsoidalBase, _nearestOn
55
56
  from pygeodesy.ellipsoidalBaseDI import LatLonEllipsoidalBaseDI, \
56
57
  _intersection3, _intersections2, \
57
58
  _TOL_M, intersecant2
59
+ # from pygeodesy.ellipsoidalExact import areaOf, perimeterOf # _MODS
60
+ # from pygeodesy.ellipsoidalKarney import areaOf, perimeterOf # _MODS
58
61
  from pygeodesy.errors import _and, _ValueError, _xkwds
59
62
  from pygeodesy.fmath import Fpolynomial, hypot, hypot1
60
63
  from pygeodesy.interns import _ambiguous_, _antipodal_, _COLONSPACE_, \
@@ -73,7 +76,7 @@ from pygeodesy.utily import atan2, atan2b, atan2d, sincos2, sincos2d, \
73
76
  from math import cos, degrees, fabs, radians, tan as _tan
74
77
 
75
78
  __all__ = _ALL_LAZY.ellipsoidalVincenty
76
- __version__ = '24.11.26'
79
+ __version__ = '25.04.21'
77
80
 
78
81
  _antipodal_to_ = _SPACE_(_antipodal_, _to_)
79
82