The algorithm relied on the assumption that the points were ordered anti-clockwise. When ordered in a clockwise fashion, the result was correct but negative. Refer to https://www.mathopenref.com/coordpolygonarea2.html for more information. |
||
---|---|---|
.. | ||
include | ||
src | ||
CMakeLists.txt | ||
determine_if_point_inside_polygon.odt |