geometry.cpp