some C++ geometry trash