Here is a blast from the past.
Waaay back when I was a field engineer, we had an algorithim that would allow us to compute the cross-section area for cut or fill sections, based on x,y coordinate pairs. As I recall, we took the last two coordinate pairs and added them to the end of a string of...