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.
- pygeodesy/__init__.py +35 -31
- pygeodesy/__main__.py +3 -3
- pygeodesy/albers.py +29 -36
- pygeodesy/auxilats/_CX_4.py +2 -2
- pygeodesy/auxilats/_CX_6.py +2 -2
- pygeodesy/auxilats/_CX_8.py +2 -2
- pygeodesy/auxilats/_CX_Rs.py +59 -40
- pygeodesy/auxilats/__init__.py +3 -3
- pygeodesy/auxilats/__main__.py +9 -7
- pygeodesy/auxilats/auxAngle.py +2 -2
- pygeodesy/auxilats/auxLat.py +13 -13
- pygeodesy/auxilats/auxily.py +13 -9
- pygeodesy/azimuthal.py +7 -6
- pygeodesy/basics.py +65 -22
- pygeodesy/booleans.py +12 -10
- pygeodesy/cartesianBase.py +21 -20
- pygeodesy/clipy.py +11 -10
- pygeodesy/constants.py +11 -10
- pygeodesy/css.py +14 -11
- pygeodesy/datums.py +8 -8
- pygeodesy/deprecated/bases.py +2 -2
- pygeodesy/deprecated/classes.py +2 -2
- pygeodesy/deprecated/consterns.py +4 -4
- pygeodesy/dms.py +8 -8
- pygeodesy/ecef.py +10 -7
- pygeodesy/elevations.py +9 -8
- pygeodesy/ellipsoidalBase.py +19 -8
- pygeodesy/ellipsoidalBaseDI.py +17 -15
- pygeodesy/ellipsoidalNvector.py +6 -3
- pygeodesy/ellipsoidalVincenty.py +4 -1
- pygeodesy/ellipsoids.py +167 -138
- pygeodesy/elliptic.py +9 -9
- pygeodesy/errors.py +44 -43
- pygeodesy/etm.py +9 -9
- pygeodesy/fmath.py +10 -9
- pygeodesy/formy.py +11 -12
- pygeodesy/frechet.py +216 -109
- pygeodesy/fstats.py +5 -4
- pygeodesy/fsums.py +107 -122
- pygeodesy/gars.py +7 -7
- pygeodesy/geodesici.py +15 -14
- pygeodesy/geodesicw.py +34 -32
- pygeodesy/geodesicx/__init__.py +1 -1
- pygeodesy/geodesicx/__main__.py +12 -10
- pygeodesy/geodesicx/gx.py +30 -33
- pygeodesy/geodesicx/gxarea.py +2 -2
- pygeodesy/geodesicx/gxline.py +5 -5
- pygeodesy/geodsolve.py +18 -17
- pygeodesy/geohash.py +7 -8
- pygeodesy/geoids.py +35 -34
- pygeodesy/hausdorff.py +17 -13
- pygeodesy/heights.py +2 -4
- pygeodesy/internals.py +31 -46
- pygeodesy/interns.py +12 -9
- pygeodesy/iters.py +8 -8
- pygeodesy/karney.py +73 -66
- pygeodesy/ktm.py +5 -5
- pygeodesy/latlonBase.py +14 -18
- pygeodesy/lazily.py +73 -74
- pygeodesy/lcc.py +11 -9
- pygeodesy/ltp.py +8 -7
- pygeodesy/ltpTuples.py +2 -2
- pygeodesy/mgrs.py +7 -6
- pygeodesy/named.py +47 -31
- pygeodesy/nvectorBase.py +7 -7
- pygeodesy/osgr.py +9 -8
- pygeodesy/points.py +12 -10
- pygeodesy/props.py +25 -25
- pygeodesy/resections.py +11 -10
- pygeodesy/rhumb/__init__.py +1 -1
- pygeodesy/rhumb/aux_.py +14 -14
- pygeodesy/rhumb/bases.py +22 -20
- pygeodesy/rhumb/ekx.py +6 -6
- pygeodesy/rhumb/solve.py +15 -15
- pygeodesy/solveBase.py +3 -3
- pygeodesy/sphericalBase.py +6 -6
- pygeodesy/sphericalNvector.py +6 -5
- pygeodesy/sphericalTrigonometry.py +8 -7
- pygeodesy/streprs.py +14 -14
- pygeodesy/trf.py +14 -12
- pygeodesy/triaxials.py +29 -26
- pygeodesy/units.py +5 -4
- pygeodesy/unitsBase.py +5 -4
- pygeodesy/ups.py +3 -3
- pygeodesy/utily.py +4 -4
- pygeodesy/utmups.py +4 -4
- pygeodesy/utmupsBase.py +88 -18
- pygeodesy/vector2d.py +18 -11
- pygeodesy/vector3d.py +7 -6
- pygeodesy/webmercator.py +6 -5
- pygeodesy/wgrs.py +6 -5
- {pygeodesy-25.1.9.dist-info → pygeodesy-25.4.25.dist-info}/METADATA +35 -31
- pygeodesy-25.4.25.dist-info/RECORD +118 -0
- pygeodesy-25.1.9.dist-info/RECORD +0 -118
- {pygeodesy-25.1.9.dist-info → pygeodesy-25.4.25.dist-info}/WHEEL +0 -0
- {pygeodesy-25.1.9.dist-info → pygeodesy-25.4.25.dist-info}/top_level.txt +0 -0
pygeodesy/ellipsoidalNvector.py
CHANGED
|
@@ -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,
|
|
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__ = '
|
|
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
|
|
459
|
+
if not _isin(datum, None, self._datum):
|
|
457
460
|
self._datum = _ellipsoidal_datum(datum, **name)
|
|
458
461
|
|
|
459
462
|
@Property_RO
|
pygeodesy/ellipsoidalVincenty.py
CHANGED
|
@@ -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__ = '
|
|
79
|
+
__version__ = '25.04.21'
|
|
77
80
|
|
|
78
81
|
_antipodal_to_ = _SPACE_(_antipodal_, _to_)
|
|
79
82
|
|