[util various] Make geometry API more functiony (as opposed to methody)