I have a list of points (int x, int y). together they form areas, I check if this area is closed, and then I need to get the inner area formed by all the positions inside this area.
example area:

The only idea was to convert this area into a vector and check each point if it is inside the polygon or not, considering the intersection of the polygon as the axis of the point.
But I do not think that this would be the most effective way to do this.
, , , ( , 100% ), , .
, , .
, - ...