MCPcopy Create free account
hub / github.com/bighuang624/Algorithms-notes / ccw

Method ccw

code/algs4/Point2D.java:120–125  ·  view source on GitHub ↗

Returns true if a→b→c is a counterclockwise turn. @param a first point @param b second point @param c third point @return { -1, 0, +1 } if a→b→c is a { clockwise, collinear; counterclocwise } turn.

(Point2D a, Point2D b, Point2D c)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

compareMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected