CODGlobal::CCW

intCODGlobal::CCW(POINTpt0, POINTpt1, POINTpt2)

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.