I have a closed polygon, and I would like to place a locator into it, so it remains constrained to the interior of the polygon, i.e. it never leaves the polygon when I drag it. How could I do it? My polygon is attached.
Dear Gianluca thank you so much, works indeed, yet I get a continuous flow of warnings upon moving the locator to the boundary:
LinearSolve::luc: Result for LinearSolve of badly conditioned matrix {{3.71649*10^13,3.71649*10^13},
{3.71649*10^13,3.71649*10^13}} may contain significant numerical errors. etc.