Search
Utilities.Ccw Method
See Also
 






Determines, given three points, if when travelling from the first to the second to the third, we travel in a counterclockwise direction.

Namespace: MindFusion
Assembly: MindFusion.Common

 Syntax

C#  Copy Code

public static int Ccw (
    Point p0,
    Point p1,
    Point p2
)

Visual Basic  Copy Code

Public Shared Function Ccw( _
    p0 As Point, _
    p1 As Point, _
    p2 As Point _
) As Integer

 Parameters

p0

p1

p2

 Return Value

 Remarks

1 if the movement is in a counterclockwise direction, -1 if not.

 See Also