C++ Template Library for geometric primitives