FreeCAD vector math library

This is a python file containing a couple of useful functions to manipulate freecad vectors. Just paste the following code in a python file, and import that file in your python script in order to use them.

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://quark.planetquake.gamespy.com/infobase/src.math.vectors.html
 * http://www.brainycreatures.org/maths/vector.asp
 * http://www.geocities.com/SiliconValley/2151/math3d.html