Package pygeodesy :: Module nvector |
[frames] | no frames]

# Module nvector

DEPRECATED, use module nvectorBase instead.

Version: 19.10.20

Classes
| LatLonNvectorBase (INTERNAL) Base class for n-vector-based ellipsoidal and spherical `LatLon` classes.
| Nvector Base class for ellipsoidal and spherical `Nvector`s.

Functions
sumOf(nvectors, Vector=None, h=None, **Vector_kwds) Return the vectorial sum of two or more n-vectors. |

Variables
| NorthPole = `NvectorBase(0.0, 0.0, 1.0)`
| SouthPole = `NvectorBase(0.0, 0.0, -1.0)`

Function Details

### sumOf(nvectors, Vector=None, h=None, **Vector_kwds) |
Return the vectorial sum of two or more n-vectors. Parameters: `nvectors` - Vectors to be added (`Nvector`[]). `Vector` - Optional class for the vectorial sum (`Nvector`) or `None`. `h` - Optional height, overriding the mean height (`meter`). `Vector_kwds` - Optional, additional `Vector` keyword arguments, ignored if `Vector=None`. Returns: Vectorial sum (`Vector`) or a Vector4Tuple`(x, y, z, h)` if `Vector` is `None`. Raises: `VectorError` - No `nvectors`.