Clockwise checks orientation from this respecting to direction. Revises the orientation of the points A, B, C clockwise, relativly to their direction. If we head from A to B and then to C, we can apply the method of the screwdriver. If this direction points at the same side as the param direction, we obtain true as a result.
Returns true, if the three points are clockwise oriented
Unfortunately we obtain the normal clockwise in 2D, if we take Direction=( 0 , 0, -1) as reference
Triangle t = new Triangle(new xyz(2,0,0), new xyz(0,2,0), new xyz(-2,0,0)); if (t.ClockWise(new xyz(0,0,1))) MessageBox.Show("ClockWise");