How to map, where to base a slanted retaining wall line?

As with embankment, I would take the top edge for the line. What is missing is a definition of the base point.

The problem is basically the same as with embankments: