Description Usage See Also Examples
A method that computes the area of polygons of class gpc.poly.
1 |
polygonArea
,
polygonArea.polygon
1 2 3 | p <- newPolygon(c(0,1,2,1,2,0), c(0,0,1,2,3,3))
g <- poly2gpc(p)
print(polygonArea(g)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.