No, there's no API function for that. You'd need to implement that yourself. That can get tricky because there's different types of polygons, and not all area methods work with all of them. I think the method I use in some other programs is to tessellate the polygon into triangles and then sum the area of those up. That will work for everything I believe.
Comments
No, there's no API function for that. You'd need to implement that yourself. That can get tricky because there's different types of polygons, and not all area methods work with all of them. I think the method I use in some other programs is to tessellate the polygon into triangles and then sum the area of those up. That will work for everything I believe.