Rampant Arch and Its Optimum Geometrical Generation

: Gothic art was developed in western Europe from the second half of the 12th century to the end of the 15th century. The most characteristic Gothic building is the cathedral. Gothic architecture uses well-carved stone ashlars, and its essential elements include the arch. The thrust is transferred by means of external arches (ﬂying buttresses) to external buttresses that end in pinnacles, which accentuates the verticality. The evolution of the ﬂying buttresses should not only be considered as an aesthetic consideration, but also from a constructive point of view as an element of transmission of forces or loads. Thus, one evolves from a beam-type buttress to a simple arch, and ﬁnally to a rampant arch. In this work, we study the geometry of the rampant arch to determine which is the optimum from the constructive point of view. The optimum rampant arch obtained is the one with the common tangent to the two arches parallel to the slope line. A computer program was created to determine this optimal rampant arch by means of a numerical or graphical input. It was applied to several well-known and representative cases of Gothic art in France (church of Saint Urbain de Troyes) and Spain (Cathedral of Palma de Mallorca), establishing if they were designs of optimal rampant arches or not.


Introduction
The rampant arch is an arch whose starts, in walls or buttresses, are located at different levels, often with a considerable difference in height [1]. It was used extensively in Gothic architecture to shape the buttress, and its function was to transmit the thrust of the vaults to the buttresses and these to the foundations [2]. In addition to this structural function, the buttress serves to carry rainwater from the vaults [3] to the exterior through the pinnacles.
The most common rampant arch used in the flying buttresses of most well-known Gothic cathedrals is the one formed by a single circumferential arch [4]. According to Viollet-le-Duc (1854) [5] there are two types: flying buttresses in which the center of the circumference is in the wall ( Figure 1A), and flying buttresses in which its center is displaced toward the interior of the building ( Figure 1B). The first are the oldest flying buttresses, while the second are the most used because, from a mechanical point of view, they perform better than the first [6]. The flying buttresses appeared for the first time in Durham Cathedral around the year 1100 as an evolution of the hidden buttress in the triforium, where an opening is made that allows a longitudinal route parallel to the main nave [9]. In Durham, the buttress did not yet have the function of balancing the lateral thrusts of the vaults; its mission was to support the roof that covers the triforium ( Figure 1C).
The flying buttresses of a single circumferential arch could also have been the result of the evolution of the framework of auxiliary wooden constructions that, from a certain moment on, appeared to support the Romanesque barrel vaults that were beginning to open up. Over time, these frameworks would begin to be built in stone ( Figure 1D). This moment perhaps occurred in France at the Abbey of Vézelay [8], where the buttress would not be an "invention ex novo" but the evolution of those wooden structures known throughout France [10].
The rampant arch of a single circumferential arch played an essential role in the structural and formal conception of Gothic architecture, creating in the external volume of the cathedrals a succession of dematerialized planes composed of one, two, and even three rows of buttresses, contributing to the spatial richness of the building [11]. The successive rhythm of the flying buttresses and buttresses with their pinnacles of reinforcement makes it possible to open large windows with stained-glass windows that give great luminosity to the interior of the cathedral and give symbolic and immaterial value to the Gothic architecture, which contrasts with the heaviness of the Romanesque architecture it replaced ( Figure 1D) [12].
Although the single-arch flying buttresses are usually used in large cathedrals, there are also flying buttresses made up of two circumferential arches (Figure 2A). In this case, the rampant arch results from the union of two circumferential arches, tangent in the key, whose centers are at different levels, so that their outcrops in the walls or buttresses are at different heights. Examples that could be cited include, in France, the flying buttresses of the Church of Saint Urbain de Troyes [13] ( Figure  2B), where the red points (A and C) are the starting points of the two arches, and between which the unevenness of the flying buttress must be bridged, and those of the Cathedral of Beauvais, which alternate a first line of ramps of a single arch of circumference with another of two arches ( Figure 3A) [14]. In Spain, for example, there are the original flying buttresses of the cathedral of Palma de Mallorca, made up of two rampant arches of one and two circumferential arches, integrated into a single flying buttress ( Figure 3B) [15]. The rampant arches consisting of two circumferential arches The flying buttresses appeared for the first time in Durham Cathedral around the year 1100 as an evolution of the hidden buttress in the triforium, where an opening is made that allows a longitudinal route parallel to the main nave [9]. In Durham, the buttress did not yet have the function of balancing the lateral thrusts of the vaults; its mission was to support the roof that covers the triforium ( Figure 1C).
The flying buttresses of a single circumferential arch could also have been the result of the evolution of the framework of auxiliary wooden constructions that, from a certain moment on, appeared to support the Romanesque barrel vaults that were beginning to open up. Over time, these frameworks would begin to be built in stone ( Figure 1D). This moment perhaps occurred in France at the Abbey of Vézelay [8], where the buttress would not be an "invention ex novo" but the evolution of those wooden structures known throughout France [10].
The rampant arch of a single circumferential arch played an essential role in the structural and formal conception of Gothic architecture, creating in the external volume of the cathedrals a succession of dematerialized planes composed of one, two, and even three rows of buttresses, contributing to the spatial richness of the building [11]. The successive rhythm of the flying buttresses and buttresses with their pinnacles of reinforcement makes it possible to open large windows with stained-glass windows that give great luminosity to the interior of the cathedral and give symbolic and immaterial value to the Gothic architecture, which contrasts with the heaviness of the Romanesque architecture it replaced ( Figure 1D) [12].
Although the single-arch flying buttresses are usually used in large cathedrals, there are also flying buttresses made up of two circumferential arches (Figure 2A). In this case, the rampant arch results from the union of two circumferential arches, tangent in the key, whose centers are at different levels, so that their outcrops in the walls or buttresses are at different heights. Examples that could be cited include, in France, the flying buttresses of the Church of Saint Urbain de Troyes [13] (Figure 2B), where the red points (A and C) are the starting points of the two arches, and between which the unevenness of the flying buttress must be bridged, and those of the Cathedral of Beauvais, which alternate a first line of ramps of a single arch of circumference with another of two arches ( Figure 3A) [14]. In Spain, for example, there are the original flying buttresses of the cathedral of Palma de Mallorca, made up of two rampant arches of one and two circumferential arches, integrated into a single flying buttress ( Figure 3B) [15]. The rampant arches consisting of two circumferential arches are used in Gothic architecture to shape the flying buttresses, but also to build stairs. In Spain, there are many examples such as the Monastery of Uclés in Cuenca ( Figure 3C), in the palaces of the Generalitat de Barcelona and Valencia, and, in the latter city, the Lonja staircase ( Figure 3D). are used in Gothic architecture to shape the flying buttresses, but also to build stairs. In Spain, there are many examples such as the Monastery of Uclés in Cuenca ( Figure 3C), in the palaces of the Generalitat de Barcelona and Valencia, and, in the latter city, the Lonja staircase ( Figure 3D).   are used in Gothic architecture to shape the flying buttresses, but also to build stairs. In Spain, there are many examples such as the Monastery of Uclés in Cuenca ( Figure 3C), in the palaces of the Generalitat de Barcelona and Valencia, and, in the latter city, the Lonja staircase ( Figure 3D).    The rampant arches were used profusely again at the end of the 19th century with the appearance of neo-Gothic architecture. Many churches were built throughout Europe, especially in France. In America, for example, cathedrals such as New York or Washington were built in the United States ( Figure 4). In the same way, in modernism, these arches were also used. The rampant arches were used profusely again at the end of the 19th century with the appearance of neo-Gothic architecture. Many churches were built throughout Europe, especially in France. In America, for example, cathedrals such as New York or Washington were built in the United States ( Figure 4). In the same way, in modernism, these arches were also used. In general, the design of a rampant arch of a single arch does not present any difficulty, but the most difficult are the rampant arches of two arches, which throughout history were calculated graphically, and there is no consensus on which the optimal rampant arch of two arches is. The objectives of this work are to review the state of the art in the execution of rampant arches of two arches, to define which is the optimal one, to calculate the numerical solution, and to program it for its calculation and verification of rampant arches of already existing arches. As an additional objective, this work seeks to determine the starting points of the arches in the construction of the rampant arch.

