Simualted annealing of path normal length to get 4 pts on closed path?
Working water bike(pump a bike) as a working mechanical example of simulated annealing to find nornal to path length containing 4 square corner points that lie along the close path plane.
Do you have a graphics of what you want?