FreeCAD vector math library/ro

Introduction
This is a Python module containing a couple of useful functions to manipulate vectors. This library is included in the Draft_Module and can be accessed like this from the Python interpreter:

Please note that this module was created a long time ago, when the class didn't have many of its methods. Now these operations can be done by the Vector class itself.

Although the module still exists, and it is still used inside the Draft Workbench, it is probably better to use the  methods directly for new developments.

Functions
Vectors are the building bricks of almost all 3D geometric operations, so it is useful to know a bit about them to understand how these functions can be useful to you. A couple of good pages to learn the basics of vector math:
 * http://en.wikipedia.org/wiki/Vector_space
 * http://maths-wiki.wikispaces.com/Vectors
 * http://darksleep.com/player/opengl_coordinate_system_and_matrix_math.html