Rampant Arches of Two Arches Graphically Constructed
The Gothic buildings raised the question of what methods were used by the builders in the design of their structures. The answer is that the Gothic builders had no method, only a great structural intuition nourished by the experience of successive collapses of structures. In classical texts, there are "structural rules" for dimensioning walls, pillars, and abutments of Gothic churches, all In general, the design of a rampant arch of a single arch does not present any difficulty, but the most difficult are the rampant arches of two arches, which throughout history were calculated graphically, and there is no consensus on which the optimal rampant arch of two arches is. The objectives of this work are to review the state of the art in the execution of rampant arches of two arches, to define which is the optimal one, to calculate the numerical solution, and to program it for its calculation and verification of rampant arches of already existing arches. As an additional objective, this work seeks to determine the starting points of the arches in the construction of the rampant arch.

Rampant Arches of Two Arches Graphically Constructed
The Gothic buildings raised the question of what methods were used by the builders in the design of their structures. The answer is that the Gothic builders had no method, only a great structural intuition nourished by the experience of successive collapses of structures. In classical texts, there are "structural rules" for dimensioning walls, pillars, and abutments of Gothic churches, all based on the proportionality of the elements. These rules were applied or calculated using geometric or graphical constructions; see, for instance, treaties of Derand [16] or the later one of Blondel [17].
Thus, the usual for the execution of rampant arches was graphical construction, in which two cases were distinguished depending on which parameters were known (see Figure 5). based on the proportionality of the elements. These rules were applied or calculated using geometric or graphical constructions; see, for instance, treaties of Derand [16] or the later one of Blondel [17]. Thus, the usual for the execution of rampant arches was graphical construction, in which two cases were distinguished depending on which parameters were known (see Figure 5).

