BUG:11948 make ClosestPointRegion mode useful.

Thanks Xabi Riobe for the patch.

Change-Id: I7190dc401aa1f59883aa329eee9aaacf21643aa9
Merge topic '0011948-accessors-for-selection-mode' into master

016a2a08 BUG:11948 make ClosestPointRegion mode useful.