Extension to Ruby geometry libraries