Inspect winding direction of polygon(s).
Based on Clipper library (polyclipping.sf.net / 3rd Party / Matlab)
inpol = Nx2 matrix of (X, Y) coordinates constituting the polygons(s) whose winding direction should be assessed. Subpolygons are separated by [NaN NaN] rows.
Output argument orientation contains the winding direction(s) of each subpolygon: 0 for clockwise, 1 for counterclockwise.
Package: geometry