The function offers two possiblities:

The direction of the mapping can be reversed.

Usage:

Result: Script process and parameter: map_pts

{Rebuild 17.2.98 by megacads}