Rampant Arch 1: Known A and C (Starting of the Two Arches)
2.1.1. Method 1 In Figure 5A, the graphical drawing of the rampant arch is described, with the initial (A) and final (C) points known, where the tracing can be summarized as follows: a. The ABCD rectangle is drawn; b. With center in A, circumference of R = AD, obtaining E; c. Mediatrix m of BE is drawn; d. The intersection of m with the rectangle determines centers O and O'.

Method 2
In Figure 5B, the graphical drawing of the rampant arch is described, with the initial (A) and final (C) points known. Note that the centers are no longer parallel to the support pillars, where the tracing can be summarized as follows: a. The ABCD rectangle is drawn; b. Mediatrix m of AB determines M; c. With center in M, circumference of diameter AC is drawn; d. The intersection of this circumference with m is E; e. The perpendicular by E to AC determines the centers O and O'.

Rampant Arch 2: The Radii of the Two Arcs (R1 and R2) Are Known
In this other method, the radii of the two arcs (R1 and R2) are known, which add up the horizontal distance between both points, and it is a question of determining the centers of both.
1. R1 + R2 = horizontal distance between both points (span); 2. In A and B, perpendicular to the pillars where they are taken, R1 and R2 are used to obtain the centers O and O', respectively, of the arches.

The Optimal Rampant Arch
In the literature, there are different points of view for the optimal rampant arch. For example, there are studies that define it from the aesthetic point of view, or from a more harmonious view, in which the curvatures of the different arches that compose it were more similar; here, the optimal In Figure 5A, the graphical drawing of the rampant arch is described, with the initial (A) and final (C) points known, where the tracing can be summarized as follows: The ABCD rectangle is drawn; b.
With center in A, circumference of R = AD, obtaining E; c.
Mediatrix m of BE is drawn; d.
The intersection of m with the rectangle determines centers O and O'.

