WebPlanner Programmer's Guide

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 (
    PointF p0,
    PointF p1,
    PointF p2
)

Visual Basic  Copy Code

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

 Parameters

p0
p1
p2

 Return Value

 Remarks

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

 See Also