crossProductZ static method
Returns the z component of the cross product between vectors BC and BA.
Implementation
static double crossProductZ(
ResultPoint pointA,
ResultPoint pointB,
ResultPoint pointC,
) {
final bX = pointB.x;
final bY = pointB.y;
return ((pointC.x - bX) * (pointA.y - bY)) -
((pointC.y - bY) * (pointA.x - bX));
}