Mast Design relates to Column Theory a very complicated understanding of moments of inertia, forces on the spar, area of sails and configuration, material of the mast, and distance of the chain plates. Other factors are configuration of the rig either no backstay, runners, swept back spreaders or in-line.
The use of the yacht one design bay racer or offshore cruiser.
In the old days of IOR racing and before Carbon Fibre Masts I worked for Zapspar Yacht Masts at Brookvale as a mast designer the masts churned out were in their day very good we developed an excellent way of tapering the rigs and also did cruising masts and development of Formula 40 rotating Cat rig.