Efficient geometric reconstruction of complex geological structures