Algorithms for Geometrical Models in Borromini's San Carlino alle Quattro Fontane