Returns true if a->b->c is a counterclockwise turn.
Namespace: Algs4NetAssembly: Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic static int Ccw(
Point2D a,
Point2D b,
Point2D c
)
Parameters
- a
- Type: Algs4NetPoint2D
first point - b
- Type: Algs4NetPoint2D
second point - c
- Type: Algs4NetPoint2D
third point
Return Value
Type:
Int32{ -1, 0, +1 } if a->b->c is a { clockwise, collinear; counterclocwise } turn.
See Also