Collection of geometry algorithms