how to find the direction of a sketch segment (clockwise or counter- clockwise).

Is there is any option in SolidWorks API, to find sketchsegments direction,(clockwise or counter- clockwise)

My issue is,
There is several sketch segments (linear sketch lines only) in a drawing sheet, the sketchsegments are drawn by user (unknown)
If I select a sketch segment, I want to know the direction of eachsegment,
Is there is any option like -1 or 1 to know the direction, or howto find the direction ((clockwise or counter- clockwise).
SolidworksApi macros