Add utility methods for  2-D geometry