add additional functions to geometry class