Create object_center_general.cpp