Skip to contents

Calculates cross product of AP and AP to check if P is left or right of AB

Usage

LeftRight(Px, Py, Ax, Ay, Bx, By)

Arguments

Px

X component of point P

Py

Y component of point P

Ax

X component of point A

Ay

Y component of point A

Bx

X component of point B

By

Y component of point B