Method 2
In Figure 5B, the graphical drawing of the rampant arch is described, with the initial (A) and final (C) points known. Note that the centers are no longer parallel to the support pillars, where the tracing can be summarized as follows: The ABCD rectangle is drawn; b.
Mediatrix m of AB determines M; c.
With center in M, circumference of diameter AC is drawn; d.
The intersection of this circumference with m is E; e.
The perpendicular by E to AC determines the centers O and O'.

Rampant Arch 2: The Radii of the Two Arcs (R1 and R2) Are Known
In this other method, the radii of the two arcs (R1 and R2) are known, which add up the horizontal distance between both points, and it is a question of determining the centers of both.
In A and B, perpendicular to the pillars where they are taken, R1 and R2 are used to obtain the centers O and O', respectively, of the arches.

The Optimal Rampant Arch
In the literature, there are different points of view for the optimal rampant arch. For example, there are studies that define it from the aesthetic point of view, or from a more harmonious view, in which the curvatures of the different arches that compose it were more similar; here, the optimal rampant arch corresponds to the one in which the ratio between the curvatures of the lateral circumference and the central circumference is closer to one [18].
However, the rampant arch, apart from its aesthetic consideration, as explained in the introduction, has a structural load transmission function, as it replaces the function of a beam [19]. In addition, however, loads can only be transmitted by compression, as this is how the masonry resists bending moments and, therefore, sets the limits of the resistance capacity of the arches [20]. Figure 6 shows examples of classical studies concerned with this issue, i.e., the possible breaking points of rampant arches [21,22]. In this sense, classical research attempted to find the minimum value of "h" (the rise) for which masonry is able to withstand bending moments without any tensile strength [23], estimated to be between 3 and 5 tons of passive horizontal thrust. The optimum rampant arch, from the point of view of the support function or the transmission of the constructive loads, is the one in which the tangent common to the two circles that compose the arch is parallel to the straight unevenness between the points. rampant arch corresponds to the one in which the ratio between the curvatures of the lateral circumference and the central circumference is closer to one [18]. However, the rampant arch, apart from its aesthetic consideration, as explained in the introduction, has a structural load transmission function, as it replaces the function of a beam [19]. In addition, however, loads can only be transmitted by compression, as this is how the masonry resists bending moments and, therefore, sets the limits of the resistance capacity of the arches [20]. Figure 6 shows examples of classical studies concerned with this issue, i.e., the possible breaking points of rampant arches [21,22]. In this sense, classical research attempted to find the minimum value of "h" (the rise) for which masonry is able to withstand bending moments without any tensile strength [23], estimated to be between 3 and 5 tons of passive horizontal thrust. The optimum rampant arch, from the point of view of the support function or the transmission of the constructive loads, is the one in which the tangent common to the two circles that compose the arch is parallel to the straight unevenness between the points.
Note that there are examples where an inadequate intervention in the structure caused the fall of the dome or the vault, e.g., at Edinburgh in 1768, where the church of Holyrood Abbey collapsed after an inappropriate intervention in the vaults, where the essential buttressing system was rampant arches abutting the nave vault and their pier buttresses were capped with stabilizing pinnacles [24].

Graphical Design
This section describes the graphic drawing of an optimum rampant arch, i.e., the one whose tangent common to the two arches is parallel to the straight unevenness. The main ideas are as follows: 1. Once the gradient "d" is defined, which indicates the slope of a flying buttress or, where appropriate, of a staircase, the start of the arches is determined by points A and B, which are on a line parallel to "d". Thus, the graphical construction of Figure 7 was as follows: a. Any PQ line was drawn parallel to "d". Note that there are examples where an inadequate intervention in the structure caused the fall of the dome or the vault, e.g., at Edinburgh in 1768, where the church of Holyrood Abbey collapsed after an inappropriate intervention in the vaults, where the essential buttressing system was rampant arches abutting the nave vault and their pier buttresses were capped with stabilizing pinnacles [24].

