15 QVector3D A(b.x() - a.x(), 0, b.y() - a.y());
16 QVector3D B(c.x() - a.x(), 0, c.y() - a.y());
18 QVector3D AxB = QVector3D::crossProduct(A, B);
20 if (qAbs(AxB.y()) <= 0.01)
return 0;
21 if (AxB.y() > 0)
return 2;
int orientation(QPointF a, QPointF b, QPointF c)
Definition: geometry.h:13