Installation
Toolbox gallery:
Grid manipulation
Tracking
Code
is_left()
Test if point is left of an infinit line.
http://geomalgorithms.com/a03-_inclusion.html See: Algorithm 1 “Area of Triangles and Polygons”
x_line_0 (float) –
y_line_0 (float) –
x_line_1 (float) –
y_line_1 (float) –
x_test (float) –
y_test (float) –
> 0 for P2 left of the line through P0 and P1 = 0 for P2 on the line < 0 for P2 right of the line
bool