Improve the global orientation check

using the local method proposed by Sjors Donkers
1 find the extreme point
2 crop the point locally and test the 2d polygon
3 if a convex edge is detected, its two incident facets are used to find
the orientation