Graphical Design
This section describes the graphic drawing of an optimum rampant arch, i.e., the one whose tangent common to the two arches is parallel to the straight unevenness. The main ideas are as follows:

1.
Once the gradient "d" is defined, which indicates the slope of a flying buttress or, where appropriate, of a staircase, the start of the arches is determined by points A and B, which are on a line parallel to "d".

2.
Assuming the problem is solved, centers O and O' are on the straight perpendicular to the gradient line "d". In addition, O and O' are on the horizontal straight lines from A and B.

3.
If from B, the line BC is drawn perpendicular to "d", where logically BC = OO'.

4.
At this point, the question is reduced to place a segment OO' on the bisectors of the angles in M and N.
Thus, the graphical construction of Figure 7 was as follows:

Analytical Calculation
For the mathematical deduction, the scheme of Figure 8 was followed.

Analytical Calculation
For the mathematical deduction, the scheme of Figure 8 was followed. In the triangle OMN, tan = = .
In the triangle IHO, Then, we get 2 = + , 2 = , That is to say, in short, In the triangle OMN, In the triangle IHO, Then, we get That is to say, in short, In other words, the optimum rampant arch is the one with the tangent parallel to the uneven line. The relationship between the radii of curvature in a rampant arch will be found when the tangent is parallel to the straight line of unevenness. Let l the distance between walls (span) and h be the rise. One has, by resemblance of triangles, Therefore, Dividing by l 2 numerator and denominator and calling h l = p; then R r = 1 + p 2 + p 2 . If we

Computer Software
The above calculus was programmed in MATLAB. Figure 9 shows the programming diagram, with the calculations described in the previous section. The program can calculate the arcs either analytically, by entering the coordinates of the starting and ending points, or graphically, on a scaled image. In Figure 10, several examples of rampant arch calculations are shown, where the coordinates of the start and end points were entered. Note that they are shown in blue on the graph obtained ( Figure 10A). In the first example, the coordinates were for the initial point (1,1), and for the final point (3,3), so that the horizontal separation or span (l) between both was 2 m and the vertical or rise (h) was also 2 m, obtaining the coordinates of the center of the major arch (5, 1) and those of the minor arch (2.33, 3). In Figure 10B, an example of calculation of rampant arches in stairs is shown, where the two circumferences and their radii are highlighted.

Case Studies
In this section, two case studies of real rampant arches were selected, representative cases of Gothic art in France (church of Saint Urbain de Troyes) and Spain (Cathedral of Palma de Mallorca), where one comes out as an optimal rampant arch and the other does not.

Church of Saint Urbain de Troyes (France)
The Saint Urban Church (Église Saint-Urbain) is a large medieval French church erected in the city of Troyes, now the capital of the department of Aube. It was a collegiate church, endowed in 1262 by Pope Urban IV, and it is a remarkable example of late Gothic architecture. Construction of the building probably began in 1263, where the main section of the church was not completed until the 16th century, and the tower was not completed until 1630. One of its highlights is the collegiate choir,

Case Studies
In this section, two case studies of real rampant arches were selected, representative cases of Gothic art in France (church of Saint Urbain de Troyes) and Spain (Cathedral of Palma de Mallorca), where one comes out as an optimal rampant arch and the other does not.

Church of Saint Urbain de Troyes (France)
The Saint Urban Church (Église Saint-Urbain) is a large medieval French church erected in the city of Troyes, now the capital of the department of Aube. It was a collegiate church, endowed in 1262 by Pope Urban IV, and it is a remarkable example of late Gothic architecture. Construction of the building probably began in 1263, where the main section of the church was not completed until the 16th century, and the tower was not completed until 1630. One of its highlights is the collegiate choir,

Case Studies
In this section, two case studies of real rampant arches were selected, representative cases of Gothic art in France (church of Saint Urbain de Troyes) and Spain (Cathedral of Palma de Mallorca), where one comes out as an optimal rampant arch and the other does not.

