Everything SLW210 has researched is very interesting.
I had no idea this had been such a thoroughly discussed topic — and with such limited success.
I guess that makes it even more interesting.
In my opinion, it is possible to obtain a center polyline that is equidistant from both edges.
But two conditions must be met:
1. The user must ensure that the geometry of both edges is correct: they must be 2D polylines with no repeated points and no geometric inconsistencies of any kind. And, in principle, to avoid extending the search for a solution, these polylines should not contain arcs.
2. One must accept that any edge containing “recesses” (“recodos”) must be handled using auxiliary axes.
What is a recess? It is a geometric setback, in any direction, along one of the edges.
For example: if you advance segment by segment along an edge (in either direction), the start of a recess would be defined as any vertex from which the shortest distance to the opposite edge forces the projection to intersect its own edge.
My conclusion: for edges without recesses, I believe it is possible to find an equidistant centerline or axis.
And for edges with recesses, although considerably more code will be needed, they should be solvable using auxiliary axes.
I hope to have code soon that supports all of this.