CODGlobal::CCW

int CODGlobal::CCW(POINT pt0, POINT pt1, POINT pt2)

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

Defined in: OdGlobal.cpp

Return Value

1 if moving in a counterclockwise direction, -1 if not.

Parameters

pt0

The first point.

pt1

The second point.

pt2

The thrid point.