Church of Saint Urbain de Troyes (France)
The Saint Urban Church (Église Saint-Urbain) is a large medieval French church erected in the city of Troyes, now the capital of the department of Aube. It was a collegiate church, endowed in 1262 by Pope Urban IV, and it is a remarkable example of late Gothic architecture. Construction of the building probably began in 1263, where the main section of the church was not completed until the 16th century, and the tower was not completed until 1630. One of its highlights is the collegiate choir, long acclaimed as a masterpiece of French Gothic architecture, and demonstrates the advanced degree of sophistication of French architecture in the third quarter of the 13th century [25,26]. This church was the object of numerous architectural studies as an example of the French Gothic style [13]. Figure 11 shows the calculation of the optimum rampant arch calculated with the software overlapped over the original arch of the Church of Saint Urbain de Troyes. The starting (A) and ending (C) points are marked in the section of the rampant arch. Note that the actual arch is far from the optimal rampant arch calculated with the software. long acclaimed as a masterpiece of French Gothic architecture, and demonstrates the advanced degree of sophistication of French architecture in the third quarter of the 13th century [25,26]. This church was the object of numerous architectural studies as an example of the French Gothic style [13]. Figure 11 shows the calculation of the optimum rampant arch calculated with the software overlapped over the original arch of the Church of Saint Urbain de Troyes. The starting (A) and ending (C) points are marked in the section of the rampant arch. Note that the actual arch is far from the optimal rampant arch calculated with the software.

Cathedral of Palma de Mallorca (Spain)
The Cathedral-Basilica of Santa María de Palma de Mallorca, also known as the Cathedral of Mallorca, is one of the most significant monuments of Spanish Gothic architecture [27]. Its construction started around the year 1300 and was completed around the year 1600 [28]. Its vault reaches a height of 44 m, only surpassed by the Cathedral of Beauvais (48 m), the highest Gothic cathedral in the world, and slightly lower than the height of the Cathedral of Milan (45 m). Moreover, it surpasses the Cathedral of Cologne 43 m, and it is, therefore, considered as one of those with a nave of greater height among the cathedrals of European Gothic style [29]. In Figure 12, the optimal rampant arch was calculated on one of the arches of the façade of the cathedral of Palma de Mallorca. Here, you can see how the arch calculated with the software and the real arch match. Indeed, a recent study on the structure of the cathedral of Palma de Mallorca showed the horizontal displacements of

Cathedral of Palma de Mallorca (Spain)
The Cathedral-Basilica of Santa María de Palma de Mallorca, also known as the Cathedral of Mallorca, is one of the most significant monuments of Spanish Gothic architecture [27]. Its construction started around the year 1300 and was completed around the year 1600 [28]. Its vault reaches a height of 44 m, only surpassed by the Cathedral of Beauvais (48 m), the highest Gothic cathedral in the world, and slightly lower than the height of the Cathedral of Milan (45 m). Moreover, it surpasses the Cathedral of Cologne 43 m, and it is, therefore, considered as one of those with a nave of greater height among the cathedrals of European Gothic style [29]. In Figure 12, the optimal rampant arch was calculated on one of the arches of the façade of the cathedral of Palma de Mallorca. Here, you can see how the arch calculated with the software and the real arch match. Indeed, a recent study on the structure of the cathedral of Palma de Mallorca showed the horizontal displacements of the façade [27], where it was observed that the rampant arches do not have any displacement, as a result of its proper construction and design.

