Would you please explain to me a way that I can divide a polygon by means of a special line "represents the zero axis" into two regions so that I can determine each region individually.
The question of
: How to check if a line segment intersects with a polygon?
is a nice example, however, I couldn't find a correct way to separate both upper and lower sub-polygons individually, and hence I can find the Area
for each of them.
The data input are same for the mentioned question:
list = {{4.4, 14}, {6.7, 15.25}, {6.9, 12.8}, {9.5, 14.9}, {13.2,
11.9}, {10.3, 12.3}, {6.8, 9.5}, {13.3, 7.7}, {0.6, 1.1}, {1.3,
2.4}, {2.45, 4.7}};
Graphics[{Red, Line[{{0, 10}, {20, 0}}], Black, Polygon[list]}]
HalfPlane
andRegionIntersection
(potentially followed by another discretization step)? $\endgroup$