Reply To: Point inside a polygon using Polygon Operations Macro

Home Forums Problems and solutions in GDL GDL add-ons Point inside a polygon using Polygon Operations Macro Reply To: Point inside a polygon using Polygon Operations Macro

#2593
Péter Baksa
Keymaster

Hi SimPey,

The macro you are calling returns “On edge” status for points that lie on the line of the edge, even if they are outside the start-end segment. You could check in your code if that is the case.
The official library doesn’t use this macro with the OPERATION_POINT_INSIDE_POLYGON parameter.

Péter Baksa
Library Platform, Software Engineer
GRAPHISOFT SE