The sign records the order of the two shifted points:
positive if turns anticlockwise to ,
negative if turns clockwise to ,
zero if the parallelogram collapses to a line.
Substituting
gives
Coordinate Convention
The left/right interpretation assumes the usual Cartesian plane, where the -axis points upward. In screen coordinates, where the -axis often points downward, the sign interpretation is reversed.