Discussion
In Gothic constructions, the flying buttresses of the first constructions were generally circular, where the shape of the line of thrust did not match, normally, with the geometric forms of traditional construction formed by circumferential arches [4]. In addition, when the line of thrust reaches or touches the edge of the arch, an articulation is formed that can cause the arch to collapse [21]. Enough arch thickness will easily accommodate an infinite number of thrust lines. By progressively reducing the thickness of the arch, the moment will come when there will be only one line of thrusts and the thickness of the arch cannot be reduced without it exiting the line of the arch. Note that load-bearing structures in Gothic cathedrals account for 85% to 90% of the building material [30]. Therefore, the design of the rampant arches of two arches tried lightening the structure while maintaining or improving the thrust resistance of the flying buttresses.
In general, the only action to be considered in constructions made with ashlars, such as Gothic cathedrals, is the position of the line of thrusts by its own weight. Scientific calculation, therefore, justifies the use of geometric or graphical patterns. Therefore, the ancient builders understood the essence of building with ashlars: the proper placement of weights, the balance of thrusts, and counterbalances. This knowledge of the decisive importance of geometry is perhaps the secret of

Discussion
In Gothic constructions, the flying buttresses of the first constructions were generally circular, where the shape of the line of thrust did not match, normally, with the geometric forms of traditional construction formed by circumferential arches [4]. In addition, when the line of thrust reaches or touches the edge of the arch, an articulation is formed that can cause the arch to collapse [21]. Enough arch thickness will easily accommodate an infinite number of thrust lines. By progressively reducing the thickness of the arch, the moment will come when there will be only one line of thrusts and the thickness of the arch cannot be reduced without it exiting the line of the arch. Note that load-bearing structures in Gothic cathedrals account for 85% to 90% of the building material [30]. Therefore, the design of the rampant arches of two arches tried lightening the structure while maintaining or improving the thrust resistance of the flying buttresses.
In general, the only action to be considered in constructions made with ashlars, such as Gothic cathedrals, is the position of the line of thrusts by its own weight. Scientific calculation, therefore, justifies the use of geometric or graphical patterns. Therefore, the ancient builders understood the essence of building with ashlars: the proper placement of weights, the balance of thrusts, and counterbalances. This knowledge of the decisive importance of geometry is perhaps the secret of Gothic constructions. In this research, it was shown how the rampant arches of cathedrals like the Palma de Mallorca are optimum from the geometric point of view.
This work may have limitations from a practical point of view. Firstly, if it is analyzed numerically, the precision of the calculation of centers and radii will depend on the precision of the coordinates of the starting and finishing points of the arc. Secondly, from the point of view of analyzing existing constructions, historical plans were analyzed to scale, which are not always available, and can sometimes have distortions or errors [31][32][33].
In order to analyze real existing cases, a centimetric precision survey would be needed. Although, currently, with the technology of unmanned aerial vehicles, it could be solved in a relatively economic way by realizing a photogrammetric survey [34]. In the literature, several examples can be found [35,36].
On the other hand, if the rampant arches to be analyzed are close to the ground, such as those commented on for staircases or inside buildings, other techniques can be used, such as close-range photogrammetry [37][38][39] or terrestrial laser scanning [40].

Conclusions
In this work, the geometry of the rampant arch was studied from different approaches, the graphical point of view known in classical literature and the current mathematical point of view, with its subsequent programming. An optimal geometrical solution was defined from the constructive point of view and was calculated and programmed. The optimum rampant arch obtained is the one with the common tangent to the two arches parallel to the slope line. Additionally, knowing the radii of the two arcs, the software allows calculating the starting points of both arches on the pillars or walls. It was applied to several well-known and representative cases of Gothic art in France (church of Saint Urbain de Troyes) and Spain (Cathedral of Palma de Mallorca), establishing that the first was not an optimal design while the second was. The conception and study of certain architectural elements, such as the rampant arch, not only help identify and describe existing aspects of our traditional architecture, but can also serve as a starting point for the verification of existing structures, which, despite standing for many years, may require intervention. This research opens new perspectives for the geometric study of buttresses of cathedrals in general and of rampant arches in particular. It was possible to analyze the geometries used in the design of cathedrals, and specifically through the proposed case studies. It was verified how the constructors reached the optimum rampant arch from a structural point of view, defined as the one whose tangent between the two arches is parallel to the straight unevenness between the initial and final points of the rampant arch.