Clockwise Direction

There is no such thing for curves in general.
Clockwise or counterclockwise needs a closed curve and a reference direction or plane
You will find in Rhinocommon some tools
https://developer.rhino3d.com/api/rhinocommon/rhino.geometry.curve/closedcurveorientation

Sasquatch plugin has a tool for that.