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

Module vector3d

Generic 3-D vector base class Vector3d and function sumOf.

Pure Python implementation of vector-based functions by (C) Chris Veness 2011-2015 published under the same MIT Licence**, see http://www.movable-type.co.uk/scripts/latlong-vectors.html.


Version: 17.06.25

Classes
  Vector3d
Generic 3-D vector manipulation.
Functions
 
sumOf(vectors, Vector=<class 'pygeodesy.vector3d.Vector3d'>, **kwds)
Compute the vectorial sum of several vectors.
Function Details

sumOf(vectors, Vector=<class 'pygeodesy.vector3d.Vector3d'>, **kwds)

 

Compute the vectorial sum of several vectors.

Parameters:
  • vectors - Vectors to be added (Vector3d[]).
  • Vector - Vector class for sum (Vector3d).
  • kwds - Optional, additional Vector keyword argments.
Returns:
Vectorial sum (Vector).
Raises:
  • ValueError - No vectors.