已知n个顶点坐标,求解该多边形的面积
Reference:http://www.mathopenref.com/coordpolygonarea.html
remark:逆时针求出的有向面积为正,顺时针为负。
First, number the vertices in order, going either clockwise or counter-clockwise, starting at any vertex.


已知n个顶点坐标,求解该多边形的面积
Reference:http://www.mathopenref.com/coordpolygonarea.html
remark:逆时针求出的有向面积为正,顺时针为负。
First, number the vertices in order, going either clockwise or counter-clockwise, starting at any vertex.