geometry.cpp add.