Too long ago I did the calcs for this, I seem to recall that logarithms came into it. I am aware that tarmac laying machines on new roads (and presumably thus track laying machines on rail) now incorporate this in their telemetry settings.
If you think how you steer a car round a bend, you don't approach steering straight, then suddenly snap the steering wheel to the required circumference, then snap it back straight; you progressively increase then decrease the turn radius, effectively making your own transition curve. If the bend has been laid out by the engineer to suit this, that's what one is trying to do. Small scale drawings normally do not do this, but larger ones can usefully do so.
What has not been mentioned above in a 2-dimension discussion is superelevation (or cant; call it what you want) as well, which is an associated calculation. Even on a flat road your car will achieve this itself, automatically to a limited extent, by the forces acting on the suspension on different sides.
I believe one of the first applications of proper mathematically-calculated transitions on the railway was on the LNER in the 1930s, when the Silver Jubilee high speed service was introduced. This initially had some notable and reported shocks entering and leaving curves, whereupon Gresley and the civils worked together to understand what needed to be done, and there were various minor track realignments. I think Gresley spoke about this in an Institution paper somewhere, bringing Sir Isaac Newton's laws of dynamics into it, so maybe that's something to follow up.