Align the longest axis of a shape along the x-axis.
Usage
coo_alignxax(coo)
Arguments
coo
a matrix of (x; y) coordinates or a list, or any Coo object.
Value
a matrix of (x; y) coordinates, or any Coo object.
Details
If some shapes are upside-down
(or mirror of each others), try redefining a new starting point (eg with coo_slidedirection) before
the alignment step. This may solve your problem because coo_calliper orders the $arr.ind used by
coo_aligncalliper.