add geometry drawing helper functions