The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information.... |
Home ![]() ![]() ![]() ![]() |
|||||||
CcwTriangle |
|||||||
The function CcwTriangle tests whether the triangle corners p1, p2 and p3 are in clockwise order. The function returns -1 if the points are in counterclockwise order, +1 if they are clockwise, or 0 if the three points are collinear.
|