polygonArea.gpc.poly: Calculates the area of a polygon.

Description Usage See Also Examples

View source: R/polygon.R

Description

A method that computes the area of polygons of class gpc.poly.

Usage

1

See Also

polygonArea, polygonArea.polygon

Examples

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)

tunelipt/model3d documentation built on Nov. 5, 2019, 10:59 a.m.