I would need some basic vector mathematics constructs in an application. Dot product, cross product. Finding the intersection of lines, that kind of stuff.
I can do
Re-check that ol'good friend of C++ programmers called Boost. It has a linear algebra package that may well suits your needs.